> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/api/runtime/nodecontentattribute.md).

# NodeContentAttribute

Type description and basic instructions.

### Description

To create custom nodes in editor you should add Node Content attribute to your custom node class.

This attribute has some parameters that you should specify.

#### Parameters

| Name     | Description                                                                                  |
| -------- | -------------------------------------------------------------------------------------------- |
| name     | Default node name that is displayed after you create this node in the editor                 |
| path     | Path that you should follow to find this node when you open "Create Node" menu in the editor |
| IconPath | Path that you should follow to find your node icon.                                          |

### Example

<pre class="language-csharp" data-full-width="false"><code class="lang-csharp">[NodeContent(name:"Example", path:"Tasks/Example/Example", IconPath = "Images/Icons/Node/Example.png")]
public class ExampleTaskNode : TaskNode
{
    ...
<strong>}
</strong></code></pre>

{% hint style="info" %}
IconPath is relative to "Assets/RenownedGames/ai-tree/Core/Editor/EditorResources"&#x20;
{% endhint %}
