2022-01-19

Increase curvature of connecting arcs

Consider:

digraph D {
    0[pos="0,0!"]
    1[pos="0,5!"]
    0 -> 1[label=0.25]
    1 -> 0[label=0.50]
}

Rendered under neato engine, this gives:

enter image description here

Is there a way to increase/control the curvature of the connecting arcs so that the rendering is something like the hand-drawn annotations below:

enter image description here


Edited to add: While I don't have to stick with neato, it is important in my application that the node pos coordinate values be upheld.



from Recent Questions - Stack Overflow https://ift.tt/3nEFLtn
https://ift.tt/3AjtZdf

No comments:

Post a Comment