public class LayerContainer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LAYER_VALUE_HOLDER_KEY |
Constructor and Description |
---|
LayerContainer() |
LayerContainer(LayerContainer layerContainer) |
Modifier and Type | Method and Description |
---|---|
void |
addNode(prefuse.data.Node n,
int layer) |
int |
getDistance(prefuse.data.Edge e) |
int |
getHighestLayer() |
int |
getIndex(prefuse.data.Node node) |
int |
getLayer(prefuse.data.Node n) |
java.util.List<Layer> |
getLayers() |
int |
getMaximumLayer(prefuse.data.Edge e) |
int |
getMinimumLayer(prefuse.data.Edge e) |
java.util.List<prefuse.data.Node> |
getNeighbors(prefuse.data.Node node,
int nextLayer) |
java.util.List<prefuse.data.Node> |
getNodes(int layer) |
int |
getSize() |
int |
getSize(int layer) |
void |
moveNode(prefuse.data.Node n,
int newLayer) |
void |
print() |
void |
removeNode(prefuse.data.Node n) |
void |
reset() |
void |
reset(LayerContainer other) |
void |
swap(int layer,
int u,
int v) |
java.lang.String |
toString() |
public static final java.lang.String LAYER_VALUE_HOLDER_KEY
public LayerContainer()
public LayerContainer(LayerContainer layerContainer)
public java.util.List<prefuse.data.Node> getNodes(int layer)
public int getSize(int layer)
public void addNode(prefuse.data.Node n, int layer)
public void moveNode(prefuse.data.Node n, int newLayer)
public void removeNode(prefuse.data.Node n)
public int getLayer(prefuse.data.Node n)
public void reset()
public int getSize()
public java.util.List<Layer> getLayers()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<prefuse.data.Node> getNeighbors(prefuse.data.Node node, int nextLayer)
public int getDistance(prefuse.data.Edge e)
public int getMinimumLayer(prefuse.data.Edge e)
public int getMaximumLayer(prefuse.data.Edge e)
public int getIndex(prefuse.data.Node node)
public int getHighestLayer()
public void print()
public void swap(int layer, int u, int v)
public void reset(LayerContainer other)