public class StraightLineLayout extends OrthogonalLineLayout
| Constructor and Description |
|---|
StraightLineLayout(GraphEditor gedit)
Creates a StraightLineLayout object used to layout the VisualGraph object
specified by vgraph.
|
StraightLineLayout(GraphScrollPane gpane)
Creates a StraightLineLayout object used to layout the VisualGraph object
specified by vgraph.
|
StraightLineLayout(VisualGraph vgraph)
Creates a StraightLineLayout object used to layout the VisualGraph object
specified by vgraph.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
routeEdge(VisualEdge vedge) |
addEdge, addVertex, initGraphLayout, layout, removeEdge, removeVertex, routeEdge, routeEdgesdrawLayout, generalPosition, getDrawgrid, getGrid, getStartAt, getXGridDistance, getYGridDistance, isInitialized, medianPlacement, run, setDrawGrid, setGraphLayoutListener, setStartAt, setXGridDistance, setYGridDistancepublic StraightLineLayout(VisualGraph vgraph)
vgraph - The VisualGraph object to be laid out.public StraightLineLayout(GraphScrollPane gpane)
gpane - A GraphScrollPane object encapsulating the VisualGraph
object to be laid out.public StraightLineLayout(GraphEditor gedit)
gedit - A GraphEditor object encapsulating a GraphScrollPane object
which in turn encapsulates the VisualGraph object to be laid out.protected void routeEdge(VisualEdge vedge)
routeEdge in class OrthogonalLineLayoutCopyright © 2019 JULIE Lab, Germany. All rights reserved.