# INodeExtensions

> Provides extension methods related to nodes and ports in a graph.

## Definition

* **Type:** Class
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.7/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

```csharp
public static class INodeExtensions
```

## Remarks

This static class defines utility methods that simplify interactions between graph components, such as retrieving the [INode](/engine/6000.7/script-reference/unity/graphtoolkit/editor/inode.md) associated with a given [IPort](/engine/6000.7/script-reference/unity/graphtoolkit/editor/iport.md).

## Static Methods

| Method                                                                                          | Description                                                                                                             |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| [GetNode](/engine/6000.7/script-reference/unity/graphtoolkit/editor/inodeextensions/getnode.md) | Retrieves the [INode](/engine/6000.7/script-reference/unity/graphtoolkit/editor/inode.md) that owns the specified port. |
