Package | Description |
---|---|
com.github.gwtd3.api.layout |
Modifier and Type | Method and Description |
---|---|
TreeLayout |
TreeLayout.children(DatumFunction<Array<Node>> df)
Sets the specified children accessor function.
|
TreeLayout |
TreeLayout.nodeSize(double width,
double height)
Sets a fixed size for each node as a two-element array of numbers
representing x and y.
|
TreeLayout |
TreeLayout.separation(Sort sort)
Uses the specified function to compute separation between neighboring
nodes.
|
TreeLayout |
TreeLayout.size(double width,
double height)
Sets the available layout size to the specified two-element array of
numbers representing x and y.
|
TreeLayout |
TreeLayout.sort(Sort sort)
Sets the sort order of sibling nodes for the layout using the specified
comparator function.
|
TreeLayout |
Layout.tree()
Creates a new tree layout with the default settings: the default sort
order is null; the default children
accessor assumes each input data is an object with a children array; the
default separation function uses one
node width for siblings, and two node widths for non-siblings; the
default size is 1×1.
|
TreeLayout |
TreeLayout.value(DatumFunction<?> df)
Sets the value accessor to the specified function.
|
Copyright © 2013 gwt-d3. All Rights Reserved.