| ... |
... |
@@ -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 |
((( |
| ... |
... |
@@ -873,6 +873,16 @@ |
| 873 |
873 |
|
| 874 |
874 |
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. |
| 875 |
875 |
|
|
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 |
+ |
| 876 |
876 |
=== Port Offset === |
| 877 |
877 |
|
| 878 |
878 |
{{id name="portOffset"/}} |