

This is the base class for nodes and params, which are part of the same graph, and are connected to dependencies.






## Methods



### name
``` typescript
.name(): string
```
returns the name





### scene
``` typescript
.scene(): PolyScene
```
returns the scene





### graphNodeId
``` typescript
.graphNodeId(): CoreGraphNodeId
```
returns the id, which is unique for the scene





### setDirty
``` typescript
.setDirty(trigger?: CoreGraphNode | null): void
```
makes the graphNode dirty, which in turns makes its dependencies dirty





### setSuccessorsDirty
``` typescript
.setSuccessorsDirty(trigger?: CoreGraphNode): void
```
makes dependencies dirty





### removeDirtyState
``` typescript
.removeDirtyState(): void
```
removes the dirty state





### addPostDirtyHook
``` typescript
.addPostDirtyHook(name: string, callback: PostDirtyHook): void
```
adds a callback that gets run when the graphNode is dirty




