Gets or sets a layout that should be applied globally to the graph.
Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Layout MasterLayout { get; set; } |
Visual Basic Copy Code |
---|
Public Property MasterLayout As Layout |
An instance of Layout-derived class. The default is AnnealLayout.
Each subset in the layout partition is considered a node in a graph representing the diagram. MasterLayout is used to arrange that graph, while SubgraphLayout and SubtreeLayout are applied on the partition subsets. Since in the general case subsets will occupy areas of varying size, MasterLayout should be set to an instance of a layout class that can handle nodes of non-uniform dimensions.