Search
RoutingOptions Members
Properties Methods
 


Allows customization of various aspects of the link routing algorithm.

The following tables list the members exposed by the RoutingOptions type.

 Public Properties

  Name Description

Anchoring

Gets or sets a value indicating whether to align link ends to the anchor points of nodes.

AvoidOverlaps

Gets or sets whether link segments should be pulled apart when they overlap in initially found routes.

CrossingCost

Gets or sets a value added to the total cost of a route if it causes a link to cross another link.

Distance

Gets a heuristic delegate function that returns the real distance sqrt(dx^2 + dy^2) between two pieces of the routing grid.

DistSquare

Gets a heuristic delegate function that returns the square distance dx^2 + dy^2 as a cost evaluation of the distance between two pieces of the routing grid.

DontOptimizeLongRoutes

Gets or sets a value indicating whether long routes don't have their number of segments minimized in order to save up processing time.

EndOrientation

Gets or sets the desired orientation of the last segments of routed links.

EvaluateFarPoints

Gets or sets a value indicating whether the router should evaluate paths between all sides of conencted nodes to find ones with lower overall cost.

GridSize

Gets or sets the size of the pieces of the routing grid.

LengthCost

Gets or sets a value added to the total cost of a route for each piece of the routing grid occupied by the route.

MaxAbs

Gets a heuristic delegate function that returns max(dx, dy) as a cost evaluation of the distance between two pieces of the routing grid.

NodeVicinityCost

Gets or sets the size of a buffer zone around a node for which routes get a penalty cost if they pass through it.

NodeVicinitySize

Gets or sets the size of a buffer zone around a node in which routes get a penalty cost if they pass through it.

PolylineRouting

Gets or sets a value indicating whether the segments of Polyline links should be oriented orthogonally to node's borders and each other.

RouteHeuristics

Gets or sets a heuristic function used to evaluate the distance between two pieces of the routing grid.

StartOrientation

Gets or sets the desired orientation of the first segments of routed links.

TriggerRerouting

Gets or sets a value indicating under what circumstances links are rerouted automatically.

TurnCost

Gets or sets a value added to the total cost of a route if it makes a turn.

 Public Methods

  Name Description

SetDefaultMode

Resets all routing properties to their default values.

SetMinSegmentsMode

Assigns to the routing properties a predefined set of values which allow finding paths that have a small number of segments.

SetQuickMode

Assigns to the routing properties a predefined set of values which allow finding paths quickly but the found paths are of low quality.

 See Also