public Link AddLinkForData( object fromnodedata, object tonodedata, IDiagramModel model )
Parameters
- fromnodedata
- the data from which the link relationship comes
- tonodedata
- the data to which the link relationship goes
- model
- the model that the node data are in, not an Northwoods.GoXam.Model.ILinksModel
Return Value
the Link for the connecting the two node data, either an existing one or a newly created one, or null if FilterLinkForData(Object,Object,IDiagramModel) returns false or if the diagram is uninitialized