public class OrthogonalLayoutData extends LayoutData
OrthogonalLayout.| Constructor and Description |
|---|
OrthogonalLayoutData() |
| 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> |
getDirectedEdges()
Gets the collection of edges that should be routed in a way that point in the main layout direction.
|
ItemMapping<IEdge,EdgeLayoutDescriptor> |
getEdgeLayoutDescriptors()
Gets the mapping from edges to their
EdgeLayoutDescriptor. |
ItemMapping<INode,NodeHalo> |
getNodeHalos()
Gets the mapping from nodes to their
NodeHalo. |
ItemMapping<IEdge,Object> |
getSourceGroupIds()
Gets a mapping from edges to an object representing their source edge group.
|
ItemMapping<IEdge,Object> |
getTargetGroupIds()
Gets a mapping from edges to an object representing their target edge group.
|
void |
setAbortHandler(AbortHandler value)
Sets the AbortHandler used during the layout.
|
void |
setDirectedEdges(ItemCollection<IEdge> value)
Sets the collection of edges that should be routed in a way that point in the main layout direction.
|
void |
setEdgeLayoutDescriptors(ItemMapping<IEdge,EdgeLayoutDescriptor> value)
Sets the mapping from edges to their
EdgeLayoutDescriptor. |
void |
setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo. |
void |
setSourceGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their source edge group.
|
void |
setTargetGroupIds(ItemMapping<IEdge,Object> value)
Sets a mapping from edges to an object representing their target edge group.
|
public void apply(LayoutGraphAdapter adapter, ILayoutAlgorithm layout, CopiedLayoutGraph layoutGraph)
LayoutDatalayoutGraphAdapter.apply in class LayoutDataadapter - 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> getDirectedEdges()
OrthogonalLayout.DIRECTED_EDGE_DPKEY,
setDirectedEdges(ItemCollection)public final ItemMapping<IEdge,EdgeLayoutDescriptor> getEdgeLayoutDescriptors()
EdgeLayoutDescriptor.EdgeLayoutDescriptor,
OrthogonalLayout.EDGE_LAYOUT_DESCRIPTOR_DPKEY,
setEdgeLayoutDescriptors(ItemMapping)public final ItemMapping<INode,NodeHalo> getNodeHalos()
NodeHalo.NodeHalo.NODE_HALO_DPKEY,
setNodeHalos(ItemMapping)public final ItemMapping<IEdge,Object> getSourceGroupIds()
PortConstraintKeys.SOURCE_GROUP_ID_DPKEY,
setSourceGroupIds(ItemMapping)public final ItemMapping<IEdge,Object> getTargetGroupIds()
PortConstraintKeys.TARGET_GROUP_ID_DPKEY,
setTargetGroupIds(ItemMapping)public final void setAbortHandler(AbortHandler value)
value - The AbortHandler to set.AbortHandler.ABORT_HANDLER_DPKEY,
getAbortHandler()public final void setDirectedEdges(ItemCollection<IEdge> value)
value - The DirectedEdges to set.OrthogonalLayout.DIRECTED_EDGE_DPKEY,
getDirectedEdges()public final void setEdgeLayoutDescriptors(ItemMapping<IEdge,EdgeLayoutDescriptor> value)
EdgeLayoutDescriptor.value - The EdgeLayoutDescriptors to set.EdgeLayoutDescriptor,
OrthogonalLayout.EDGE_LAYOUT_DESCRIPTOR_DPKEY,
getEdgeLayoutDescriptors()public final void setNodeHalos(ItemMapping<INode,NodeHalo> value)
NodeHalo.value - The NodeHalos to set.NodeHalo.NODE_HALO_DPKEY,
getNodeHalos()public final void setSourceGroupIds(ItemMapping<IEdge,Object> value)
value - The SourceGroupIds to set.PortConstraintKeys.SOURCE_GROUP_ID_DPKEY,
getSourceGroupIds()public final void setTargetGroupIds(ItemMapping<IEdge,Object> value)
value - The TargetGroupIds to set.PortConstraintKeys.TARGET_GROUP_ID_DPKEY,
getTargetGroupIds()