Organic swimlane layout is a specialized variant of organic layout in which it is possible for a user to define placement constraints for nodes.
In yEd, these constraints can be created using dedicated group node types, which are available in the palette section Swimlane Nodes and Table Nodes. These group nodes display columns, rows, or both. When calculating an organic swimlane layout, these columns and rows will keep their relative positions and the group's content nodes will stay in their respective column and/or row albeit the nodes within a given column or row may be rearranged as the algorithm deems appropriate.
Important Notice
Only top level swimlane and table nodes will be used to create placement
constraints. Creating a swimlane or table node as the child node of another
group node (or another swimlane or table node) will result in that
node to be treated as a normal group node, i.e. the node's columns and/or
rows are ignored in this case and will not induce further placement
constraints.
Determines the main layout orientation. The algorithm tries to arrange nodes in such a way that all edges point in the main layout direction.
Allows to specify the preferred length of all edges. The layouter tries to arrange the nodes in such a way that the edges have the desired edge length. The edge length is measured from node border to node border.
Determines whether node labels should be considered in the layout process.
Whether or not nodes are allowed to overlap. If this feature is disabled, the Minimal Node Distance will be used to arrange the nodes in such a way, that the given distance will be obeyed.
The minimal node distance which will be used if Allow Overlapping Nodes is disabled.
Whether or not nodes are allowed to overlap with edges.
Adjusting this value can lead to a variety of differing layouts. For small values the resulting layout will use a lot of space and nodes tend to be far away from each other. Values around 0.5 lead to evenly distributed nodes, whereas values near 1.0 produce highly compact layouts.
Allows to choose the algorithm that calculates natural clusters. The organic layout places nodes of the same natural cluster closely together and avoids overlapping of the drawing areas of different groups. This setting does not create group nodes.
Whether or not detected clusters are taken into account as group substructures. Note that this option only has an effect if the natural clustering algorithm is not None and the group structures scope is set to All Groups or Groups without Inter-Edges.
Determines the basic policy for the layout process. For swimlane layout this option is always equals to Layout Groups.
This setting can be used to adjust the quality versus the running time of the layout algorithm. Small values lead to short running times, while greater values result in better quality. For large graph structures (hundreds and thousands of nodes) it is advisable to begin with smaller values and to gradually increase them.
Sets the maximal duration of the layout process in seconds. If this upper bound is hit during the layout process, the quality of the layout may not be optimal. In this case increasing this value increases the likeliness of an optimal layout.
Whether or not the layout algorithm should use multi-threading to enhance the layout speed.
The algorithm can be configured such that it uses predefined layout styles for specific substructures contained in the input graph.
A cycle is a simple edge path where the first and last node are identical. The algorithm only considers cycles where the number of edges connecting nodes of the path with the remaining nodes is less or equal than two.
A chain is a simple edge path where the degree of the nodes is less or equal than 2.
A star consists of a set of degree one nodes that are all connected to the same node (called the root of the star).
A parallel structure consists of a set of nodes such that all nodes have degree two and are connected to the same pair of neighbors.
Allows to specify the desired shape of the layout for the selected nodes. Note that this feature only considers nodes that are not part of other substructures and requires at least four selected nodes.
Group substructures that lie in the specified scope are treated as substructures in the layout process, i.e., the child nodes are arranged on a compact disk that is contained in the group node.
If enabled, the arrowheads will be used to derive the direction of edges. An edge with an arrow at one end is considered to be directed. An edge without arrows or with arrows at both ends is considered to be undirected, which means that its direction is not important. The layout algorithm will use this information to determine the substructures, i.e., nodes may only be associated with the same substructure if this complies with the specified direction of the incident nodes. For example all edges of a chain or circle have to be directed in the same direction.
If this feature is disabled, all edges will be treated as undirected edges.
If enabled, the algorithm uses a grouped routing style for edges of parallel structures as well as for stars if the style is set to "Separated Radial".
If this feature is disabled, all edges are routed as straight lines.
If enabled, nodes of different type are strictly separated during the substructure detection, see Node Types.
Determines the type of the nodes. The node type affects the detection of substructures (e.g. star structures, cycles, chains). If types are defined, each substructure either consists of nodes that all have the same type or only of nodes without type. For parallel and star structures, the organic layout furthermore offers to turn off this strict separation (see Separate Node Types), with the effect that types are still considered, but only within a structure to, e.g., improve the ordering of nodes.
This option specifies the minimum distance of nodes to the border of their swimlane or table cell.
This option determines whether swimlanes and table cells may be shrinked (if possible) in the layout process.