infovis.graph.visualization.layout
Class RandomGraphLayout

java.lang.Object
  extended by infovis.graph.GraphProxy
      extended by infovis.graph.visualization.layout.AbstractGraphLayout
          extended by infovis.graph.visualization.layout.RandomGraphLayout
All Implemented Interfaces:
Graph, NodeLinkGraphLayout, Metadata, Constants, Layout
Direct Known Subclasses:
BasicSpringLayout

public class RandomGraphLayout
extends AbstractGraphLayout

Class RandomGraphLayout

Version:
$Revision: 1.2 $
Author:
Jean-Daniel Fekete
InfoVis factory arguments:
GraphLayoutFactory "Random"

Field Summary
static RandomGraphLayout instance
           
 
Fields inherited from class infovis.graph.visualization.layout.AbstractGraphLayout
COLUMN_FIXED
 
Fields inherited from interface infovis.Graph
GRAPH_TYPE, GRAPH_TYPE_DIRECTED, GRAPH_TYPE_UNDIRECTED, NIL
 
Fields inherited from interface infovis.metadata.Constants
CONTRIBUTOR, COVERAGE, CREATOR, DATE, DESCRITION, FORMAT, IDENTIFIER, LANGUAGE, PUBLISHER, RELATION, RIGHTS, SOURCE, SUBJECT, TITLE, TYPE
 
Constructor Summary
RandomGraphLayout()
           
RandomGraphLayout(RandomEngine engine)
           
 
Method Summary
 RandomEngine getEngine()
           
static RandomGraphLayout getInstance()
           
 Rectangle2D.Float initRect(Rectangle2D.Float rect)
           
 double nextDouble()
           
 void setEngine(RandomEngine engine)
           
static void setInstance(RandomGraphLayout i)
           
 
Methods inherited from class infovis.graph.visualization.layout.AbstractGraphLayout
computeShapes, computeShapes, createRect, getBounds, getLinkShapes, getOrientation, getParent, getPreferredSize, getRectAt, getShapes, getVisualization, incrementLayout, invalidate, isFinished, setRectSizeAt, setShapeAt
 
Methods inherited from class infovis.graph.GraphProxy
addEdge, addGraphChangedListener, addVertex, clear, edgeIterator, edgeIterator, findEdge, getClientProperty, getDegree, getEdge, getEdgesCount, getEdgeTable, getFirstVertex, getGraph, getInDegree, getInEdgeAt, getMetadata, getName, getOtherVertex, getOutDegree, getOutEdgeAt, getSecondVertex, getVertexTable, getVerticesCount, inEdgeIterator, isDirected, outEdgeIterator, removeEdge, removeGraphChangedListener, removeVertex, setDirected, setGraph, setName, vertexIterator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface infovis.visualization.Layout
getName
 

Field Detail

instance

public static RandomGraphLayout instance
Constructor Detail

RandomGraphLayout

public RandomGraphLayout()

RandomGraphLayout

public RandomGraphLayout(RandomEngine engine)
Method Detail

getInstance

public static RandomGraphLayout getInstance()

setInstance

public static void setInstance(RandomGraphLayout i)

nextDouble

public double nextDouble()

initRect

public Rectangle2D.Float initRect(Rectangle2D.Float rect)
Overrides:
initRect in class AbstractGraphLayout

getEngine

public RandomEngine getEngine()

setEngine

public void setEngine(RandomEngine engine)


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.