Interface WrappedChildrenData<NodeDatum, ChildData>

a wrapped children data operator that functions as a children operator

When creating a Hierarchy with a children data operator, the corresponding Hierarchy#children will be wrapped in this.

Type Parameters

Hierarchy

  • Children<NodeDatum>
    • WrappedChildrenData
  • get children 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<NodeDatum>

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

Properties

Properties

wrapped: ChildData

the wrapped children data operator

Generated using TypeDoc