GoDiagram is currently in beta -- See here for details, or contact us if you have questions or feedback.

Class TreeMapLayout

GoDiagram
v10.0.0-beta3
by Northwoods Software®

A custom Layout that lays out hierarchical data using nested rectangles.

Inheritance
System.Object
TreeMapLayout
Namespace: Northwoods.Go.Layouts.Extensions
Assembly: TreeMapWinForms.dll
Syntax
public class TreeMapLayout : Layout

Constructors

TreeMapLayout()

Create a TreeMap layout.

Declaration
public TreeMapLayout()

Properties

IsTopLayerHorizontal

Gets or sets whether top level Parts are laid out horizontally.

Declaration
public bool IsTopLayerHorizontal { get; set; }
Property Value
Type Description
System.Boolean

Methods

DoLayout(IEnumerable<Part>)

This method positions all of the nodes by determining total area and then recursively tiling nodes from the top-level down.

Declaration
public override void DoLayout(IEnumerable<Part> coll = null)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Part> coll
Overrides