public class Layout
extends com.google.gwt.core.client.JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
Layout() |
Modifier and Type | Method and Description |
---|---|
Chord |
chord() |
Cluster |
cluster()
Creates a new cluster 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.
|
Force |
force()
Constructs a new force-directed layout with the default settings: size
1×1, link strength 1, friction 0.9, distance 20, charge strength -30,
gravity strength 0.1, and theta parameter 0.8.
|
Tree |
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.
|
public final Chord chord()
public final Tree tree()
public final Cluster cluster()
public final Force force()
Copyright © 2015 gwt-d3. All rights reserved.