GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoToolLinking Class / CreateTemporaryLink Method
In This Topic
    CreateTemporaryLink Method
    In This Topic
    This is responsible for creating a temporary link when the user is drawing a new link.
    Syntax
    protected virtual IGoLink CreateTemporaryLink( 
       IGoPort fromPort,
       IGoPort toPort
    )

    Parameters

    fromPort
    toPort

    Return Value

    a IGoLink in the view
    Remarks
    By default this just creates a copy of the GoView.GoView.NewLinkPrototype using fromPort and toPort as the ends of the link. The temporary link has its GoLink.AdjustingStyle set to GoLinkAdjustingStyle.Calculate. The temporary link is added to the default layer of the view, but unlike temporary ports, is visible.
    See Also