Search
FractalLayout Class
Remarks See Also
 






A tree layout algorithm that places child nodes symmetrically around their parent node.

Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class FractalLayout : Layout

Visual Basic  Copy Code

Public Class FractalLayout
    Inherits Layout

 Remarks

Nodes at the lowest level are arranged directly in a circle around their parent. At the upper level, the already arranged nodes form branches that are arranged in a circle around the new parent node. The algorithm is recursively repeated till the highest level is reached. If nodes in the tree have uniform number of children, the end result has fractal-like appearance (subsets of the graph look like scaled-down copies of the whole graph).

You can choose which node should be displayed at the center of the topmost circle by setting the Root property. If it is not specified, the algorithm automatically selects a root that leads to more balanced distribution of nodes.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Layout.Layout
        MindFusion.Diagramming.Layout.FractalLayout

 See Also