infovis.graph.visualization.layout
Class CircularLayout

java.lang.Object
  extended by infovis.graph.GraphProxy
      extended by infovis.graph.visualization.layout.AbstractGraphLayout
          extended by infovis.graph.visualization.layout.CircularLayout
All Implemented Interfaces:
Graph, NodeLinkGraphLayout, Metadata, Constants, Layout

public class CircularLayout
extends AbstractGraphLayout

Class CircularLayout

Version:
$Revision: 1.1 $
Author:
Jean-Daniel Fekete
InfoVis factory arguments:
GraphLayoutFactory Circular

Field Summary
 
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
CircularLayout()
           
 
Method Summary
 void computeShapes(Rectangle2D bounds, NodeLinkGraphVisualization vis)
           
 String getName()
          Returns the Graph name.
 
Methods inherited from class infovis.graph.visualization.layout.AbstractGraphLayout
computeShapes, createRect, getBounds, getLinkShapes, getOrientation, getParent, getPreferredSize, getRectAt, getShapes, getVisualization, incrementLayout, initRect, 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, 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
 

Constructor Detail

CircularLayout

public CircularLayout()
Method Detail

getName

public String getName()
Description copied from interface: Graph
Returns the Graph name.

Specified by:
getName in interface Graph
Specified by:
getName in interface Layout
Overrides:
getName in class GraphProxy
Returns:
the Graph name.

computeShapes

public void computeShapes(Rectangle2D bounds,
                          NodeLinkGraphVisualization vis)
Overrides:
computeShapes in class AbstractGraphLayout


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