Interface WrappedParentData<ParData>

What gets returned by Stratify#parentIds() when Stratify#parentData is set.

Type Parameters

Hierarchy

  • get parent ids from a node datum

    Parameters

    • datum: ParData extends ParentData<N, unknown>
          ? N
          : never

      the node data to get parent ids from

    • index: number

      the order that the datum was encountered in

    Returns undefined | Iterable<string>

    parentIds - the parent ids that correspond to the node datum, undefined is the same as empty

Properties

Properties

wrapped: ParData

the wrapped parent data operator

Generated using TypeDoc