public class SelfLoopCalculatorData extends LayoutData
SelfLoopCalculator
.Constructor and Description |
---|
SelfLoopCalculatorData() |
Modifier and Type | Method and Description |
---|---|
void |
apply(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
CopiedLayoutGraph layoutGraph)
Applies this layout data to the specified
layoutGraphAdapter . |
ItemMapping<IEdge,Double> |
getMinimumEdgeDistances()
Gets the mapping from edges to their minimum distance to the next edge and to node sides.
|
ItemMapping<IEdge,Double> |
getMinimumFirstSegmentLengths()
Gets the mapping from edges to the minimum length of their first segment.
|
ItemMapping<IEdge,Double> |
getMinimumLastSegmentLengths()
Gets the mapping from edges to the minimum length of their last segment.
|
ItemMapping<INode,Double> |
getMinimumNodeDistances()
Gets the mapping from nodes to their minimum distance to selfloop edges.
|
ItemMapping<IEdge,Double> |
getMinimumOctilinearSegmentLengths()
Gets the mapping from edges to the minimum length of their octilinear segments.
|
ItemCollection<IEdge> |
getOctilinearEdges()
Gets the collection of edges that are octilinear.
|
void |
setMinimumEdgeDistances(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to their minimum distance to the next edge and to node sides.
|
void |
setMinimumFirstSegmentLengths(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to the minimum length of their first segment.
|
void |
setMinimumLastSegmentLengths(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to the minimum length of their last segment.
|
void |
setMinimumNodeDistances(ItemMapping<INode,Double> value)
Sets the mapping from nodes to their minimum distance to selfloop edges.
|
void |
setMinimumOctilinearSegmentLengths(ItemMapping<IEdge,Double> value)
Sets the mapping from edges to the minimum length of their octilinear segments.
|
void |
setOctilinearEdges(ItemCollection<IEdge> value)
Sets the collection of edges that are octilinear.
|
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 ItemMapping<IEdge,Double> getMinimumEdgeDistances()
SelfLoopCalculator.MINIMUM_EDGE_DISTANCE_DPKEY
,
setMinimumEdgeDistances(ItemMapping)
public final ItemMapping<IEdge,Double> getMinimumFirstSegmentLengths()
SelfLoopCalculator.MINIMUM_FIRST_SEGMENT_LENGTH_DPKEY
,
setMinimumFirstSegmentLengths(ItemMapping)
public final ItemMapping<IEdge,Double> getMinimumLastSegmentLengths()
SelfLoopCalculator.MINIMUM_LAST_SEGMENT_LENGTH_DPKEY
,
setMinimumLastSegmentLengths(ItemMapping)
public final ItemMapping<INode,Double> getMinimumNodeDistances()
SelfLoopCalculator.MINIMUM_NODE_DISTANCE_DPKEY
,
setMinimumNodeDistances(ItemMapping)
public final ItemMapping<IEdge,Double> getMinimumOctilinearSegmentLengths()
SelfLoopCalculator.MINIMUM_OCTILINEAR_SEGMENT_LENGTH_DPKEY
,
setMinimumOctilinearSegmentLengths(ItemMapping)
public final ItemCollection<IEdge> getOctilinearEdges()
SelfLoopCalculator.OCTILINEAR_EDGES_DPKEY
,
setOctilinearEdges(ItemCollection)
public final void setMinimumEdgeDistances(ItemMapping<IEdge,Double> value)
value
- The MinimumEdgeDistances to set.SelfLoopCalculator.MINIMUM_EDGE_DISTANCE_DPKEY
,
getMinimumEdgeDistances()
public final void setMinimumFirstSegmentLengths(ItemMapping<IEdge,Double> value)
value
- The MinimumFirstSegmentLengths to set.SelfLoopCalculator.MINIMUM_FIRST_SEGMENT_LENGTH_DPKEY
,
getMinimumFirstSegmentLengths()
public final void setMinimumLastSegmentLengths(ItemMapping<IEdge,Double> value)
value
- The MinimumLastSegmentLengths to set.SelfLoopCalculator.MINIMUM_LAST_SEGMENT_LENGTH_DPKEY
,
getMinimumLastSegmentLengths()
public final void setMinimumNodeDistances(ItemMapping<INode,Double> value)
value
- The MinimumNodeDistances to set.SelfLoopCalculator.MINIMUM_NODE_DISTANCE_DPKEY
,
getMinimumNodeDistances()
public final void setMinimumOctilinearSegmentLengths(ItemMapping<IEdge,Double> value)
value
- The MinimumOctilinearSegmentLengths to set.SelfLoopCalculator.MINIMUM_OCTILINEAR_SEGMENT_LENGTH_DPKEY
,
getMinimumOctilinearSegmentLengths()
public final void setOctilinearEdges(ItemCollection<IEdge> value)
value
- The OctilinearEdges to set.SelfLoopCalculator.OCTILINEAR_EDGES_DPKEY
,
getOctilinearEdges()