| ... |
... |
@@ -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,16 @@ |
| 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 |
+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 |
+ |
| 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.) |
|
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}}. |