GoXam for WPF v3
AddLink Method (GenericNetwork<V,E,Y>)
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
View with Navigation Tools
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
C#
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