tree.nodeSize()

tree.nodeSize([size])

If size is specified, sets this tree layout’s node size to the specified two-element array of numbers [width, height] and returns this tree layout. If size is not specified, returns the current node size, which defaults to null. A node size of null indicates that a layout size will be used instead. When a node size is specified, the root node is always positioned at ⟨0, 0⟩.

doc_D3_Js
2016-11-24 10:29:27
Comments
Leave a Comment

Please login to continue.