---
title: ElementGrouping
framework: Compute Graph
role: symbol
role_heading: Enumeration
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/elementgrouping
---

# ElementGrouping

An enumeration of how elements are grouped.

## Declaration

```swift
enum ElementGrouping
```

## Topics

### Enumeration Cases

- [ElementGrouping.grouped](computegraph/elementgrouping/grouped.md)
- [ElementGrouping.strips](computegraph/elementgrouping/strips.md)
- [ElementGrouping.ungrouped](computegraph/elementgrouping/ungrouped.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Elements and particles

- [ElementSpawnParameters](computegraph/elementspawnparameters.md)
- [Sorting](computegraph/sorting.md)
