Click or drag to resize

IGraphModelArrayGroupBy Method

Groups the array alongside the values in the given member. The array must be of node or edge type, i.e. of a graph element type of this model object.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
IList ArrayGroupBy(
	IList array,
	string member
)

Parameters

array
Type: System.CollectionsIList
The array to group
member
Type: SystemString
The member to group by

Return Value

Type: IList
The array grouped by the member or null if the array was not processed because the array did not contain one of the known nodes/edges or the member attribute was not known.
See Also