GoXam for WPF v3
AddLink Method (GenericNetwork<V,E,Y>)
Northwoods.GoXam.Layout Namespace > GenericNetwork<V,E,Y> Class : AddLink Method
a Northwoods.GoXam.Link
This convenience method takes a Northwoods.GoXam.Link, and returns an GenericNetwork.Edge<V,E,Y> that has been added to this network.
Syntax
public E AddLink( 
   Link link
)

Parameters

link
a Northwoods.GoXam.Link

Return Value

an GenericNetwork.Edge<V,E,Y> in this network
Remarks
If FindEdge returns null, this method creates a new GenericNetwork.Edge<V,E,Y>, makes sure the Northwoods.GoXam.Link.FromNode and ToNode have corresponding GenericNetwork.Vertex<V,E,Y>es in the network, and adds the edge itself to the network.
See Also

Reference

GenericNetwork<V,E,Y> Class
GenericNetwork<V,E,Y> Members