Changes for page KIML Layout Options

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

From version 26.1
edited by cds
on 2014/04/15 10:44
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
... ... @@ -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  (((
... ... @@ -831,8 +831,10 @@
831 831  
832 832  This option controls additional port space left around the set of ports on each side:
833 833  
834 -
850 +[[image:attach:addPortSpace.png]]
835 835  
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 +
836 836  === Alignment ===
837 837  
838 838  {{id name="alignment"/}}
... ... @@ -871,6 +871,18 @@
871 871  
872 872  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.
873 873  
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 +
874 874  === Port Offset ===
875 875  
876 876  {{id name="portOffset"/}}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9470237
1 +10751029
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470237/KIML Layout Options
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/10751029/KIML Layout Options