Package | Description |
---|---|
com.github.gwtd3.api.layout |
Modifier and Type | Method and Description |
---|---|
Tree |
Tree.children(DatumFunction<Array<HierarchicalLayout.Node>> df)
Sets the specified children accessor function.
|
Tree |
Tree.nodeSize(double width,
double height)
Sets a fixed size for each node as a two-element array of numbers
representing x and y.
|
Tree |
Tree.separation(Sort sort)
Uses the specified function to compute separation between neighboring
nodes.
|
Tree |
Tree.size(double width,
double height)
Sets the available layout size to the specified two-element array of
numbers representing x and y.
|
Tree |
Tree.sort(Sort sort)
Sets the sort order of sibling nodes for the layout using the specified
comparator function.
|
Tree |
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.
|
Tree |
Tree.value(DatumFunction<?> df)
Sets the value accessor to the specified function.
|
Copyright © 2015 gwt-d3. All rights reserved.