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.
i
Can be modified with Hierarchy#childrenData.
get children data from a node
the datum to get children of
the index with which the data was encountered
childrenData - all the children data of this node, or undefined if there are no children
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.