---
title: init()
framework: metalperformanceshadersgraph
role: symbol
role_heading: Initializer
path: metalperformanceshadersgraph/mpsgraph/init()
---

# init()

Initialize an MPSGraph to insert nodes in.

## Declaration

```swift
init()
```
