com.jgraph.layout.orthogonal
Class OrthogonalLinkRouter
java.lang.Object
com.jgraph.layout.orthogonal.OrthogonalLinkRouter
- All Implemented Interfaces:
- JGraphLayout
- public class OrthogonalLinkRouter
- extends Object
- implements JGraphLayout
A cache of the rectangular regions describing an orthogonal layout.
This layout only applies to edges
OrthogonalLinkRouter
public OrthogonalLinkRouter()
run
public void run(JGraphFacade facade)
- The API method used to exercise the layout upon the facade description
and produce a separate description of the edge routing changes made. It
runs each stage of the layout that has been created.
- Specified by:
run
in interface JGraphLayout
- Parameters:
facade
- the facade object that describes and filters the graph to be
acted upon
routeEdge
public void routeEdge(Object edge,
JGraphFacade facade)
- Routing algorithmn for an individual edge
- Parameters:
edge
- the edge to be routedfacade
- the facade to act upon
toString
public String toString()
- Returns
Orthogonal Edges
, the name of this algorithm.
getMAXIMAL_DEPTH
public int getMAXIMAL_DEPTH()
- Returns:
- Returns the mAXIMAL_DEPTH.
setMAXIMAL_DEPTH
public void setMAXIMAL_DEPTH(int maximal_depth)
- Parameters:
maximal_depth
- The mAXIMAL_DEPTH to set.
Copyright (C) 2005 JGraph.com. All rights reserved.