|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.AbstractLayoutStage | +--y.layout.grouping.ParentEdgeAugmentationStage
This class can be used as a decorating stage for layout algorithms that cannot handle node groups. Before calling the core layout algorithms, this class will augment the graph structure. For each node that belongs to a group, a so-called "parent-edge" will be temporarily inserted into the graph.
Field Summary |
Fields inherited from interface y.layout.Layouter |
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES |
Constructor Summary | |
ParentEdgeAugmentationStage()
Creates a new instance of ParentEdgeAugmentationStage |
Method Summary | |
boolean |
canLayout(LayoutGraph graph)
Returns true if the core layouter can layout the augmented graph. |
void |
doLayout(LayoutGraph graph)
Assigns a new graph layout to the given layout graph. |
Methods inherited from class y.layout.AbstractLayoutStage |
canLayoutCore, doLayoutCore, getCoreLayouter, setCoreLayouter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParentEdgeAugmentationStage()
Method Detail |
public boolean canLayout(LayoutGraph graph)
public void doLayout(LayoutGraph graph)
Layouter
|
© 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 |