Hi, all.
The documentation of “splineType” as follows.
splineType
spline ( ';' spline )*
- where
spline
=(endp)? (startp)? point (triple)+
- and
triple
=point point point
- and
endp
="e,%f,%f"
- and
startp
="s,%f,%f"
If a spline has points p₁ p₂ p₃ … pₙ, (n = 1 (mod 3)), the points correspond to the control points of a cubic B-spline from p₁ to pₙ. If startp is given, it touches one node of the edge, and the arrowhead goes from p₁ to startp. If startp is not given, p₁ touches a node. Similarly for pₙ and endp.
But the following codes don’t work.
#python3.6
dot = Digraph()
dot.attr(rankdir=‘LR’)
dot.graph_attr[‘layout’] = ‘fdp’
dot.graph_attr[‘splines’] = ‘curved’
dot.node(‘A’, ‘A’, shape = ‘doublecircle’, pos=‘0,0!’)
dot.node(‘B’, ‘B’, shape = ‘doublecircle’, fontsize=‘8’, height=‘1’,pos=‘2,0!’)
dot.edge(‘A’,‘B’,‘C’,pos=“spline(”(e,2,1);(s,0,1);(1.1,1.1);(1.2,1.2);(1.3,1.3)")
And the result I want just like this.
Thanks a lot!