PackMark<T> Class

Draws a tree as packed circles (PackLayout): each leaf is a circle whose area is proportional to its value, inside the circles of its ancestors.

public sealed class PackMark<T> : HierarchyMark<T>

Type parameters

T
The type of the data of the nodes.
Inheritance
HierarchyMark<T> PackMark<T>

Constructors

NameDescription
PackMark(HierarchyNode<T>)Initializes a new instance of the PackMark<T> class.

PackMark(HierarchyNode<T>)

PackMark.cs

Initializes a new instance of the PackMark<T> class.

public PackMark(HierarchyNode<T> root)

Parameters

root HierarchyNode<T>
The root of the tree. Its values must be computed (HierarchyNode<T>.Sum).

Properties

NameDescription
PaddingGets or sets the space between sibling circles, and between a parent and its children. The default is 3.

Gets or sets the space between sibling circles, and between a parent and its children. The default is 3.

public double Padding { get; set; }

Property value

double