public class GridLayouter extends KahinaGraphLayouter
Modifier and Type | Field and Description |
---|---|
boolean |
FLAG_USE_INVISIBLE_EDGES |
xCoord, yCoord
Constructor and Description |
---|
GridLayouter() |
Modifier and Type | Method and Description |
---|---|
void |
computeInitialLayout() |
int |
getDisplayHeight() |
int |
getDisplayWidth() |
void |
optimize() |
void |
optimizeVtxPosAllEdges(int v) |
void |
optimizeVtxPosVisibleEdges(int v) |
void |
refreshCoordinates() |
newGraph
public void computeInitialLayout()
computeInitialLayout
in class KahinaGraphLayouter
public void optimize()
optimize
in class KahinaGraphLayouter
public void optimizeVtxPosAllEdges(int v)
optimizeVtxPosAllEdges
in class KahinaGraphLayouter
public void optimizeVtxPosVisibleEdges(int v)
optimizeVtxPosVisibleEdges
in class KahinaGraphLayouter
public void refreshCoordinates()
refreshCoordinates
in class KahinaGraphLayouter
public int getDisplayHeight()
getDisplayHeight
in class KahinaGraphLayouter
public int getDisplayWidth()
getDisplayWidth
in class KahinaGraphLayouter