Otherwise, the accessor should return an array of data elements representing the child nodes. If the accessor returns null, then the node is assumed to be a leaf node at the layout traversal terminates. The children accessor is first invoked for root node in the hierarchy. If children is not specified, returns the current children accessor function, which by default assumes that the input data is an object with a children array: function children(d) , If children is specified, sets the specified children accessor function. This method is useful for retrieving a set of link descriptions suitable for display, often in conjunction with the diagonal shape generator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |