Skip to main content

DiagramControl.ConnectorsSeparationMode Property

Specifies whether to automatically split the overlapping right-angle connectors. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramConnectorsSeparationMode ConnectorsSeparationMode { get; set; }

Property Value

Type Description
DiagramConnectorsSeparationMode

A DevExpress.Diagram.Core.DiagramConnectorsSeparationMode enumeration value.

Available values:

Name Description
NoLines

Right-angle connectors can be overlapped.

AllLines

Overlapping right-angle connectors are automatically split.

Remarks

The default value of the ConnectorsSeparationMode property is NoLines. Multiple right-angle connectors that originate from the same point can overlap so it’s not clear which shapes are connected. To resolve the issue, set the ConnectorsSeparationMode property to AllLines to automatically split connectors.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ConnectorsSeparationMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also