giny.util
Class ISOMLayout

java.lang.Object
  extended byginy.util.AbstractLayout
      extended byginy.util.ISOMLayout

public class ISOMLayout
extends AbstractLayout


Nested Class Summary
static class ISOMLayout.ISOMVertexData
           
 
Field Summary
 
Fields inherited from class giny.util.AbstractLayout
currentSize, graphView, staticNodes
 
Constructor Summary
ISOMLayout(GraphView view)
           
 
Method Summary
 void advancePositions()
          Advances the current positions of the graph elements.
 void doLayout()
           
 ISOMLayout.ISOMVertexData getISOMVertexData(int v)
           
 ISOMLayout.ISOMVertexData getISOMVertexData(NodeView v)
           
 java.lang.String getStatus()
          Returns the current number of epochs and execution status, as a string.
 boolean incrementsAreDone()
          For now, we pretend it never finishes.
protected  void initialize_local_node_view(NodeView v)
          Initializes the local information on a single vertex.
protected  void initialize_local()
          Initializes all local information, and is called immediately within the initialize() process.
 boolean isIncremental()
          This one is an incremental visualization.
 
Methods inherited from class giny.util.AbstractLayout
dontMove, forceMove, getCurrentSize, getNodeView, initialize, initializeLocation, initializeLocations, lockNodes, lockVertex, resize, restart, unlockVertex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISOMLayout

public ISOMLayout(GraphView view)
Method Detail

doLayout

public void doLayout()
Specified by:
doLayout in class AbstractLayout

getStatus

public java.lang.String getStatus()
Returns the current number of epochs and execution status, as a string.

Overrides:
getStatus in class AbstractLayout

initialize_local

protected void initialize_local()
Description copied from class: AbstractLayout
Initializes all local information, and is called immediately within the initialize() process. The user is responsible for overriding this method to do any construction that may be necessary: for example, to initialize local per-edge or graph-wide data.

Specified by:
initialize_local in class AbstractLayout

initialize_local_node_view

protected void initialize_local_node_view(NodeView v)
Description copied from class: AbstractLayout
Initializes the local information on a single vertex. The user is responsible for overriding this method to do any vertex-level construction that may be necessary: for example, to attach vertex-level information to each vertex.

Specified by:
initialize_local_node_view in class AbstractLayout

advancePositions

public void advancePositions()
Advances the current positions of the graph elements.

Specified by:
advancePositions in class AbstractLayout
See Also:
Layout#advancePositions()

getISOMVertexData

public ISOMLayout.ISOMVertexData getISOMVertexData(NodeView v)

getISOMVertexData

public ISOMLayout.ISOMVertexData getISOMVertexData(int v)

isIncremental

public boolean isIncremental()
This one is an incremental visualization.

Returns:
true is the layout algorithm is incremental, false otherwise

incrementsAreDone

public boolean incrementsAreDone()
For now, we pretend it never finishes.

Returns:
true is the increments are done, false otherwise