# GH_GraftMode enum

Namespace: [Grasshopper.Kernel.Data](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.data.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[Flags]
public enum GH_GraftMode
```

Enumerates all predefined grafting modes.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Don't include null items or empty lists. |
| GraftNullItems | 1 | Null items are included in the grafted tree. |
| GraftEmptyLists | 2 | Empty lists are included in the grafted tree. |
| GraftAll | 3 | Null items and empty lists are both included in the grafted tree. |
