public class ParallelEdgeRouterData extends LayoutData
ParallelEdgeRouter
.Constructor and Description |
---|
ParallelEdgeRouterData() |
Modifier and Type | Method and Description |
---|---|
void |
apply(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
CopiedLayoutGraph layoutGraph)
Applies this layout data to the specified
layoutGraphAdapter . |
AbortHandler |
getAbortHandler()
Gets the AbortHandler used during the layout.
|
ItemCollection<IEdge> |
getAffectedEdges()
Gets the collection of edges affected by this router.
|
ItemCollection<IEdge> |
getLeadingEdges()
Gets the collection of leading edges.
|
void |
setAbortHandler(AbortHandler value)
Sets the AbortHandler used during the layout.
|
void |
setAffectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges affected by this router.
|
void |
setLeadingEdges(ItemCollection<IEdge> value)
Sets the collection of leading edges.
|
public void apply(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, CopiedLayoutGraph layoutGraph)
LayoutData
layoutGraphAdapter
.apply
in class LayoutData
adapter
- The adapter to add the layout data to.layout
- The layout that shall use this layout data.layoutGraph
- The layout graph used for the layout calculation.public final AbortHandler getAbortHandler()
AbortHandler.ABORT_HANDLER_DPKEY
,
setAbortHandler(AbortHandler)
public final ItemCollection<IEdge> getAffectedEdges()
ParallelEdgeRouter.AFFECTED_EDGES_DPKEY
,
setAffectedEdges(ItemCollection)
public final ItemCollection<IEdge> getLeadingEdges()
A leading edge is the edge whose layout is used to obtain the layout of the corresponding parallel edges.
ParallelEdgeRouter.LEADING_EDGE_DPKEY
,
setLeadingEdges(ItemCollection)
public final void setAbortHandler(AbortHandler value)
value
- The AbortHandler to set.AbortHandler.ABORT_HANDLER_DPKEY
,
getAbortHandler()
public final void setAffectedEdges(ItemCollection<IEdge> value)
value
- The AffectedEdges to set.ParallelEdgeRouter.AFFECTED_EDGES_DPKEY
,
getAffectedEdges()
public final void setLeadingEdges(ItemCollection<IEdge> value)
A leading edge is the edge whose layout is used to obtain the layout of the corresponding parallel edges.
value
- The LeadingEdges to set.ParallelEdgeRouter.LEADING_EDGE_DPKEY
,
getLeadingEdges()