# Node

Class in [Yarn](https://docs.yarnspinner.dev/api/csharp/yarn)

Inherits from `System.Object`

## Summary

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

```csharp
public class Node
```

## Fields

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

## Methods

| Name                                                                                    | Description |
| --------------------------------------------------------------------------------------- | ----------- |
| [ToString()](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.tostring) |             |

## Properties

| Name                                                                                                                                                | Description                                                                                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [ContentSaliencyConditionComplexityScore](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.contentsaliencyconditioncomplexityscore) | Gets the content saliency condition complexity score for this node.                                                                                                |
| [ContentSaliencyConditionVariables](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.contentsaliencyconditionvariables)             | 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](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.headers)                                                                 | The headers present on this node.                                                                                                                                  |
| [Instructions](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.instructions)                                                       | The list of instructions in this node.                                                                                                                             |
| [IsNodeGroupHub](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.isnodegrouphub)                                                   | Gets a value indicating whether this node is the 'hub' node for a node group.                                                                                      |
| [Name](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.name)                                                                       | The name of this node.                                                                                                                                             |
| [NodeGroup](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.nodegroup)                                                             | 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](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.tags)                                                                       | Gets the collection of tags defined for this node, if any. If no tags are defined, returns an empty collection.                                                    |
| [TrackingVariableName](https://docs.yarnspinner.dev/api/csharp/yarn/yarn.node/yarn.node.trackingvariablename)                                       | 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.                                |
