public class TriangularLayoutBuilder
extends java.lang.Object
Constructor and Description |
---|
TriangularLayoutBuilder()
Initializes a new instance of the TriangularLayoutBuilder class.
|
TriangularLayoutBuilder(TriangularLayout instance)
Initializes a new instance of the TriangularLayoutBuilder class.
|
Modifier and Type | Method and Description |
---|---|
TriangularLayoutBuilder |
anchoring(Anchoring value)
Sets how to align links to the anchor points of nodes.
|
TriangularLayoutBuilder |
bendNonplanarLinks(boolean value)
Sets a value indicating whether the intersecting links in a
non-planar graphs will be segmented and bended to improve presentation.
|
TriangularLayout |
create()
Creates a new object with the attributes accumulated by this builder.
|
TriangularLayout |
get()
Returns an existing object passed for initialization to this builder.
|
TriangularLayoutBuilder |
growToFit(boolean value)
Sets a value indicating whether the layout should increase
the diagram bounds to fit the arranged content.
|
TriangularLayoutBuilder |
keepGroupLayout(boolean value)
Sets a value indicating whether to treat each Group
of nodes as a single vertex in the arranged graph.
|
TriangularLayoutBuilder |
layoutLink(LayoutLink value)
Sets an object, which is notified when the
position of a link is changed by the layout.
|
TriangularLayoutBuilder |
layoutNode(LayoutNode value)
Sets an object, which is notified when the
position of a node is changed by the layout.
|
TriangularLayoutBuilder |
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.
|
TriangularLayoutBuilder |
multipleGraphsPlacement(MultipleGraphsPlacement value)
Sets a value indicating how multiple independent graphs
in the diagram should be positioned relatively to each other.
|
TriangularLayoutBuilder |
orientation(com.mindfusion.common.Orientation value)
Sets a the orientation of the arranged graph.
|
TriangularLayoutBuilder |
progress(LayoutProgress value)
Sets the progress callback delegate.
|
public TriangularLayoutBuilder()
public TriangularLayoutBuilder(TriangularLayout instance)
public TriangularLayoutBuilder anchoring(Anchoring value)
public TriangularLayoutBuilder bendNonplanarLinks(boolean value)
public TriangularLayoutBuilder growToFit(boolean value)
public TriangularLayoutBuilder keepGroupLayout(boolean value)
public TriangularLayoutBuilder layoutLink(LayoutLink value)
public TriangularLayoutBuilder layoutNode(LayoutNode value)
public TriangularLayoutBuilder margins(XDimension2D.Double value)
public TriangularLayoutBuilder multipleGraphsPlacement(MultipleGraphsPlacement value)
public TriangularLayoutBuilder orientation(com.mindfusion.common.Orientation value)
value
- One of the Orientation
constants.public TriangularLayoutBuilder progress(LayoutProgress value)
public TriangularLayout create()
public TriangularLayout get()