Layout engine is neato. I would like to have some more space between the arrow from a to c and the node b. margin
and pad
don't help with neato. This is my graph:
digraph G {
splines=true
a [pos="0.0,0.0!"];
b [pos="0.0,1.0!"];
c [pos="0.0,2.0!"];
a -> b;
a -> c;
b -> c;
}
Is that possible?
Taking your original graph definition, adding a esep=1
attribute to obtain the following:
digraph G {
splines=true; esep=1;
a [pos="0.0,0.0!"];
b [pos="0.0,1.0!"];
c [pos="0.0,2.0!"];
a -> b;
a -> c;
b -> c;
}
will output the following with neato:
As per the documentation for that attribute:
Margin used around polygons for purposes of spline edge routing. The interpretation is the same as given for sep. This should normally be strictly less than sep.
Assuming this was solved (or irrelevant now!) given how old it is but you can attach a minus to esep (i.e. esep = -0.4
) and that brings the nodes closer together.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With