Search
LayeredLayout.LinksCompactFactor Property
See Also
 





Gets or sets a value indicating how much to compact the outermost links.

Namespace: MindFusion.Diagramming.Layout
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public float LinksCompactFactor { get; set; }

Visual Basic  Copy Code

Public Property LinksCompactFactor As Single

 Property Value

A float number in the interval [0, 1]. The default is 1.

 Remarks

Links and nodes on the same graph layer are distributed uniformly as specified via the NodeDistance value. However, if there are more than 2-3 outermost links on a layer, they usually take up too much space without improving the visual quality of the diagram layout. This property allows compacting such links to save space. The factor specifies roughly a fraction of NodeDistance to leave between outer links.

 See Also