Customized xlabel placement

Added explicit xlp values (xlp | Graphviz)
I guessed at the correct values, but they could be calculated, based on the node pos, height, and width.

digraph D {
scale = 1.000000;
A[pos="250.00,60.00!"]
B[pos="0.00,0.00!" xlabel="4"  xlp="25,16"]
C[pos="500.00,0.00!" xlabel="4" xlp="530,12"]
B -> A
A -> C
}

Giving:

1 Like