|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a general interface for algorithms that perform a layout process on a given layout graph.
Field Summary | |
static Object |
EDGE_ID_DPKEY
The data provider key used to look up a unique Object identifier (consistend with hashCode() and equals() ) for each edge in a graph. |
static Object |
NODE_ID_DPKEY
The data provider key used to look up a unique Object identifier (consistend with hashCode() and equals() ) for each node in a graph. |
static Object |
SELECTED_EDGES
The data provider key used to look up the selected state of the edges of the graph to be layed out. |
static Object |
SELECTED_NODES
The data provider key used to look up the selected state of the nodes of the graph to be layed out. |
Method Summary | |
boolean |
canLayout(LayoutGraph graph)
Returns true iff the given graph can be layed
out by this algorithm. |
void |
doLayout(LayoutGraph graph)
Assigns a new graph layout to the given layout graph. |
Field Detail |
public static final Object NODE_ID_DPKEY
public static final Object EDGE_ID_DPKEY
public static final Object SELECTED_NODES
public static final Object SELECTED_EDGES
Method Detail |
public boolean canLayout(LayoutGraph graph)
true
iff the given graph can be layed
out by this algorithm. Calling doLayout
with
the given graph as it's argument will only success if
this method returns true
.
public void doLayout(LayoutGraph graph)
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |