OrthogonalDrawing
Class orthogonalGraph
java.lang.Object
OrthogonalDrawing.orthogonalGraph
public class orthogonalGraph
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
private Graph result
outerFace
private int[] outerFace
outerFaceIndex
private int outerFaceIndex
g
private Graph g
lastDrawnNodeindex
private int lastDrawnNodeindex
shift
private int[] shift
gridsize
private int gridsize
orthogonalGraph
public orthogonalGraph()
drawOrthogonalGraph
public Graph drawOrthogonalGraph()
getFace
public int[] getFace(int n1,
int n2,
Graph g)
getmax
public int getmax(int[] face)
getLeftmostNeighbor
public int getLeftmostNeighbor(int index)
getOuterFace
private void getOuterFace(int n1,
int n2,
Graph gr)
getRightmostNeighbor
private int getRightmostNeighbor(int index,
int neighbor)
updateXcl
private int updateXcl(int neighbor)
sortNodeList
public void sortNodeList()
open
public void open()