> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node.md).

# Node

Class in [Yarn](/api/csharp/yarn.md)

Inherits from `System.Object`

## Summary

A node of Yarn script, contained within a [Program](/api/csharp/yarn/yarn.program.md) , and containing `Yarn.Instruction` s.

```csharp
public class Node
```

## Fields

| Name                                                                       | Description                                                               |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [NodeGroupHeader](/api/csharp/yarn/yarn.node/yarn.node.nodegroupheader.md) | The name of the header that indicates which node group a node belongs to. |

## Methods

| Name                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [ToString()](/api/csharp/yarn/yarn.node/yarn.node.tostring.md) |             |

## Properties

| Name                                                                                                                       | Description                                                                                                                                                        |
| -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [ContentSaliencyConditionComplexityScore](/api/csharp/yarn/yarn.node/yarn.node.contentsaliencyconditioncomplexityscore.md) | Gets the content saliency condition complexity score for this node.                                                                                                |
| [ContentSaliencyConditionVariables](/api/csharp/yarn/yarn.node/yarn.node.contentsaliencyconditionvariables.md)             | Gets an enumerable containing the names of variables that must be evaluated in order to determine whether this node can be selected as a piece of salient content. |
| [Headers](/api/csharp/yarn/yarn.node/yarn.node.headers.md)                                                                 | The headers present on this node.                                                                                                                                  |
| [Instructions](/api/csharp/yarn/yarn.node/yarn.node.instructions.md)                                                       | The list of instructions in this node.                                                                                                                             |
| [IsNodeGroupHub](/api/csharp/yarn/yarn.node/yarn.node.isnodegrouphub.md)                                                   | Gets a value indicating whether this node is the 'hub' node for a node group.                                                                                      |
| [Name](/api/csharp/yarn/yarn.node/yarn.node.name.md)                                                                       | The name of this node.                                                                                                                                             |
| [NodeGroup](/api/csharp/yarn/yarn.node/yarn.node.nodegroup.md)                                                             | Gets the name of the node group that this node is a part of, or `null` if it is not part of a node group.                                                          |
| [Tags](/api/csharp/yarn/yarn.node/yarn.node.tags.md)                                                                       | Gets the collection of tags defined for this node, if any. If no tags are defined, returns an empty collection.                                                    |
| [TrackingVariableName](/api/csharp/yarn/yarn.node/yarn.node.trackingvariablename.md)                                       | Gets the name of the variable used for tracking the number of times this node has completed, or `null` if this node is not tracked.                                |
