d3-dag
    Preparing search index...

    Type Alias ChildrenData<NodeDatum, LinkDatum>

    ChildrenData: (
        datum: NodeDatum,
        index: number,
    ) => Iterable<readonly [NodeDatum, LinkDatum]> | undefined

    The interface for getting children data and associated link data from node data. This function must return data for every child of the given node, and data for link between the two. i will increment for each node processed.

    Can be modified with Hierarchy#childrenData.

    Type Parameters

    • in out NodeDatum
    • out LinkDatum = unknown

    Type Declaration