|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.PartitionLayouter.PolylineInterEdgeRouter
public static class PartitionLayouter.PolylineInterEdgeRouter
PartitionLayouter.PolylineInterEdgeRouter routes inter-edges using EdgeRouter.
![]() |
![]() |
| Constructor Summary | |
|---|---|
PartitionLayouter.PolylineInterEdgeRouter()
Creates a new PartitionLayouter.PolylineInterEdgeRouter instance with default settings. |
|
| Method Summary | |
|---|---|
EdgeRouter |
getEdgeRouter()
Returns the EdgeRouter instance used for routing inter-edges. |
java.lang.Object |
getSelectedEdgesDpKey()
Returns the key to register a DataProvider which marks edges as selected. |
boolean |
isRouteInterEdgesOnly()
Returns whether or not to route inter-edges only. |
void |
routeInterEdges(LayoutGraph graph,
DataProvider clusterIDDP,
DataProvider interEdgeDP)
Routes inter-edges of the partitioned graph. |
void |
setEdgeRouter(EdgeRouter orthogonalEdgeRouter)
Specifies the EdgeRouter instance used for routing inter-edges. |
void |
setRouteInterEdgesOnly(boolean b)
Specifies whether or not to route inter-edges only. |
void |
setSelectedEdgesDpKey(java.lang.Object key)
Specifies the key to register a DataProvider which marks 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.PolylineInterEdgeRouter()
PartitionLayouter.PolylineInterEdgeRouter instance with default settings.
| Method Detail |
|---|
public java.lang.Object getSelectedEdgesDpKey()
DataProvider which marks edges as selected.
DataProvider keysetSelectedEdgesDpKey(Object),
EdgeRouter.setSelectedEdgesDpKey(Object)public void setSelectedEdgesDpKey(java.lang.Object key)
DataProvider which marks edges as selected.
Layouter.SELECTED_EDGESkey - the DataProvider key
java.lang.IllegalArgumentException - if the specified key is nullEdgeRouter.setSelectedEdgesDpKey(Object)public boolean isRouteInterEdgesOnly()
Inter-edges are edges that connect nodes from different partitions. If this feature is disabled, all edges are routed by this routing algorithm.
true if only inter-edges are routed, false otherwisesetRouteInterEdgesOnly(boolean),
routeInterEdges(LayoutGraph, DataProvider, DataProvider)public void setRouteInterEdgesOnly(boolean b)
Inter-edges are edges that connect nodes from different partitions. If this feature is disabled, all edges are routed by this routing algorithm.
b - true if only inter-edges should be routed, false otherwiserouteInterEdges(LayoutGraph, DataProvider, DataProvider)
public void routeInterEdges(LayoutGraph graph,
DataProvider clusterIDDP,
DataProvider interEdgeDP)
PartitionLayouter.InterEdgeRouter
routeInterEdges in interface PartitionLayouter.InterEdgeRoutergraph - the input graphclusterIDDP - the partition ID for each node in the graphinterEdgeDP - the map that marks inter-edgespublic EdgeRouter getEdgeRouter()
EdgeRouter instance used for routing inter-edges.
EdgeRouter that is usedsetEdgeRouter(EdgeRouter)public void setEdgeRouter(EdgeRouter orthogonalEdgeRouter)
EdgeRouter instance used for routing inter-edges.
EdgeRouter. An EdgeRouter instance with default settings.orthogonalEdgeRouter - the EdgeRouter that should be used
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||