Interface
IRoutingService

API for the Diagram Routing Service.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface IRoutingService

Properties

AutoUpdate

Gets or sets the auto update property.

Declaration

cs-api-definition
bool AutoUpdate { get; set; }

Property Value

bool

FreeRouter

Gets or sets the floating connection router.

Declaration

cs-api-definition
IRouter FreeRouter { get; set; }

Property Value

IRouter

ReflexiveRouter

Gets or sets the reflexive router.

Declaration

cs-api-definition
IRouter ReflexiveRouter { get; set; }

Property Value

IRouter

The reflexive router.

Router

Gets or sets the connection router.

Declaration

cs-api-definition
IRouter Router { get; set; }

Property Value

IRouter

Methods

AutoUpdateConnections(IShape)

Automatically updates the connections.

Declaration

cs-api-definition
void AutoUpdateConnections(IShape shape)

Parameters

shape

IShape

The shape which bound's have changed.

FindExtendedRoute(IConnection)

Builds the route with the start and end connectors.

Declaration

cs-api-definition
ConnectionRoute FindExtendedRoute(IConnection connection)

Parameters

connection

IConnection

The connection.

Returns

ConnectionRoute

FindRoute(IConnection)

Builds the route.

Declaration

cs-api-definition
IList<Point> FindRoute(IConnection connection)

Parameters

connection

IConnection

The connection.

Returns

IList<Point>