public class CircularLayoutData extends LayoutData
CircularLayout.| Constructor and Description |
|---|
CircularLayoutData() |
| 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.
|
IMapper<INode,Integer> |
getCircleIds()
Gets the mapper from nodes to their circle id.
|
ItemMapping<INode,Object> |
getCustomGroups()
Gets the mapping from nodes to their custom group object.
|
ItemMapping<IEdge,EdgeBundleDescriptor> |
getEdgeBundleDescriptors()
Gets the mapping of edges to their
EdgeBundleDescriptor. |
ItemMapping<INode,NodeHalo> |
getNodeHalos()
Gets the mapping from nodes to their
NodeHalo. |
void |
setAbortHandler(AbortHandler value)
Sets the AbortHandler used during the layout.
|
void |
setCircleIds(IMapper<INode,Integer> value)
Sets the mapper from nodes to their circle id.
|
void |
setCustomGroups(ItemMapping<INode,Object> value)
Sets the mapping from nodes to their custom group object.
|
void |
setEdgeBundleDescriptors(ItemMapping<IEdge,EdgeBundleDescriptor> value)
Sets the mapping of edges to their
EdgeBundleDescriptor. |
void |
setNodeHalos(ItemMapping<INode,NodeHalo> value)
Sets the mapping from nodes to their
NodeHalo. |
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 IMapper<INode,Integer> getCircleIds()
If this property is set, the mapper is filled by the layout with the circle information.
CircularLayout.CIRCLE_ID_DPKEY,
setCircleIds(IMapper)public final ItemMapping<INode,Object> getCustomGroups()
The custom groups are only considered if LayoutStyle is set to
LayoutStyle.CUSTOM_GROUPS
CircularLayout.CUSTOM_GROUPS_DPKEY,
setCustomGroups(ItemMapping)public final ItemMapping<IEdge,EdgeBundleDescriptor> getEdgeBundleDescriptors()
EdgeBundleDescriptor.
Bundling together multiple edges means that their common parts are to some degree merged into a bundled part. At the source and target point, the edges are again clearly split.
If an edge is mapped to null, the default descriptor is used.
EdgeBundleDescriptor,
CircularLayout.getEdgeBundling(),
setEdgeBundleDescriptors(ItemMapping)public final ItemMapping<INode,NodeHalo> getNodeHalos()
NodeHalo.NodeHalo.NODE_HALO_DPKEY,
setNodeHalos(ItemMapping)public final void setAbortHandler(AbortHandler value)
value - The AbortHandler to set.AbortHandler.ABORT_HANDLER_DPKEY,
getAbortHandler()public final void setCircleIds(IMapper<INode,Integer> value)
If this property is set, the mapper is filled by the layout with the circle information.
value - The CircleIds to set.CircularLayout.CIRCLE_ID_DPKEY,
getCircleIds()public final void setCustomGroups(ItemMapping<INode,Object> value)
The custom groups are only considered if LayoutStyle is set to
LayoutStyle.CUSTOM_GROUPS
value - The CustomGroups to set.CircularLayout.CUSTOM_GROUPS_DPKEY,
getCustomGroups()public final void setEdgeBundleDescriptors(ItemMapping<IEdge,EdgeBundleDescriptor> value)
EdgeBundleDescriptor.
Bundling together multiple edges means that their common parts are to some degree merged into a bundled part. At the source and target point, the edges are again clearly split.
If an edge is mapped to null, the default descriptor is used.
value - The EdgeBundleDescriptors to set.EdgeBundleDescriptor,
CircularLayout.getEdgeBundling(),
getEdgeBundleDescriptors()public final void setNodeHalos(ItemMapping<INode,NodeHalo> value)
NodeHalo.value - The NodeHalos to set.NodeHalo.NODE_HALO_DPKEY,
getNodeHalos()