|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.AbstractLayoutStage y.layout.router.ReducedSphereOfActionStage
public class ReducedSphereOfActionStage
Performance optimization stage for
OrthogonalEdgeRouter
.
This layout stage is applicable when only a subset of the edges
in the input graph should be
routed orthogonally.
Field Summary |
---|
Fields inherited from interface y.layout.Layouter |
---|
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES |
Constructor Summary | |
---|---|
ReducedSphereOfActionStage(Layouter coreLayouter)
Creates a new instance of ReducedSphereOfActionStage. |
Method Summary | |
---|---|
boolean |
canLayout(LayoutGraph graph)
Returns true iff the given graph can be laid
out by this algorithm. |
void |
doLayout(LayoutGraph graph)
Assigns orthogonal edge paths to the selected edges of a graph, efficiently. |
int |
getActivationThreshold()
Returns the activation threshold for this class. |
void |
setActivationThreshold(int threshold)
Sets the activation threshold for this class. |
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 ReducedSphereOfActionStage(Layouter coreLayouter)
coreLayouter
- the core layouter invoked by this stage. The coreLayouter must
contain an instance of OrthogonalEdgeRouter
its layout pipeline.Method Detail |
---|
public boolean canLayout(LayoutGraph graph)
Layouter
true
iff the given graph can be laid
out by this algorithm. Calling doLayout
with
the given graph as its argument will only success if
this method returns true
.
public void doLayout(LayoutGraph graph)
OrthogonalEdgeRouter.setSphereOfAction(byte)
public void setActivationThreshold(int threshold)
public int getActivationThreshold()
setActivationThreshold(int)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |