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 | |
|---|---|---|
![]() |
Initializes a new instance of the GridRouter class. |
Public Properties| Name | Description | |
|---|---|---|
![]() |
Gets or sets a value indicating whether to avoid overlapping links. (Inherited from Router.) |
|
![]() |
Gets or sets a value added to the total cost of a route which causes a link to cross another link. |
|
![]() |
Gets or sets the size of the pieces of the routing grid. |
|
![]() |
Gets or sets a value added to the total cost of a route for each piece of the routing grid occupied by the route. |
|
![]() |
Gets or sets a value added to the total cost of a route if the route passes too close to a node. |
|
![]() |
Gets or sets the size of buffer zone around nodes for which routes get a penalty cost if they pass through it. |
|
![]() |
Gets or sets a value added to the total cost of a route if the route passes too close to a node. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Called when a single link must be routed. (Inherited from Router.) |
|
![]() |
Calculates actual route and returns it as an array of points. (Inherited from Router.) |
|
![]() |
Called when more than one link must be routed. (Inherited from Router.) |
See Also