anytree icon indicating copy to clipboard operation
anytree copied to clipboard

Make lines stright, not curve.

Open victorterancas opened this issue 2 years ago • 1 comments

Is anyway to make the lines straight?

In Graphviz library is documented with the function splines=line or false. image

It is only valid on Graphs: image

I have only see this example, from the following page: n = graphviz.Digraph(name='splines', engine='neato', graph_attr={'splines': 'true'}, node_attr={'shape': 'point'})

But i cannot find the function "graph_attr" in DotExporter(). Therefore, i have to assume right now it is not possible?

Thank you 😄.

victorterancas avatar May 31 '22 20:05 victorterancas

I guess this question belongs rather to the graphviz page, doesn't it?

jkbgbr avatar Jun 28 '22 03:06 jkbgbr

The DotExporter just generates the output file and provides hook-ups to customize.

c0fec0de avatar Oct 11 '23 00:10 c0fec0de