T
- public static class Force.Link<T>
extends com.google.gwt.core.client.JavaScriptObject
Force.start()
.
Link objects may have additional fields that you specify; this data can be used to compute link strength and distance on a per-link basis using an accessor function.
Modifier | Constructor and Description |
---|---|
protected |
Link() |
Modifier and Type | Method and Description |
---|---|
static <T> Force.Link<T> |
create(T source,
T target)
Create a basic link object starting at one coordinate and ending at
another
|
Force.Node<T> |
source() |
Force.Node<T> |
target() |
public static final <T> Force.Link<T> create(T source, T target)
the
- starting coordinatesthe
- ending coordinatespublic final Force.Node<T> target()
public final Force.Node<T> source()
Copyright © 2017 gwt-d3. All rights reserved.