d3-dag
    Preparing search index...

    Type Alias IdNodeDatum<D>

    IdNodeDatum: (id: string, index: number) => 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

    Type Declaration

      • (id: string, index: number): D
      • Parameters

        • id: string
        • index: number

        Returns D