Changes for page KIML Layout Options

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

From version 22.1
edited by msp
on 2014/03/08 22:12
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
... ... @@ -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,16 @@
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 +
796 796  === Alignment ===
797 797  
798 798  {{id name="alignment"/}}
... ... @@ -831,6 +831,16 @@
831 831  
832 832  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.
833 833  
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 +
834 834  === Port Offset ===
835 835  
836 836  {{id name="portOffset"/}}
... ... @@ -841,3 +841,9 @@
841 841  
842 842  * The port constraints on a node are set to FREE, FIXED_SIDES or FIXED_ORDER.
843 843  * 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 -9470032
1 +10751220
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470032/KIML Layout Options
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/10751220/KIML Layout Options