Interface CallableNodeWeight<NodeDatum, LinkDatum>

a strictly callable NodeWeight

Type Parameters

  • NodeDatum = never

  • LinkDatum = never

Hierarchy

  • CallableNodeWeight
  • get the weight of a node

    Parameters

    • node: GraphNode<NodeDatum, LinkDatum>

      the node to get the weight of

    Returns number

    weight - the corresponding weight

Generated using TypeDoc