public class FlowchartLayoutBuilder
extends java.lang.Object
Constructor and Description |
---|
FlowchartLayoutBuilder()
Initializes a new instance of the FlowchartLayoutBuilder class.
|
FlowchartLayoutBuilder(FlowchartLayout instance)
Initializes a new instance of the FlowchartLayoutBuilder class.
|
Modifier and Type | Method and Description |
---|---|
FlowchartLayoutBuilder |
anchoring(Anchoring value)
Sets how to align links to the anchor points of nodes.
|
FlowchartLayout |
create()
Creates a new object with the attributes accumulated by this builder.
|
FlowchartLayout |
get()
Returns an existing object passed for initialization to this builder.
|
FlowchartLayoutBuilder |
growToFit(boolean value)
Sets a value indicating whether the layout should increase
the diagram bounds to fit the arranged content.
|
FlowchartLayoutBuilder |
ignoreRepeatingLinks(boolean value)
Sets a value indicating whether to ignore repeating links.
|
FlowchartLayoutBuilder |
keepGroupLayout(boolean value)
Sets a value indicating whether to treat each Group
of nodes as a single vertex in the arranged graph.
|
FlowchartLayoutBuilder |
layoutLink(LayoutLink value)
Sets an object, which is notified when the
position of a link is changed by the layout.
|
FlowchartLayoutBuilder |
layoutNode(LayoutNode value)
Sets an object, which is notified when the
position of a node is changed by the layout.
|
FlowchartLayoutBuilder |
linkPadding(float value)
Sets how much space to leave between adjacent back links designating nested loops.
|
FlowchartLayoutBuilder |
margins(XDimension2D.Double value)
Sets the distance between the top-left corner
of the smallest rectangle containing the arranged diagram
and the top-left point of the document bounds.
|
FlowchartLayoutBuilder |
multipleGraphsPlacement(MultipleGraphsPlacement value)
Sets a value indicating how multiple independent graphs
in the diagram should be positioned relatively to each other.
|
FlowchartLayoutBuilder |
nodeDistance(float value)
Sets the distance between consecutive nodes in the flowchart.
|
FlowchartLayoutBuilder |
orientation(com.mindfusion.common.Orientation value)
Sets the overall orientation of the arranged diagram.
|
FlowchartLayoutBuilder |
progress(LayoutProgress value)
Sets the progress callback delegate.
|
FlowchartLayoutBuilder |
splitGraph(boolean value)
Sets a value indicating whether unconnected subgraphs
should be laid out independently from each other.
|
public FlowchartLayoutBuilder()
public FlowchartLayoutBuilder(FlowchartLayout instance)
public FlowchartLayoutBuilder anchoring(Anchoring value)
public FlowchartLayoutBuilder growToFit(boolean value)
public FlowchartLayoutBuilder ignoreRepeatingLinks(boolean value)
public FlowchartLayoutBuilder keepGroupLayout(boolean value)
public FlowchartLayoutBuilder layoutLink(LayoutLink value)
public FlowchartLayoutBuilder layoutNode(LayoutNode value)
public FlowchartLayoutBuilder linkPadding(float value)
public FlowchartLayoutBuilder margins(XDimension2D.Double value)
public FlowchartLayoutBuilder multipleGraphsPlacement(MultipleGraphsPlacement value)
public FlowchartLayoutBuilder nodeDistance(float value)
public FlowchartLayoutBuilder orientation(com.mindfusion.common.Orientation value)
public FlowchartLayoutBuilder progress(LayoutProgress value)
public FlowchartLayoutBuilder splitGraph(boolean value)
true
, each independent graph in
the diagram is laid out in its own layout area. Otherwise all
subgraphs are arranged in the same layout area.public FlowchartLayout create()
public FlowchartLayout get()