Eclipse Draw2d
3.1

org.eclipse.draw2d.internal.graph
Class GraphVisitor

java.lang.Object
  extended byorg.eclipse.draw2d.internal.graph.GraphVisitor
Direct Known Subclasses:
BreakCycles, CompoundBreakCycles, CompoundDirectedGraphLayout, ConvertCompoundGraph, DirectedGraphLayout, InitialRankSolver, InvertEdges, LocalOptimizer, MinCross, PlaceEndpoints, PopulateRanks, SortSubgraphs, org.eclipse.draw2d.internal.graph.SpanningTreeVisitor, VerticalPlacement

public abstract class GraphVisitor
extends Object

Performs some action on a Graph.

Since:
2.1.2

Constructor Summary
GraphVisitor()
           
 
Method Summary
 void revisit(DirectedGraph g)
          Called in reverse order of visit.
abstract  void visit(DirectedGraph g)
          Act on the given directed graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphVisitor

public GraphVisitor()
Method Detail

visit

public abstract void visit(DirectedGraph g)
Act on the given directed graph.

Parameters:
g - the graph

revisit

public void revisit(DirectedGraph g)
Called in reverse order of visit.

Parameters:
g - the graph to act upon
Since:
3.1

Eclipse Draw2d
3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.