LayeredDigraphEdge class

This holds LayeredDigraphLayout-specific information about Links.

This class inherits from LayoutEdge.

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

LayeredDigraphEdge(LayeredDigraphNetwork network)
factory

Properties

data Object?

Available on LayoutEdge, provided by the LayoutEdge$Typings extension

For virtualized layouts working on model data instead of a Link.
getter/setter pair
forest bool

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

True if the link is part of the depth first forest. The default value is false.
getter/setter pair
fromVertex LayeredDigraphVertex?

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

Gets or sets the LayoutVertex that this edge comes from. Setting this property does not change any LayoutVertex#destinationEdges collection.
getter/setter pair
fromVertex LayoutVertex?

Available on LayoutEdge, provided by the LayoutEdge$Typings extension

Gets or sets the LayoutVertex that this edge comes from. Setting this property does not change any LayoutVertex#destinationEdges collection.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited

Available on LayoutEdge, provided by the LayoutEdge$Typings extension

Gets or sets the Link associated with this edge, if any. The value may be null if this edge is a "dummy" edge, not represented by a real Link in the Diagram.
getter/setter pair
network LayoutNetwork

Available on LayoutEdge, provided by the LayoutEdge$Typings extension

Gets the LayoutNetwork that owns this edge. The default value is null. It is set automatically for you in LayoutNetwork#createEdge.
getter/setter pair
portFromColOffset num

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

Approximate column offset of the from port of the link from the from node column used in straightening. The default value is 0.
getter/setter pair
portFromPos num

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

Location of the port at the from node of the link. Allows the crossing matrix to correctly calculate the crossings for nodes with multiple ports. The default value is NaN.
getter/setter pair
portToColOffset num

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

Approximate column offset of the to port of the link from the to node column used in straightening. The default value is 0.
getter/setter pair
portToPos num

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

Location of the port at the to node of the link. Allows the crossing matrix to correctly calculate the crossings for nodes with multiple ports. The default value is NaN.
getter/setter pair
rev bool

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

True if the link was reversed during cycle removal. The default value is false.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toVertex LayeredDigraphVertex?

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

Gets or sets the LayoutVertex that this edge goes to. Setting this property does not change any LayoutVertex#sourceEdges collection.
getter/setter pair
toVertex LayoutVertex?

Available on LayoutEdge, provided by the LayoutEdge$Typings extension

Gets or sets the LayoutVertex that this edge goes to. Setting this property does not change any LayoutVertex#sourceEdges collection.
getter/setter pair
valid bool

Available on LayeredDigraphEdge, provided by the LayeredDigraphEdge$Typings extension

True if the link is part of the proper digraph. The default value is false.
getter/setter pair

Methods

commit() → void

Available on LayoutEdge, provided by the LayoutEdge$Typings extension

Commits the route of this edge to the corresponding Link, if any. By default this does nothing. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose
getOtherVertex(LayoutVertex v) LayoutVertex?

Available on LayoutEdge, provided by the LayoutEdge$Typings extension

Returns the edge's vertex at the other of this edge from the given vertex. @param {LayoutVertex} v
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited