public class ISOMLayout<V,E> extends AbstractLayout<V,E> implements IterativeContext
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ISOMLayout.ISOMVertexData |
| Modifier and Type | Field and Description |
|---|---|
protected GraphElementAccessor<V,E> |
elementAccessor |
protected com.google.common.cache.LoadingCache<V,ISOMLayout.ISOMVertexData> |
isomVertexData |
graph, initialized, locations, size| Constructor and Description |
|---|
ISOMLayout(Graph<V,E> g) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
done()
Returns
true if the vertex positions are no longer being
updated. |
protected ISOMLayout.ISOMVertexData |
getISOMVertexData(V v) |
String |
getStatus() |
void |
initialize()
Initializes fields in the node that may not have
been set during the constructor.
|
boolean |
isIncremental()
This one is an incremental visualization.
|
void |
reset()
Resets the layout iteration count to 0, which allows the layout algorithm to
continue updating vertex positions.
|
void |
step()
Advances the current positions of the graph elements.
|
apply, getGraph, getSize, getX, getY, isLocked, lock, lock, offsetVertex, setGraph, setInitializer, setLocation, setLocation, setSizeprotected com.google.common.cache.LoadingCache<V,ISOMLayout.ISOMVertexData> isomVertexData
protected GraphElementAccessor<V,E> elementAccessor
public String getStatus()
public void initialize()
Layoutinitialize in interface Layout<V,E>public void step()
step in interface IterativeContextprotected ISOMLayout.ISOMVertexData getISOMVertexData(V v)
public boolean isIncremental()
true is the layout algorithm is incremental, false otherwisepublic boolean done()
true if the vertex positions are no longer being
updated. Currently ISOMLayout stops updating vertex
positions after a certain number of iterations have taken place.done in interface IterativeContexttrue if the vertex position updates have stopped,
false otherwiseCopyright © 2016. All rights reserved.