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.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public bool EvaluateFarPoints { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property EvaluateFarPoints As Boolean |
true to evaluate more distant pairs of node sides, or false otherwise. The default value is false.
RemarksBy default, GridRouter evaluates paths only between the closest pair of node sides or anchor points, minimizing the total LengthCost but potentially increasing the overall cost when other factors are considered (number of bends, crossings costs, etc). Set this property to true to include longer paths when evaluating the total cost. Note that enabling this property increases processing time.
As of version 4.4.1 of the library, this property is also considered by PatternRouter. If enabled, the router considers a larger set of patterns that connect all combinations of node sides or anchor points.
See Also