Changes for page KIML Layout Options
Last modified by Alexander Schulz-Rosengarten on 2023/09/11 16:17
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. cds1 +XWiki.uru - Content
-
... ... @@ -133,22 +133,6 @@ 133 133 )))|((( 134 134 false 135 135 ))) 136 -|(% colspan="1" %)(% colspan="1" %) 137 -((( 138 -Label Side 139 -)))|(% colspan="1" %)(% colspan="1" %) 140 -((( 141 -de.cau.cs.kieler.labelSide 142 -)))|(% colspan="1" %)(% colspan="1" %) 143 -((( 144 -Enum 145 -)))|(% colspan="1" %)(% colspan="1" %) 146 -((( 147 -Parents 148 -)))|(% colspan="1" %)(% colspan="1" %) 149 -((( 150 -SMART 151 -))) 152 152 |((( 153 153 Label Spacing 154 154 )))|((( ... ... @@ -228,7 +228,7 @@ 228 228 ))) 229 229 |(% colspan="1" %)(% colspan="1" %) 230 230 ((( 231 - Port Spacing215 + 232 232 )))|(% colspan="1" %)(% colspan="1" %) 233 233 ((( 234 234 de.cau.cs.kieler.portSpacing ... ... @@ -365,6 +365,22 @@ 365 365 ))) 366 366 |(% colspan="1" %)(% colspan="1" %) 367 367 ((( 352 +[[Additional Port Space>>doc:||anchor="addPortSpace"]] 353 +)))|(% colspan="1" %)(% colspan="1" %) 354 +((( 355 +de.cau.cs.kieler.additionalPortSpace 356 +)))|(% colspan="1" %)(% colspan="1" %) 357 +((( 358 +Margins 359 +)))|(% colspan="1" %)(% colspan="1" %) 360 +((( 361 +Nodes 362 +)))|(% colspan="1" %)(% colspan="1" %) 363 +((( 364 +0, 0, 0, 0 365 +))) 366 +|(% colspan="1" %)(% colspan="1" %) 367 +((( 368 368 Animate 369 369 )))|(% colspan="1" %)(% colspan="1" %) 370 370 ((( ... ... @@ -597,6 +597,22 @@ 597 597 ))) 598 598 |(% colspan="1" %)(% colspan="1" %) 599 599 ((( 600 +[[Port Anchor Offset>>doc:||anchor="portAnchor"]] 601 +)))|(% colspan="1" %)(% colspan="1" %) 602 +((( 603 +de.cau.cs.kieler.klay.layered.portAnchor 604 +)))|(% colspan="1" %)(% colspan="1" %) 605 +((( 606 +Object 607 +)))|(% colspan="1" %)(% colspan="1" %) 608 +((( 609 +Ports 610 +)))|(% colspan="1" %)(% colspan="1" %) 611 +((( 612 + 613 +))) 614 +|(% colspan="1" %)(% colspan="1" %) 615 +((( 600 600 Port Index 601 601 )))|(% colspan="1" %)(% colspan="1" %) 602 602 ((( ... ... @@ -825,6 +825,16 @@ 825 825 826 826 == Other Options == 827 827 844 +=== Additional Port Space === 845 + 846 +{{id name="addPortSpace"/}} 847 + 848 +This option controls additional port space left around the set of ports on each side: 849 + 850 +[[image:attach:addPortSpace.png]] 851 + 852 +This option is only relevant if port constraints are {{code language="none"}}FREE{{/code}}, {{code language="none"}}FIXED_SIDE{{/code}}, or {{code language="none"}}FIXED_ORDER{{/code}}. If size constraints include {{code language="none"}}PORTS{{/code}}, the additional port space, together with the port spacing and the size of ports, determines a lower bound on the node size. 853 + 828 828 === Alignment === 829 829 830 830 {{id name="alignment"/}} ... ... @@ -863,6 +863,18 @@ 863 863 864 864 Elements that are marked with this option are excluded from layout. This is used to identify diagram objects that should not be regarded as graph elements. 865 865 892 +=== Port Anchor Offset === 893 + 894 +{{id name="portAnchor"/}} 895 + 896 + 897 + 898 +Since ports have a size, we need a concrete point inside the port that edges should start or end in. In KLay Layered, this is referred to as the //port anchor//. By default, the center of each port is used as its port anchor, but this behavior can be overridden by setting an explicit port anchor. 899 + 900 +In the following example, the port anchor of the left port was moved upwards, while the port anchor of the second port was moved downwards: 901 + 902 +[[image:attach:KLay Layered Layout Options@port_anchors.png]] 903 + 866 866 === Port Offset === 867 867 868 868 {{id name="portOffset"/}} ... ... @@ -873,3 +873,9 @@ 873 873 874 874 * The port constraints on a node are set to FREE, FIXED_SIDES or FIXED_ORDER. 875 875 * The port constraints on a node are set to FIXED_RATIO or FIXED_POS, and the size of the node is not fixed. (Note that this is especially true for ports of compound nodes.) 914 + 915 +=== Port Spacing === 916 + 917 +{{id name="portSpacing"/}} 918 + 919 +The port spacing determines how much space KLay Layered should leave between the ports of each side. This option is only relevant if the node size depends on the ports, that is, if the size constraints include {{code language="none"}}SizeConstraint.PORTS{{/code}}.
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 94700741 +10751029 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 9470074/KIML Layout Options1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/10751029/KIML Layout Options