public class OrthogonalLayoutInfo
extends java.lang.Object
Constructor and Description |
---|
OrthogonalLayoutInfo()
Initializes a new instance of the OrthogonalLayoutInfo class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDirected()
Gets a value indicating whether the graph being laid out
is directed.
|
Dimension |
getMargins()
Sets the distance between the top-left corner
of the smallest rectangle containing the arranged tree
and the top-left point of the document bounds.
|
boolean |
getMinimizeLinkBends() |
float |
getMinLaneSize()
Gets or sets a value indicating the minimum size of a lane.
|
float |
getPadding()
Gets a value indicating how much space to leave between nodes in adjacent lanes.
|
boolean |
getRefine()
Gets or sets a value indicating whether to refine the layout.
|
void |
setDirected(boolean directed)
Sets a value indicating whether the graph being laid out
is directed.
|
void |
setMargins(Dimension margins)
Sets the distance between the top-left corner
of the smallest rectangle containing the arranged tree
and the top-left point of the document bounds.
|
void |
setMinimizeLinkBends(boolean value)
Sets a value indicating whether the layout should attempt to minimize link bends.
|
void |
setMinLaneSize(float value)
Gets or sets a value indicating the minimum size of a lane.
|
void |
setPadding(float padding)
Sets a value indicating how much space to leave between nodes in adjacent lanes.
|
void |
setRefine(boolean refine)
Gets or sets a value indicating whether to refine the layout.
|
public OrthogonalLayoutInfo()
public Dimension getMargins()
public void setMargins(Dimension margins)
public boolean getDirected()
public void setDirected(boolean directed)
public boolean getRefine()
public void setRefine(boolean refine)
public float getPadding()
public void setPadding(float padding)
public float getMinLaneSize()
public void setMinLaneSize(float value)
public boolean getMinimizeLinkBends()
public void setMinimizeLinkBends(boolean value)
value
- true to minimize link bends, otherwise false. The default value is true.