Changes for page KLay Layered Layout Options
Last modified by Richard Kreissig on 2023/09/14 10:20
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -120,7 +120,7 @@ 120 120 121 121 ))) 122 122 |((( 123 -Direction 123 +[[Direction>>doc:||anchor="direction"]] 124 124 )))|((( 125 125 de.cau.cs.kieler.direction 126 126 )))|((( ... ... @@ -127,9 +127,8 @@ 127 127 Enum 128 128 )))|((( 129 129 Parents 130 -)))|(% class="highlight-yellow" data-highlight-colour="yellow" %)(% class="highlight-yellow" data-highlight-colour="yellow" %) 131 -((( 132 -RIGHT 130 +)))|((( 131 +UNDEFINED 133 133 ))) 134 134 |(% colspan="1" %)(% colspan="1" %) 135 135 ((( ... ... @@ -351,9 +351,9 @@ 351 351 )))|(% colspan="1" %)(% colspan="1" %) 352 352 ((( 353 353 Nodes 354 -)))|(% colspan="1" %)(% colspan="1" %) 353 +)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %) 355 355 ((( 356 - 355 +10 357 357 ))) 358 358 |((( 359 359 Priority ... ... @@ -603,6 +603,25 @@ 603 603 ))) 604 604 |(% colspan="1" %)(% colspan="1" %) 605 605 ((( 605 +[[Linear Segments Deflection Dampening>>doc:||anchor="deflectionDampening"]] 606 +)))|(% colspan="1" %)(% colspan="1" %) 607 +((( 608 +de.cau.cs.kieler.klay.layered.linearSegmentsDeflectionDampening 609 +)))|(% colspan="1" %)(% colspan="1" %) 610 +((( 611 +Float 612 +)))|(% colspan="1" %)(% colspan="1" %) 613 +((( 614 +Parents 615 +)))|(% colspan="1" %)(% colspan="1" %) 616 +((( 617 +0.3 618 +)))|(% colspan="1" %)(% colspan="1" %) 619 +((( 620 +nodePlace=LINEAR_SEGMENTS 621 +))) 622 +|(% colspan="1" %)(% colspan="1" %) 623 +((( 606 606 [[Maximal Iterations>>doc:||anchor="maximalIterations"]] 607 607 )))|(% colspan="1" %)(% colspan="1" %) 608 608 ((( ... ... @@ -755,6 +755,14 @@ 755 755 * INTERACTIVE 756 756 The interactive algorithm tries to reverse edges that already pointed leftwards in the input graph. This requires node and port coordinates to have been set to sensible values. 757 757 776 +== Direction == 777 + 778 + 779 + 780 +{{id name="direction"/}} 781 + 782 +The layout direction influences where the majority of edges in the final layout will point to. With data flow diagrams, this will usually be to the right. With control flow diagrams, it might be downwards. The layout direction defaults to {{code language="none"}}UNDEFINED{{/code}}. This causes KLay Layered to calculate a layout direction based on the {{code language="none"}}ASPECT_RATIO{{/code}} setting. As of now, if the aspect ratio is >=1 (that is, if the diagram should be wider than it is high), the direction is set to {{code language="none"}}RIGHT{{/code}}. Otherwise, it is set to {{code language="none"}}DOWN{{/code}}. 783 + 758 758 == Edge Spacing Factor == 759 759 760 760 ... ... @@ -837,6 +837,18 @@ 837 837 This option can also be set to {{code language="none"}}FIRST_SEPARATE{{/code}} and {{code language="none"}}LAST_SEPARATE{{/code}}. These are for internal use only and should not have been publicly exposed in the first place. Using them can result in layout problems. 838 838 {{/note}} 839 839 866 +== Linear Segments Deflection Dampening == 867 + 868 + 869 + 870 +{{id name="deflectionDampening"/}} 871 + 872 +{{note}} 873 +This is a very advanced layout option that you normally shouldn't worry about. 874 +{{/note}} 875 + 876 +The linear segments node placer can sometimes place nodes in a way that results in unnecessarily large diagrams. This option dampens how much the nodes are moved around. A dampening factor of 1.0 disables dampening and just lets the node placer do what it wants. A more conservative dampening factor of 0.3 (the default) restricts the freedom of the node placer a bit more. 877 + 840 840 == Maximal Iterations == 841 841 842 842
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 - 94702971 +10158160 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/ 9470297/KLay Layered Layout Options1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/10158160/KLay Layered Layout Options