Page History
This page documents how KLay Layered implements label placement, port placement, and node sizing.
Note | ||
---|---|---|
| ||
Everything on this page is still subject to change – this is the bleeding edge of science! We're still working on this stuff, trying out different concepts, and moving things around, all for the benefit of mankind. You're welcome. |
Contents
Table of Contents |
---|
...
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. |
Properties.PORT_SPACING | Node | How much space should be left between ports. |
Overview
Content Tools