GoXam for WPF v3
LinkStraightenWeight Method
Northwoods.GoXam.Layout Namespace > LayeredDigraphLayout Class : LinkStraightenWeight Method
The function LinkStraightenWeight returns the weight of the link represented by the LayeredDigraphLink link. This weight is used by the straightening methods to give priority straightening to those links with higher weights. The default implementation gives links between two "real" nodes a weight of 1, links between a "real" node and an "artifical" node a weight of 4, and links between two "artificial" nodes a weight of 8. This function can be overridden to provide "fine-tuning" of the layout.
Syntax
protected virtual double LinkStraightenWeight( 
   LayeredDigraphEdge edge
)

Parameters

edge

Return Value

Returns the weight of the link represented by link
See Also

Reference

LayeredDigraphLayout Class
LayeredDigraphLayout Members