Click or drag to resize

mxGraphFindTreeRoots Method (Object, Boolean, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.

Namespace:  imbSCI.Graph.MXGraph.view
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public List<Object> FindTreeRoots(
	Object parent,
	bool isolate,
	bool invert
)
Request Example View Source

Parameters

parent
Type: SystemObject
Cell whose children should be checked.
isolate
Type: SystemBoolean
Specifies if edges should be ignored if the opposite end is not a child of the given parent cell.
invert
Type: SystemBoolean
Specifies if outgoing or incoming edges should be counted for a tree root. If false then outgoing edges will be counted.

Return Value

Type: ListObject
Array of tree roots in parent.
See Also