Changes for page KIML Layout Options

Last modified by Alexander Schulz-Rosengarten on 2023/09/11 16:17

From version 25.1
edited by cds
on 2014/03/17 11:10
Change comment: There is no comment for this version
To version 28.1
edited by uru
on 2015/01/28 15:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.cds
1 +XWiki.uru
Content
... ... @@ -212,7 +212,7 @@
212 212  )))
213 213  |(% colspan="1" %)(% colspan="1" %)
214 214  (((
215 -Port Spacing
215 +
216 216  )))|(% colspan="1" %)(% colspan="1" %)
217 217  (((
218 218  de.cau.cs.kieler.portSpacing
... ... @@ -349,6 +349,22 @@
349 349  )))
350 350  |(% colspan="1" %)(% colspan="1" %)
351 351  (((
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 +(((
352 352  Animate
353 353  )))|(% colspan="1" %)(% colspan="1" %)
354 354  (((
... ... @@ -581,6 +581,22 @@
581 581  )))
582 582  |(% colspan="1" %)(% colspan="1" %)
583 583  (((
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 +(((
584 584  Port Index
585 585  )))|(% colspan="1" %)(% colspan="1" %)
586 586  (((
... ... @@ -809,6 +809,16 @@
809 809  
810 810  == Other Options ==
811 811  
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 +
812 812  === Alignment ===
813 813  
814 814  {{id name="alignment"/}}
... ... @@ -847,6 +847,18 @@
847 847  
848 848  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.
849 849  
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 +
850 850  === Port Offset ===
851 851  
852 852  {{id name="portOffset"/}}
... ... @@ -857,3 +857,9 @@
857 857  
858 858  * The port constraints on a node are set to FREE, FIXED_SIDES or FIXED_ORDER.
859 859  * 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 -9470235
1 +10751029
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470235/KIML Layout Options
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/10751029/KIML Layout Options