# Node class

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

```cs
public sealed class Node
```

A node in a constraint system.

## Fields

- [Error](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/error.md)
- [Id](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/id.md)
- [Location](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/location.md)
- [OriginId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/originid.md): (static)
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/type.md)

## Properties

- [CanMove](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/canmove.md): Gets whether this node can move.
- [IsFixed](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/isfixed.md): Gets whether this point is fixed during solutions. This is just the opposite of CanMove.
- [IsValid](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/isvalid.md): Gets whether this node is valid. Valid nodes have valid numerical coordinates.
- [Origin](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/origin.md): (static) Create the origin node.
- [Unset](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/unset.md): (static) Gets an unset node.

## Methods

- [CreateFixed](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/createfixed.md): (static) Create a fixed node.
- [CreateFree](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/createfree.md): (static) Create a free node.
- [Distance](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/distance.md): Compute the distance to another coordinate.
- [Quadrance](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/quadrance.md): Compute the quadrance (i.e. distance-squared) to another coordinate.
- [WithLocation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/withlocation.md): Move this node in space to a new location. Be careful when modifying fixed nodes, it is not always desired.
- [WithType](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/withtype.md): Change the type of this node.

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.constraints.node/op-implicit.md): (static) Auto-convert a node to its ID.
