> For the complete documentation index, see [llms.txt](https://giantgrey.gitbook.io/flowreactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://giantgrey.gitbook.io/flowreactor/in-depth/node-attributes.md).

# Node Attributes

You can decorate your node class with custom node attributes.

### NodeAttributes

Default node attributes, must be defined for every node class

```csharp
[NodeAttributes("Title", "Category/SubCategory", "Description", new string["Output1", "ouput2"], NodeAttributes.NodeType.Action]
```

### NodeRequiredComponent

Defines a component which is required for this node to work. The required component will then be displayed in the Graph editor. When enabled, the required component will then be added automatically to the FlowReactor component game object when assigning the graph.

```csharp
[NodeRequiredComponent(typeof(Rigidbody)]
```

### NodeColor

Set a custom color for the node. Set a hex color code (#FFFFFF) or a color ID defined in the FlowReactor settings.

```csharp
[NodeColor("#FFFFFF")]
```

### NodeIcon

Set an icon for the node. Can be either an icon name from **FlowReactor / Core / Res / {Theme} / Icons**. Or can be defined with a custom path like.

```csharp
// Icon from FlowReactor Icon folder
[NodeIcon("startIcon")]
// Icon from custom path
[NodeIcon("Assets/MyNodes/Icons/icon.png")]
```

### NodeHideOutput

By default, every node has one output. You can hide this output by using this attribute

```csharp
[NodeHideOutput]
```

### NodeHideInput

Hide the input on a node (like event nodes)

```csharp
[NodeHideInput]
```

### NodeSearchKeywords

Add additonal keywords which can be used for searching this node when creating it.

```csharp
[NodeSearchKeywords("AI", "Movement")]
```

### NodeSize

Define the default node size

```csharp
[NodeSize(200, 100)]
```

### NodeShowDefaultInspector

By default the node inspector does not show the default Unity inspector values. If you want to show other values then FRVariables please use this attribute.

```csharp
[NodeShowDefaultInspector]
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://giantgrey.gitbook.io/flowreactor/in-depth/node-attributes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
