Class
OrgTreeRouter.DirectionalRouter

This router routes the connections when the shape layout is TreeDown, TreeUp, TreeLeft or TreeRight.

Definition

Constructors

DirectionalRouter(DirectionalRoutingSettings)

Initializes a new instance of the OrgTreeRouter.DirectionalRouter class.

Declaration

cs-api-definition
public DirectionalRouter(OrgTreeRouter.DirectionalRoutingSettings settings)

Parameters

settings

OrgTreeRouter.DirectionalRoutingSettings

The settings.

Methods

GetRoutePoints()

Gets the route points.

Declaration

cs-api-definition
protected override IList<Point> GetRoutePoints()

Returns

IList<Point>

Overrides OrgTreeRouter.TreeRouterBase.GetRoutePoints()

GetRouterSpecificRectHorizontalPoints(bool, Rect)

Gets the router specific rectangle horizontal points.

Declaration

cs-api-definition
protected override IList<Point> GetRouterSpecificRectHorizontalPoints(bool clockwise, Rect rectangle)

Parameters

clockwise

bool

If set to false returns the reversed list.

rectangle

Rect

The rectangle.

Returns

IList<Point>

Overrides OrgTreeRouter.TreeRouterBase.GetRouterSpecificRectHorizontalPoints(bool, Rect)

GetRouterSpecificRectVerticalPoints(bool, Rect)

Gets the router specific rectangle vertical points.

Declaration

cs-api-definition
protected override IList<Point> GetRouterSpecificRectVerticalPoints(bool clockwise, Rect rectangle)

Parameters

clockwise

bool

If set to false returns the reversed list.

rectangle

Rect

The rectangle.

Returns

IList<Point>

Overrides OrgTreeRouter.TreeRouterBase.GetRouterSpecificRectVerticalPoints(bool, Rect)

SetSourceAndTargetConnectors()

Sets the source and target connectors.

Declaration

cs-api-definition
protected override void SetSourceAndTargetConnectors()

Overrides OrgTreeRouter.TreeRouterBase.SetSourceAndTargetConnectors()