|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.PartitionLayouter.OrthogonalInterEdgeRouter
public static class PartitionLayouter.OrthogonalInterEdgeRouter
InterEdgeRouter implementation that routes inter-edges using OrthogonalEdgeRouter
.
Constructor Summary | |
---|---|
PartitionLayouter.OrthogonalInterEdgeRouter()
Creates a new instance of this class. |
Method Summary | |
---|---|
OrthogonalEdgeRouter |
getOrthogonalEdgeRouter()
Returns the OrthogonalEdgeRouter instance used to route inter-edges. |
Object |
getSelectedEdgesDpKey()
Returns the DataProvider key to mark edges as
selected. |
void |
routeInterEdges(LayoutGraph graph,
DataProvider clusterIDDP,
DataProvider interEdgeDP)
Routes inter-edges of the partitioned graph. |
void |
setOrthogonalEdgeRouter(OrthogonalEdgeRouter orthogonalEdgeRouter)
Sets the OrthogonalEdgeRouter instance used to route inter-edges. |
void |
setSelectedEdgesDpKey(Object key)
Specifies the DataProvider key to mark edges as
selected. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PartitionLayouter.OrthogonalInterEdgeRouter()
Method Detail |
---|
public Object getSelectedEdgesDpKey()
DataProvider
key to mark edges as
selected.
By default, Layouter.SELECTED_EDGES
is used.
DataProvider
key to mark edges as selected.setSelectedEdgesDpKey(Object)
,
OrthogonalEdgeRouter.getSelectedEdgesDpKey()
,
OrthogonalEdgeRouter.setSelectedEdgesDpKey(Object)
public void setSelectedEdgesDpKey(Object key)
DataProvider
key to mark edges as
selected.
By default, Layouter.SELECTED_EDGES
is used.
IllegalArgumentException
- if the specified key is null
.key
- DataProvider
key.getSelectedEdgesDpKey()
,
OrthogonalEdgeRouter.getSelectedEdgesDpKey()
,
OrthogonalEdgeRouter.setSelectedEdgesDpKey(Object)
public void routeInterEdges(LayoutGraph graph, DataProvider clusterIDDP, DataProvider interEdgeDP)
PartitionLayouter.InterEdgeRouter
routeInterEdges
in interface PartitionLayouter.InterEdgeRouter
graph
- the input graphclusterIDDP
- the partition id for each node in the graph.interEdgeDP
- holds a boolean value for each edge of the graph indicating if the
edge is an inter-edge or not.public OrthogonalEdgeRouter getOrthogonalEdgeRouter()
OrthogonalEdgeRouter
instance used to route inter-edges.
public void setOrthogonalEdgeRouter(OrthogonalEdgeRouter orthogonalEdgeRouter)
OrthogonalEdgeRouter
instance used to route inter-edges.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |