Interface IdNodeDatum<D>

An operator that creates node data from an id

The index passed in is the edge index where the id is first seen.

Type Parameters

  • out D = unknown
  • get node data from an id

    Parameters

    • id: string

      the id of the node

    • index: number

      the index of when the node is encountered

    Returns D

    datum - the datum associated with the id