MindFusion.Wpf Pack Programmer's Guide
Diagram.Compact Method
See Also
 





Moves nodes as far as possible to the top or left sides of diagram without changing their initial relative positions.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public void Compact (
    Orientation orientation,
    double padding,
    bool minimizeLinkLength
)

Visual Basic  Copy Code

Public Sub Compact( _
    orientation As Orientation, _
    padding As Double, _
    minimizeLinkLength As Boolean _
)

 Parameters

orientation

Specifies horizontal or vertical layout.

padding

How much space to leave between adjacent nodes.

minimizeLinkLength

true to try to minimize link lengths between layers at the cost of a less compact layout.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace