Draw a directed arc in a DAG.
Internally called by dag.draw
for drawing directed arcs.
garrows(x0, y0, x1, y1, xgap, ygap, len = 0.1)
x0 |
X coordinate of origin. |
y0 |
Y coordinate of origin. |
x1 |
X coordinate of target node. |
y1 |
Y coordinate of target node. |
xgap |
Space between node and arc ends on x axis. |
ygap |
Space between node and arc ends on y axis. |
len |
Length of arrow whiskers (default=0.1). |
Lutz P Breitling <l.breitling@posteo.de>
dag.draw(demo.dag1()); garrows(0,0, 0.5, 0.5, xgap=0.1, ygap=0.1, len=0.1); garrows(0,0, 0.5, 0.6, xgap=0.1, ygap=0.1, len=0.3); garrows(0,0, 0.5, 0.6, xgap=0.01, ygap=0.1, len=0.3);
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.