Click or drag to resize

graphToolsRetreatToParent Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
If the graph target has parent, it will move to its level (one level closer to the root)

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

Parameters

target
Type: imbSCI.Data.collection.graphIGraphNode
The graph that is moving
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