Click or drag to resize

graphToolsMergeWith Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Graph node graphToMerge transfers all child nodes to graphToMergeWith and disconnects from its parent

Namespace:  imbSCI.Data.collection.graph
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static IGraphNode MergeWith(
	this IGraphNode graphToMerge,
	IGraphNode graphToMergeWith,
	graphOperationFlag flags = graphOperationFlag.mergeOnSameName
)
Request Example View Source

Parameters

graphToMerge
Type: imbSCI.Data.collection.graphIGraphNode
The graph to merge.
graphToMergeWith
Type: imbSCI.Data.collection.graphIGraphNode
The graph to merge with.
flags (Optional)
Type: imbSCI.Data.collection.graphgraphOperationFlag
The operation flags

Return Value

Type: IGraphNode

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IGraphNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also