public class DatabaseLayout extends AbstractLayout
| Constructor and Description |
|---|
DatabaseLayout()
Initializes a new instance of the
DatabaseLayout class
with the default settings. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
arrange(Diagram diagram,
DiagramItemList items)
Applies the layout to the specified diagram.
|
protected XDimension2D.Double |
getDefaultMarginValue()
Gets the default value of the
Margins property. |
float |
getNodeDistance()
Gets the minimum spacing between adjacent nodes in the final layout.
|
void |
setNodeDistance(float value)
Sets the minimum spacing between adjacent nodes in the final layout.
|
arrange, getAnchoring, getGrowToFit, getKeepGroupLayout, getLayoutLink, getLayoutNode, getMargins, getMultipleGraphsPlacement, getProgress, removeMidleSegmentPoint, setAnchoring, setGrowToFit, setKeepGroupLayout, setLayoutLink, setLayoutNode, setMargins, setMultipleGraphsPlacement, setProgresspublic DatabaseLayout()
DatabaseLayout class
with the default settings.public boolean arrange(Diagram diagram, DiagramItemList items)
arrange in class AbstractLayoutdiagram - The Diagram that should be arranged.items - A collection of nodes and links from diagram that define
the subgraph to arrange.protected XDimension2D.Double getDefaultMarginValue()
Margins property.public float getNodeDistance()
public void setNodeDistance(float value)