Skip to content

Subgraphs

Subgraphs let you encapsulate groups of nodes into a single reusable module. Think of them as custom nodes that you design yourself.

What is a Subgraph?

A subgraph is a container node that holds its own internal graph. From the outside, it looks like a single node with input and output ports. Inside, it contains a full node graph.

Creating a Subgraph

  1. Select the nodes you want to encapsulate
  2. Right-click → Wrap in Subgraph
  3. The selected nodes are moved inside a new subgraph node
  4. Input/output ports are automatically created based on existing connections

Or create an empty subgraph and build from scratch:

  1. Add a Subgraph node from the Node Palette
  2. Double-click to enter the subgraph
  3. Build your internal graph

Subgraph I/O Ports

Use these special nodes inside a subgraph to define its external pins:

NodePurpose
Subgraph In (Audio)Audio input port
Subgraph Out (Audio)Audio output port
Subgraph In (MIDI)MIDI input port
Subgraph Out (MIDI)MIDI output port
Subgraph In (Data)Data input port
Subgraph Out (Data)Data output port

Each port node you add inside the subgraph creates a corresponding pin on the outside.

Editing a Subgraph

  • Double-click the subgraph node to enter it
  • Breadcrumb navigation shows your current depth
  • Click the parent breadcrumb to go back up

Saving Subgraphs

Save subgraphs as .mnsubgraph files for reuse:

  1. Right-click the subgraph → Save as Subgraph Preset
  2. Load saved subgraphs from the Node Palette or Explorer

Subgraphs are stored in ~/Music/MManufacturer/MNodes/Library/Subgraphs/.

Use Cases

  • Custom instruments:Wrap an oscillator + filter + envelope into a "Synth Voice" subgraph
  • Effect chains:Package a reverb + delay + compression chain as a single module
  • Reusable modules:Build utility blocks you use across different patches
  • Organization:Keep complex patches clean by grouping related nodes

Random Patch Generator

MNodes includes a random patch generator that can create patches automatically:

  • Tags: Tone, Drive, Motion, Transform, Space, Dynamics, Weird
  • Recipe types: FX Chain or Instrument
  • Complexity slider: Control the density of the generated patch
  • Options: Create new patch, replace subgraph, or wrap in subgraph

MNodes Documentation