Gets or sets the minimum distance between nodes and connection segments. This is a dependency property.

Namespace:  Mindscape.WpfDiagramming
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public double CollisionBuffer { get; set; }
Visual Basic (Declaration)
Public Property CollisionBuffer As Double

Remarks

Dependency Property Information
Identifier fieldCollisionBufferProperty
Metadata properties set to trueNone

It is advised that this value is not set to be negative.

Note that when using a horizontal or/and vertical ISnapSpecifier, the snap specifiers will be used after collision detection is performed which may negate the effect of the buffer value. Generally, the buffer should be set to be some factor of the distance between snap lines.

See Also