Link<T>.horizontal constructor
Link<T>.horizontal ()
Shorthand for Link.new with curveBumpX; suitable for visualizing links in a tree diagram rooted on the top edge of the display.
Equivalent to:
final link = Link(curveBumpX, …);
Implementation
Link.horizontal(
T Function(Link<T>, [List<Object?>?]) source,
T Function(Link<T>, [List<Object?>?]) target,
num Function(T, [List<Object?>?]) x,
num Function(T, [List<Object?>?]) y)
: super(curveBumpX, source, target, x, y);