GoXam for WPF v3
RemoveLink Method (IDiagramModel)
Northwoods.GoXam.Model Namespace > IDiagramModel Interface : RemoveLink Method
a node key identifying the node data from which the link comes
an optional value identifying which port on the "from" node the link is connected to
a node key identify the node data to which the link goes
an optional value identifying which port on the "to" node the link is connected to
Remove all links connecting the two nodes/ports in the one direction.
Syntax

Parameters

fromdata
a node key identifying the node data from which the link comes
fromparam
an optional value identifying which port on the "from" node the link is connected to
todata
a node key identify the node data to which the link goes
toparam
an optional value identifying which port on the "to" node the link is connected to
Remarks

This method can have potential side-effects, such as removing nodes that are labels on the link.

Note that this method is universal, because it can only assume the node data is of type System.Object. The corresponding methods in the generic model classes operate on a specific node data type.

See Also

Reference

IDiagramModel Interface
IDiagramModel Members