Interface SugiNodeDatum<NodeDatum, LinkDatum>

data for a sugi node that maps to a real node

interface SugiNodeDatum<out NodeDatum = unknown, out LinkDatum = unknown> {
    bottomLayer: number;
    node: GraphNode<NodeDatum, LinkDatum>;
    role: "node";
    topLayer: number;
}

Type Parameters

  • out NodeDatum = unknown
  • out LinkDatum = unknown

Properties

bottomLayer: number

bottom layer of the sugi node

original node this sugi node wraps

role: "node"

tag indicating that this sugi node is backed by a graph node

topLayer: number

top layer of the sugi node