GoJS API
/ to search
    Preparing search index...

    Class LayeredDigraphEdgeUnindexed

    This holds LayeredDigraphLayout-specific information about Links.

    This class inherits from LayoutEdge.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get data(): ObjectData | null

      For virtualized layouts working on model data instead of a Link.

      Returns ObjectData | null

    • get forest(): boolean

      True if the link is part of the depth first forest. The default value is false.

      Returns boolean

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

      Returns Link | null

    • get portFromColOffset(): number

      Approximate column offset of the from port of the link from the from node column used in straightening. The default value is 0.

      Returns number

    • get portFromPos(): number

      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.

      This property is also used to align link ports when using LayeredDigraphLayout.alignOption.

      Returns number

    • get portToColOffset(): number

      Approximate column offset of the to port of the link from the to node column used in straightening. The default value is 0.

      Returns number

    • get portToPos(): number

      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.

      This property is also used to align link ports when using LayeredDigraphLayout.alignOption.

      Returns number

    • get rev(): boolean

      True if the link was reversed during cycle removal. The default value is false.

      Returns boolean

    • get valid(): boolean

      True if the link is part of the proper digraph. The default value is false.

      Returns boolean

    Methods

    • Commits the route of this edge to the corresponding Link, if any. By default this does nothing. Please read the Learn page on Extensions for how to override methods and how to call this base method.

      Returns void