public class MultiPageLayoutData extends LayoutData
MultiPageLayout
.Constructor and Description |
---|
MultiPageLayoutData() |
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.
|
ItemMapping<IEdge,Object> |
getEdgeIds()
Gets the mapping from edges to their unique IDs.
|
ItemMapping<ILabel,Object> |
getEdgeLabelIds()
Gets the mapping from edge labels to their unique IDs.
|
ItemMapping<IEdge,Object> |
getEdgeTypes()
Gets the mapping from edges to their type.
|
ItemMapping<INode,Object> |
getNodeClusterIds()
Gets the mapping from nodes to their cluster id.
|
ItemMapping<INode,Object> |
getNodeIds()
Gets the mapping from nodes to their unique IDs.
|
ItemMapping<ILabel,Object> |
getNodeLabelIds()
Gets the mapping from node labels to their unique IDs.
|
void |
setAbortHandler(AbortHandler value)
Sets the AbortHandler used during the layout.
|
void |
setEdgeIds(ItemMapping<IEdge,Object> value)
Sets the mapping from edges to their unique IDs.
|
void |
setEdgeLabelIds(ItemMapping<ILabel,Object> value)
Sets the mapping from edge labels to their unique IDs.
|
void |
setEdgeTypes(ItemMapping<IEdge,Object> value)
Sets the mapping from edges to their type.
|
void |
setNodeClusterIds(ItemMapping<INode,Object> value)
Sets the mapping from nodes to their cluster id.
|
void |
setNodeIds(ItemMapping<INode,Object> value)
Sets the mapping from nodes to their unique IDs.
|
void |
setNodeLabelIds(ItemMapping<ILabel,Object> value)
Sets the mapping from node labels to their unique IDs.
|
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 ItemMapping<IEdge,Object> getEdgeIds()
MultiPageLayout.EDGE_ID_DPKEY
,
setEdgeIds(ItemMapping)
public final ItemMapping<ILabel,Object> getEdgeLabelIds()
MultiPageLayout.EDGE_LABEL_ID_DPKEY
,
setEdgeLabelIds(ItemMapping)
public final ItemMapping<IEdge,Object> getEdgeTypes()
Multi-edges (edges with same endpoints) of different kind are distinguished if EdgeBundleModeMask
& EdgeBundleModes.DISTINGUISH_TYPES
== 1.
MultiPageLayout.EDGE_TYPE_DPKEY
,
setEdgeTypes(ItemMapping)
public final ItemMapping<INode,Object> getNodeClusterIds()
Nodes with the same cluster id should preferably be placed on the same page.
MultiPageLayout.NODE_CLUSTER_ID_DPKEY
,
setNodeClusterIds(ItemMapping)
public final ItemMapping<INode,Object> getNodeIds()
MultiPageLayout.NODE_ID_DPKEY
,
setNodeIds(ItemMapping)
public final ItemMapping<ILabel,Object> getNodeLabelIds()
MultiPageLayout.NODE_LABEL_ID_DPKEY
,
setNodeLabelIds(ItemMapping)
public final void setAbortHandler(AbortHandler value)
value
- The AbortHandler to set.AbortHandler.ABORT_HANDLER_DPKEY
,
getAbortHandler()
public final void setEdgeIds(ItemMapping<IEdge,Object> value)
value
- The EdgeIds to set.MultiPageLayout.EDGE_ID_DPKEY
,
getEdgeIds()
public final void setEdgeLabelIds(ItemMapping<ILabel,Object> value)
value
- The EdgeLabelIds to set.MultiPageLayout.EDGE_LABEL_ID_DPKEY
,
getEdgeLabelIds()
public final void setEdgeTypes(ItemMapping<IEdge,Object> value)
Multi-edges (edges with same endpoints) of different kind are distinguished if EdgeBundleModeMask
& EdgeBundleModes.DISTINGUISH_TYPES
== 1.
value
- The EdgeTypes to set.MultiPageLayout.EDGE_TYPE_DPKEY
,
getEdgeTypes()
public final void setNodeClusterIds(ItemMapping<INode,Object> value)
Nodes with the same cluster id should preferably be placed on the same page.
value
- The NodeClusterIds to set.MultiPageLayout.NODE_CLUSTER_ID_DPKEY
,
getNodeClusterIds()
public final void setNodeIds(ItemMapping<INode,Object> value)
value
- The NodeIds to set.MultiPageLayout.NODE_ID_DPKEY
,
getNodeIds()
public final void setNodeLabelIds(ItemMapping<ILabel,Object> value)
value
- The NodeLabelIds to set.MultiPageLayout.NODE_LABEL_ID_DPKEY
,
getNodeLabelIds()