GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutLayeredDigraph Class / LinkLengthWeight Method
In This Topic
    LinkLengthWeight Method
    In This Topic
    The function LinkLengthWeight returns the weight of the link represented by the GoLayoutLayeredDigraphLink link. This weight is used by OptimalLinkLengthLayering to minimize weighted link lengths. The default implementation gives all links a length weight of 1. This function can be overridden to provide "fine-tuning" of the layout.
    Syntax
    protected virtual float LinkLengthWeight( 
       GoLayoutLayeredDigraphLink link
    )

    Parameters

    link

    Return Value

    Returns the weight of the link represented by link
    See Also