garrows: Draw a directed arc in a DAG.

View source: R/garrows.R

garrowsR Documentation

Draw a directed arc in a DAG.

Description

Internally called by dag.draw for drawing directed arcs.

Usage

garrows(x0, y0, x1, y1, xgap, ygap, len = 0.1)

Arguments

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).

Author(s)

Lutz P Breitling <l.breitling@posteo.de>

See Also

dag.draw, smoothArc


dagR documentation built on Oct. 9, 2022, 5:06 p.m.