Interface MutGraphLink<NodeDatum, LinkDatum>

a mutable link between nodes

The mutable version of GraphLink.

interface MutGraphLink<in out NodeDatum, in out LinkDatum> {
    data: LinkDatum;
    points: [number, number][];
    source: MutGraphNode<NodeDatum, LinkDatum>;
    target: MutGraphNode<NodeDatum, LinkDatum>;
    delete(): void;
}

Type Parameters

  • in out NodeDatum
  • in out LinkDatum

Hierarchy (View Summary)

Properties

Methods

Properties

data: LinkDatum

user data attached to this link

points: [number, number][]

layout control points assigned to the link

The dag node this link comes from

The dag node this link goes to

Methods

  • remove this link from the graph

    Returns void