ASP.NET Pack Programmer's Guide
GridRouter Members
Constructors Methods
 


Implements a link routing algorithm that uses a grid to represent the free and occupied regions in the diagram.

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

 Public Constructors

  Name Description

GridRouter

Initializes a new instance of the GridRouter class.

 Public Methods

  Name Description

getCrossingCost

Gets a value added to the total cost of a route which causes a link to cross another link.

getGridSize

Gets the size of the pieces of the routing grid.

getLengthCost

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

getNodeVicinityCost

Gets a value added to the total cost of a route if the route passes too close to a node.

getNodeVicinitySize

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

getTurnCost

Gets a value added to the total cost of a route if the route passes too close to a node.

setCrossingCost

Sets a value added to the total cost of a route which causes a link to cross another link.

setGridSize

Sets the size of the pieces of the routing grid.

setLengthCost

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

setNodeVicinityCost

Sets a value added to the total cost of a route if the route passes too close to a node.

setNodeVicinitySize

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

setTurnCost

Sets a value added to the total cost of a route if the route passes too close to a node.

 See Also

GridRouter Class
MindFusion.Diagramming Namespace