GraphLab Project

graphlab.plugins.visualization.circular
Class CircularDispatchVisualization

java.lang.Object
  extended by graphlab.plugins.visualization.circular.CircularDispatchVisualization
All Implemented Interfaces:
BasicExtension, Extension, VisualizationExtension, VisualizationInterface

public class CircularDispatchVisualization
extends java.lang.Object
implements VisualizationExtension

Author:
Rouzbeh Ebrahimi

Field Summary
 java.util.Vector<VertexModel> children
           
 java.util.HashMap<VertexModel,java.lang.Integer> vertexCycleLength
           
 java.util.HashMap<VertexModel,java.lang.Integer> vertexHeights
           
 java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexPlaces
           
 java.util.Vector<VertexModel> visitedVertices
           
 
Constructor Summary
CircularDispatchVisualization()
           
 
Method Summary
 java.util.Vector<VertexModel> findNextLevelChildren(java.util.Vector<VertexModel> currentLevelVertices)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.util.HashMap<EdgeModel,java.awt.geom.Point2D> getNewEdgeCurveControlPoints()
           
 java.util.HashMap<VertexModel,java.awt.geom.Point2D> getNewVertexPlaces()
           
 void locateAll(java.util.Vector<VertexModel> currentLevelVertices, int width, int radius)
           
 void setWorkingGraph(GraphModel g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

visitedVertices

public java.util.Vector<VertexModel> visitedVertices

vertexPlaces

public java.util.HashMap<VertexModel,java.awt.geom.Point2D> vertexPlaces

children

public java.util.Vector<VertexModel> children

vertexHeights

public java.util.HashMap<VertexModel,java.lang.Integer> vertexHeights

vertexCycleLength

public java.util.HashMap<VertexModel,java.lang.Integer> vertexCycleLength
Constructor Detail

CircularDispatchVisualization

public CircularDispatchVisualization()
Method Detail

findNextLevelChildren

public java.util.Vector<VertexModel> findNextLevelChildren(java.util.Vector<VertexModel> currentLevelVertices)

locateAll

public void locateAll(java.util.Vector<VertexModel> currentLevelVertices,
                      int width,
                      int radius)

getName

public java.lang.String getName()
Specified by:
getName in interface Extension

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Extension

setWorkingGraph

public void setWorkingGraph(GraphModel g)
Specified by:
setWorkingGraph in interface VisualizationInterface

getNewVertexPlaces

public java.util.HashMap<VertexModel,java.awt.geom.Point2D> getNewVertexPlaces()
Specified by:
getNewVertexPlaces in interface VisualizationInterface

getNewEdgeCurveControlPoints

public java.util.HashMap<EdgeModel,java.awt.geom.Point2D> getNewEdgeCurveControlPoints()
Specified by:
getNewEdgeCurveControlPoints in interface VisualizationInterface

GraphLab Project