New to Telerik UI for WinFormsStart a free 30-day trial

API for the Diagram Routing Service.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public interface IRoutingService

Derived Classes: RoutingService

Properties

Gets or sets the auto update property.

C#
bool AutoUpdate { get; set; }

Gets or sets the floating connection router.

C#
IRouter FreeRouter { get; set; }

Gets or sets the reflexive router.

C#
IRouter ReflexiveRouter { get; set; }
Property Value:

The reflexive router.

Gets or sets the connection router.

C#
IRouter Router { get; set; }

Methods

Automatically updates the connections.

C#
void AutoUpdateConnections(IShape shape)
Parameters:shapeIShape

The shape which bound's have changed.

Builds the route with the start and end connectors.

C#
ConnectionRoute FindExtendedRoute(IConnection connection)
Parameters:connectionIConnection

The connection.

Returns:

ConnectionRoute

Builds the route.

C#
IList<Point> FindRoute(IConnection connection)
Parameters:connectionIConnection

The connection.

Returns:

IList<Point>