Changes for page KIML Layout Options

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

From version 21.1
edited by msp
on 2014/03/08 21:51
Change comment: There is no comment for this version
To version 29.1
edited by uru
on 2015/01/28 15:56
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.msp
1 +XWiki.uru
Content
... ... @@ -35,7 +35,7 @@
35 35  Default
36 36  )))
37 37  |(((
38 -Alignment
38 +[[Alignment>>doc:||anchor="alignment"]]
39 39  )))|(((
40 40  de.cau.cs.kieler.alignment
41 41  )))|(((
... ... @@ -46,7 +46,7 @@
46 46  AUTOMATIC
47 47  )))
48 48  |(((
49 -Aspect Ratio
49 +[[Aspect Ratio>>doc:||anchor="aspectRatio"]]
50 50  )))|(((
51 51  de.cau.cs.kieler.aspectRatio
52 52  )))|(((
... ... @@ -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  (((
... ... @@ -661,6 +661,22 @@
661 661  )))
662 662  |(% colspan="1" %)(% colspan="1" %)
663 663  (((
696 +Thickness
697 +)))|(% colspan="1" %)(% colspan="1" %)
698 +(((
699 +de.cau.cs.kieler.thickness
700 +)))|(% colspan="1" %)(% colspan="1" %)
701 +(((
702 +Float
703 +)))|(% colspan="1" %)(% colspan="1" %)
704 +(((
705 +Edges
706 +)))|(% colspan="1" %)(% colspan="1" %)
707 +(((
708 +1.0
709 +)))
710 +|(% colspan="1" %)(% colspan="1" %)
711 +(((
664 664  Zoom to Fit
665 665  )))|(% colspan="1" %)(% colspan="1" %)
666 666  (((
... ... @@ -793,6 +793,28 @@
793 793  
794 794  == Other Options ==
795 795  
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 +
854 +=== Alignment ===
855 +
856 +{{id name="alignment"/}}
857 +
858 +Determines the alignment of a node in relation to other nodes of the same row or column. For layer-based algorithms, for instance, this option controls how a node is positioned inside its assigned layer.
859 +
860 +=== Aspect Ratio ===
861 +
862 +{{id name="aspectRatio"/}}
863 +
864 +The aspect ratio of a drawing is the ratio of its total width to its total height. This option gives some control over that ratio, although in most cases it is only interpreted as a hint on how to arrange multiple connected components, hence the actual aspect ratio will probably be different from what has been specified with the option.
865 +
796 796  === Comment Box ===
797 797  
798 798  {{id name="commentBox"/}}
... ... @@ -819,6 +819,16 @@
819 819  
820 820  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.
821 821  
892 +=== Port Anchor Offset ===
893 +
894 +{{id name="portAnchor"/}}
895 +
896 +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.
897 +
898 +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:
899 +
900 +[[image:attach:KLay Layered Layout Options@port_anchors.png]]
901 +
822 822  === Port Offset ===
823 823  
824 824  {{id name="portOffset"/}}
... ... @@ -829,3 +829,9 @@
829 829  
830 830  * The port constraints on a node are set to FREE, FIXED_SIDES or FIXED_ORDER.
831 831  * 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.)
912 +
913 +=== Port Spacing ===
914 +
915 +{{id name="portSpacing"/}}
916 +
917 +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 -9470016
1 +10751220
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470016/KIML Layout Options
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/10751220/KIML Layout Options