public class HierarchicalLayoutBuilder
extends java.lang.Object
Constructor and Description |
---|
HierarchicalLayoutBuilder()
Initializes a new instance of the HierarchicalLayoutBuilder class.
|
HierarchicalLayoutBuilder(HierarchicalLayout instance)
Initializes a new instance of the HierarchicalLayoutBuilder class.
|
Modifier and Type | Method and Description |
---|---|
HierarchicalLayoutBuilder |
anchoring(Anchoring value)
Sets how to align links to the anchor points of nodes.
|
HierarchicalLayout |
create()
Creates a new object with the attributes accumulated by this builder.
|
HierarchicalLayout |
get()
Returns an existing object passed for initialization to this builder.
|
HierarchicalLayoutBuilder |
growToFit(boolean value)
Sets a value indicating whether the layout should increase
the diagram bounds to fit the arranged content.
|
HierarchicalLayoutBuilder |
keepGroupLayout(boolean value)
Sets a value indicating whether to treat each Group
of nodes as a single vertex in the arranged graph.
|
HierarchicalLayoutBuilder |
layoutLink(LayoutLink value)
Sets an object, which is notified when the
position of a link is changed by the layout.
|
HierarchicalLayoutBuilder |
layoutNode(LayoutNode value)
Sets an object, which is notified when the
position of a node is changed by the layout.
|
HierarchicalLayoutBuilder |
levelDistance(float value)
Sets the distance between adjecent levels in the hierarchical layout.
|
HierarchicalLayoutBuilder |
linkBendFactor(float value)
Sets the bending factor of links.
|
HierarchicalLayoutBuilder |
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.
|
HierarchicalLayoutBuilder |
multipleGraphsPlacement(MultipleGraphsPlacement value)
Sets a value indicating how multiple independent graphs
in the diagram should be positioned relatively to each other.
|
HierarchicalLayoutBuilder |
orientation(com.mindfusion.common.Orientation value)
Sets a the orientation of the arranged graph.
|
HierarchicalLayoutBuilder |
progress(LayoutProgress value)
Sets the progress callback delegate.
|
public HierarchicalLayoutBuilder()
public HierarchicalLayoutBuilder(HierarchicalLayout instance)
public HierarchicalLayoutBuilder anchoring(Anchoring value)
public HierarchicalLayoutBuilder growToFit(boolean value)
public HierarchicalLayoutBuilder keepGroupLayout(boolean value)
public HierarchicalLayoutBuilder layoutLink(LayoutLink value)
public HierarchicalLayoutBuilder layoutNode(LayoutNode value)
public HierarchicalLayoutBuilder levelDistance(float value)
public HierarchicalLayoutBuilder linkBendFactor(float value)
public HierarchicalLayoutBuilder margins(XDimension2D.Double value)
public HierarchicalLayoutBuilder multipleGraphsPlacement(MultipleGraphsPlacement value)
public HierarchicalLayoutBuilder orientation(com.mindfusion.common.Orientation value)
value
- A member of the Orientation
enumeration.public HierarchicalLayoutBuilder progress(LayoutProgress value)
public HierarchicalLayout create()
public HierarchicalLayout get()