|
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.OrthogonalEdgeRouter y.layout.router.ChannelEdgeRouter.OrthogonalShortestPathPathFinder
public static class ChannelEdgeRouter.OrthogonalShortestPathPathFinder
This layouter is a s special version of OrthogonalEdgeRouter
that can be used as a path
finding strategy in ChannelEdgeRouter
.
It takes a bit longer than using the default path finding strategy
OrthogonalPatternEdgeRouter
but therefore will create no node crossings. It can be
configured like OrthogonalEdgeRouter.
Field Summary |
---|
Fields inherited from class y.layout.router.OrthogonalEdgeRouter |
---|
MONOTONIC_BOTH, MONOTONIC_HORIZONTAL, MONOTONIC_NONE, MONOTONIC_VERTICAL, ROUTE_ALL_EDGES, ROUTE_EDGES_AT_SELECTED_NODES, ROUTE_SELECTED_EDGES, STYLE_ADHOC, STYLE_BALANCED, STYLE_PREFERMIDDLE, STYLE_SHORTPATH |
Fields inherited from interface y.layout.Layouter |
---|
EDGE_ID_DPKEY, NODE_ID_DPKEY, SELECTED_EDGES, SELECTED_NODES |
Constructor Summary | |
---|---|
ChannelEdgeRouter.OrthogonalShortestPathPathFinder()
|
Method Summary | |
---|---|
boolean |
canLayout(LayoutGraph graph)
Returns true if the specified core layouter does, and also when there is no core layouter. |
void |
doLayout(LayoutGraph graph)
Main entrance to orthogonal edge routing. |
Object |
getAffectedEdgesDPKey()
Returns the key of a DataProvider that defines the edges, that shall be affected |
void |
setAffectedEdgesDPKey(Object key)
Determines a key, that is registered on the graph and determines the edges which shall be affected by this router. |
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 ChannelEdgeRouter.OrthogonalShortestPathPathFinder()
Method Detail |
---|
public boolean canLayout(LayoutGraph graph)
OrthogonalEdgeRouter
true
if the specified core layouter does, and also when there is no core layouter.
canLayout
in interface Layouter
canLayout
in class OrthogonalEdgeRouter
public void doLayout(LayoutGraph graph)
OrthogonalEdgeRouter
doLayout
in interface Layouter
doLayout
in class OrthogonalEdgeRouter
public void setAffectedEdgesDPKey(Object key)
key
- the key of a DataProvider that defines the edges, that shall be affectedpublic Object getAffectedEdgesDPKey()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |