Northwoods.GoWPF 2.2.4 Assembly
IsRelinkValid Method (ILinksModel)

a node key identifying the node data from which the new link would come
an optional value identifying which port on the "from" node the link would be connected to
a node key identify the node data to which the new link would go
an optional value identifying which port on the "to" node the link would be connected to
an existing link that would be deleted
This predicate is true if changing an existing link between two nodes/ports would result in a valid graph
Syntax
Function IsRelinkValid( _
   ByVal newfromdata As Object, _
   ByVal newfromparam As Object, _
   ByVal newtodata As Object, _
   ByVal newtoparam As Object, _
   ByVal oldlinkdata As Object _
) As Boolean
bool IsRelinkValid( 
   object newfromdata,
   object newfromparam,
   object newtodata,
   object newtoparam,
   object oldlinkdata
)

Parameters

newfromdata
a node key identifying the node data from which the new link would come
newfromparam
an optional value identifying which port on the "from" node the link would be connected to
newtodata
a node key identify the node data to which the new link would go
newtoparam
an optional value identifying which port on the "to" node the link would be connected to
oldlinkdata
an existing link that would be deleted
Requirements
See Also

Reference

ILinksModel Interface
ILinksModel Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback