Interface MutGraphLink<NodeDatum, LinkDatum>

a mutable link between nodes

The mutable version of GraphLink.

Type Parameters

  • in out NodeDatum

  • in out LinkDatum

Hierarchy

  • GraphLink<NodeDatum, LinkDatum>
    • MutGraphLink

Properties

Methods

Properties

data: LinkDatum

user data attached to this link

points: [number, number][]

layout control points assigned to the link

source: MutGraphNode<NodeDatum, LinkDatum>

The dag node this link comes from

target: MutGraphNode<NodeDatum, LinkDatum>

The dag node this link goes to

Methods

  • remove this link from the graph

    Returns void

Generated using TypeDoc