# Nodes class

Namespace: [Grasshopper2.Types.Graphs](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.graphs.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[IoId("00000000-9d4e-44f0-a646-0c68486e099f")]
public sealed class Nodes : IStorable, IEquatable<Nodes>
```

Maintains an immutable list of [Node](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.node.md) instances and associated attributes.

## Constructors

- [Nodes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/ctor.md): (2 overloads)

## Properties

- [Backwards](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/backwards.md): Enumerate over all nodes in a backwards fashion.
- [BackwardsWithAttributes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/backwardswithattributes.md): Enumerate over all nodes in a backwards fashion.
- [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/bounds.md): Gets the bounds of this node collection. The bounds are computed lazily and then cached.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/count.md): Gets the number of nodes in this collection.
- [Forwards](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/forwards.md): Enumerate over all nodes in a forwards fashion.
- [ForwardsWithAttributes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/forwardswithattributes.md): Enumerate over all nodes in a forwards fashion.

## Indexers

- [this[]](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/item.md): (2 overloads) Gets the node and its attributes at the given index.

## Methods

- [Attributes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/attributes.md): Gets the attributes associated with the given index. Note; the index here does NOT represent the node, but the attributes.
- [Clean](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/clean.md): Cleanup this list of nodes. This involves removing unused attributes and merging identical attributes.
- [Deform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/deform.md): Transform all the nodes.
- [Equals](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/equals.md): (2 overloads)
- [GetHashCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/gethashcode.md)
- [Merge](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/merge.md): (static) Merge two node arrays.
- [Store](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/store.md)
- [ToPointArray](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/topointarray.md): Create a oint3d array out of all nodes.
- [Transform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/transform.md): Transform all the nodes.
- [WithoutAttributes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.graphs.nodes/withoutattributes.md): Remove all attributes from this node list.
