Interface NodeLength<NodeDatum, LinkDatum>

An accessor for computing the length of a node

Type Parameters

  • in NodeDatum = never

  • in LinkDatum = never

Hierarchy

  • NodeLength
  • compute the length (width or height) of a graph node

    Parameters

    • node: GraphNode<NodeDatum, LinkDatum>

      the node to get the length of

    Returns number

    length - the width or height of node

Generated using TypeDoc