Interface Group<NodeDatum, LinkDatum>

a group assignment accessor

A group accessor assigns specific nodes a group string. Layering operators that take a group accessor should respect the convention that nodes with the same group should have the same layer.

Type Parameters

  • in NodeDatum = never

  • in LinkDatum = never

Hierarchy

  • Group
  • assign a group to a node

    Parameters

    • node: GraphNode<NodeDatum, LinkDatum>

      the node to assign a group to

    Returns undefined | string

    group - the node's group, undefined if the node doesn't have a group

Generated using TypeDoc