Interface GraphLink<NodeDatum, LinkDatum>

a link between nodes, with attached information

The immutable version of MutGraphLink.

Type Parameters

  • out NodeDatum = unknown

  • out LinkDatum = unknown

Hierarchy

Properties

Properties

data: LinkDatum

user data attached to this link

points: [number, number][]

layout control points assigned to the link

source: GraphNode<NodeDatum, LinkDatum>

The dag node this link comes from

target: GraphNode<NodeDatum, LinkDatum>

The dag node this link goes to

Generated using TypeDoc