Class RoutingService
Service handling the routing of the connections.
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public class RoutingService : GraphServiceBase, IRoutingService
Constructors
RoutingService(IGraphInternal)
Initializes a new instance of the RoutingService class.
Declaration
public RoutingService(IGraphInternal graph)
Parameters
IGraphInternal
graph
The graph. |
Properties
AutoUpdate
Gets or sets the auto update property.
Declaration
public bool AutoUpdate { get; set; }
Property Value
System.Boolean
|
Implements
FreeRouter
Gets or sets the floating connection router.
Declaration
public IRouter FreeRouter { get; set; }
Property Value
IRouter
|
Implements
ReflexiveRouter
Gets or sets the reflexive router.
Declaration
public IRouter ReflexiveRouter { get; set; }
Property Value
IRouter
The reflexive router. |
Implements
Router
Gets or sets the connection router.
Declaration
public IRouter Router { get; set; }
Property Value
IRouter
|
Implements
Methods
AutoUpdateConnections(IShape)
Automatically updates the connections.
Declaration
public virtual void AutoUpdateConnections(IShape shape)
Parameters
IShape
shape
The shape which bound's have changed. |
Implements
FindExtendedRoute(IConnection)
Creates the connection route.
Declaration
public virtual ConnectionRoute FindExtendedRoute(IConnection connection)
Parameters
IConnection
connection
The connection which should be routed. |
Returns
ConnectionRoute
A list of intermediate points defining the route and the start and end connectors. |
Implements
Remarks
FindRoute(IConnection)
Creates the connection route.
Declaration
public virtual IList<Point> FindRoute(IConnection connection)
Parameters
IConnection
connection
The connection which should be routed. |
Returns
System.Collections.Generic.IList<Point>
A list of intermediate points defining the route. |