<
From version < 22.1 >
edited by cds
on 2014/04/03 14:10
To version < 24.1 >
edited by cds
on 2014/04/03 14:41
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -853,10 +853,17 @@
853 853  
854 854  {{id name="nodePlacement"/}}
855 855  
856 -{{warning}}
857 -Document!
858 -{{/warning}}
856 +Decides which algorithm is used to compute the y coordinate of each node. This influences the length of edges, the number of edge bends, and the height of the diagram. We have different algorithms available, with different optimization goals:
859 859  
858 +* BRANDES_KOEPF
859 +Minimizes the number of edge bends at the expense of diagram size: diagrams drawn with this algorithm are usually higher than diagrams drawn with other algorithms.
860 +* LINEAR_SEGMENTS
861 +Computes a balanced placement.
862 +* BUCHHEIM_JUENGER_LEIPERT
863 +Also computes a balanced placement, but a little faster.
864 +* SIMPLE
865 +Minimizes the area at the expense of... well, pretty much everything else.
866 +
860 860  == Port Anchor Offset ==
861 861  
862 862  
... ... @@ -863,12 +863,12 @@
863 863  
864 864  {{id name="portAnchor"/}}
865 865  
866 -{{warning}}
867 -Document!
868 -{{/warning}}
873 +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.
869 869  
870 -
875 +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:
871 871  
877 +[[image:attach:port_anchors.png]]
878 +
872 872  == Thoroughness ==
873 873  
874 874  
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9470138
1 +9470142
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470138/KLay Layered Layout Options
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/9470142/KLay Layered Layout Options