Page History
...
With the node size set and ports placed, the node labels are now placed.
Layout Options Influencing This Stuff
The following layout options influence how the algorithm places ports and labels and calculates the node size:
Option | Target | Description |
---|---|---|
LayoutOptions.NODE_LABEL_PLACEMENT | Node | Determines where node labels are placed. A valid set of values contains exactly one constant from each of the following sets of constants:
|
LayoutOptions.PORT_LABEL_PLACEMENT | Node | Determines where port labels are placed: inside or outside their node. |
LayoutOptions.LABEL_SPACING | Graph | Determines the amount of space left between labels and the objects they label. |
LayoutOptions.SIZE_CONSTRAINT | Node | The amount of freedom in determining the size of a node. |
LayoutOptions.SIZE_OPTIONS | Node | Options for node size calculation. |
LayoutOptions.MIN_WIDTH | Node | The minimal width of a node. If set, overrides the default minimal width. |
LayoutOptions.MIN_HEIGHT | Node | The minimal height of a node. If set, overrides the default minimal height. |
LayoutOptions.PORT_CONSTRAINTS | Node | Freedom in placing ports. |
Overview
Content Tools