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