Interface WrappedChildren<NodeDatum, Child>

a wrapped children operator that functions as a children data operator

When creating a Hierarchy with a children operator, the corresponding Hierarchy#childrenData will be wrapped in this. This version returns undefined for all link data.

Type Parameters

  • NodeDatum

  • Child extends Children<NodeDatum>

Hierarchy

  • get children data from a node

    Parameters

    • datum: NodeDatum

      the datum to get children of

    • index: number

      the index with which the data was encountered

    Returns undefined | Iterable<readonly [NodeDatum, undefined]>

    childrenData - all the children data of this node, or undefined if there are no children

Properties

Properties

wrapped: Child

the wrapped children operator

Generated using TypeDoc