|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectannas.graph.drawing.LinePlacer<N,A>
N
- Node typeA
- Arc typepublic class LinePlacer<N,A extends ArcInterface<N>>
Places Nodes on a straight line
Constructor Summary | |
---|---|
LinePlacer()
|
Method Summary | |
---|---|
java.util.Map<N,int[]> |
place(GraphInterface<N,A> graph,
int sizeX,
int sizeY)
Takes a graph and runs an Algorithm to determine the location of each node in the Graph. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinePlacer()
Method Detail |
---|
public java.util.Map<N,int[]> place(GraphInterface<N,A> graph, int sizeX, int sizeY)
place
in interface Placer<N,A extends ArcInterface<N>>
graph
- Graph to draw.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |