Base class for the Connection Routers.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
C#
public abstract class OrgTreeRouter.TreeRouterBase
Inheritance: objectOrgTreeRouter.TreeRouterBase
Derived Classes:
Constructors
C#
protected TreeRouterBase()
Properties
Gets or sets the connection.
C#
protected IConnection Connection { get; set; }
Gets or sets the connection spacing.
C#
protected double ConnectionSpacing { get; set; }
Gets the source inflated rectangle.
C#
protected Rect SourceInflatedRect { get; }
Gets the target inflated rectangle.
C#
protected Rect TargetInflatedRect { get; }
Methods
Gets the first near point from the inflated rectangle (closest ortogonal projection).
C#
protected Point GetFirstNearPoint(Rect inflatedRect, IConnector connector)
The inflated rectangle.
connectorIConnectorThe connector.
Returns:Gets the route.
C#
public IList<Point> GetRoute(IConnection connection, double connectionSpacing)
The connection.
connectionSpacingdoubleThe connection spacing.
Returns:IList<Point>
Gets the route points.
Gets the points between source and target point lying on a given rectangle.
Sets the connectors when shapes overlap.
C#
protected void SetConnectorsWhenShapesOverlap()
Sets the source and target connectors.
C#
protected abstract void SetSourceAndTargetConnectors()