org.eclipse.draw2d.internal.graph
Class HorizontalPlacement
java.lang.Object
org.eclipse.draw2d.internal.graph.GraphVisitor
org.eclipse.draw2d.internal.graph.SpanningTreeVisitor
org.eclipse.draw2d.internal.graph.HorizontalPlacement
- Direct Known Subclasses:
- CompoundHorizontalPlacement
- public class HorizontalPlacement
- extends org.eclipse.draw2d.internal.graph.SpanningTreeVisitor
Assigns the X and width values for nodes in a directed graph.
- Since:
- 2.1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugCount
public static int debugCount
lastAdjusted
public static List lastAdjusted
graph
public DirectedGraph graph
prime
public DirectedGraph prime
HorizontalPlacement
public HorizontalPlacement()
visit
public void visit(DirectedGraph g)
- Description copied from class:
GraphVisitor
- Act on the given directed graph.
- Specified by:
visit
in class GraphVisitor
- Parameters:
g
- the graph
getTreeHead
protected Node getTreeHead(Edge edge)
getTreeTail
protected Node getTreeTail(Edge edge)
Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.