public class Layout
extends com.google.gwt.core.client.JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
Layout() |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.resources.client.impl.ImageResourcePrototype.Bundle |
bundle()
Creates a new bundle layout with the default settings.
|
Chord |
chord() |
<T> Cluster<T> |
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.
|
<T> Tree<T> |
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 com.google.gwt.resources.client.impl.ImageResourcePrototype.Bundle bundle()
public final Chord chord()
public final <T> Tree<T> tree()
public final <T> Cluster<T> cluster()
public final Force force()
Copyright © 2017 gwt-d3. All rights reserved.