# TreeSimilarity enum

Namespace: [Grasshopper2.Data](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.data.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum TreeSimilarity
```

Enumerates the possible similarity types between two data trees.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Distinct | 0 | Trees are completely different. |
| Paths | 1 | Trees have the same paths, but different twig lengths. |
| PathsTwigs | 2 | Trees have the same path and twig lengths, but different items. |
| PathsTwigsItems | 3 | Trees have the same paths and twig lengths and also the same items. |
| PathsTwigsItemsMeta | 4 | Trees have the same paths and twig lengths and also the same items with the same meta data. |
