Studio Yotsuba
Back to Node List

Multi Path

multi_path_editor

Multi-layer bezier path editor. Each layer is an independent sub-path. Outputs combined path and individual layers via pin promotion.

Reviewed
Guide available

Output Ports

NameTypeDescription
Path
path
Path
Combined path from all visible layers

Parameters

NameTypeDefaultRangeDescription / Options
Width
width
Int
641–1024

Canvas width in pixels

Height
height
Int
641–1024

Canvas height in pixels

Path Data
path_data
CustomData
——

Multi-path JSON data (managed by editor)

Layers
layer_count
Int
00–32

Number of layers (auto-managed by editor)

Layer 1
layer_1
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #1 (outputs as Path)

Layer 2
layer_2
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #2 (outputs as Path)

Layer 3
layer_3
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #3 (outputs as Path)

Layer 4
layer_4
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #4 (outputs as Path)

Layer 5
layer_5
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #5 (outputs as Path)

Layer 6
layer_6
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #6 (outputs as Path)

Layer 7
layer_7
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #7 (outputs as Path)

Layer 8
layer_8
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #8 (outputs as Path)

Layer 9
layer_9
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #9 (outputs as Path)

Layer 10
layer_10
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #10 (outputs as Path)

Layer 11
layer_11
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #11 (outputs as Path)

Layer 12
layer_12
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #12 (outputs as Path)

Layer 13
layer_13
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #13 (outputs as Path)

Layer 14
layer_14
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #14 (outputs as Path)

Layer 15
layer_15
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #15 (outputs as Path)

Layer 16
layer_16
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #16 (outputs as Path)

Layer 17
layer_17
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #17 (outputs as Path)

Layer 18
layer_18
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #18 (outputs as Path)

Layer 19
layer_19
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #19 (outputs as Path)

Layer 20
layer_20
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #20 (outputs as Path)

Layer 21
layer_21
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #21 (outputs as Path)

Layer 22
layer_22
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #22 (outputs as Path)

Layer 23
layer_23
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #23 (outputs as Path)

Layer 24
layer_24
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #24 (outputs as Path)

Layer 25
layer_25
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #25 (outputs as Path)

Layer 26
layer_26
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #26 (outputs as Path)

Layer 27
layer_27
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #27 (outputs as Path)

Layer 28
layer_28
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #28 (outputs as Path)

Layer 29
layer_29
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #29 (outputs as Path)

Layer 30
layer_30
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #30 (outputs as Path)

Layer 31
layer_31
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #31 (outputs as Path)

Layer 32
layer_32
Path
{"version":1,"sub_paths":[],"canvas_width":0,"canvas_height":0,"sub_path_meta":[]}—

Sub-path data for layer #32 (outputs as Path)

Overview

A path editor that manages multiple subpaths as layers in one node. For a sword made of blade, guard, and grip—one motif composed of several shapes—this single node replaces several bezier_path nodes. In addition to the combined path output, each layer can be exposed as its own Path output.

  • Version: 1
  • Interactive: yes (double-click to open the editor)
  • Editor: MultiPathEditor
  • Japanese/English support: yes (fully localized through useI18n)

Usage tips

  • Choose by structure: one isolated shape → bezier_path; a collection of parts forming one motif → this node.
  • Expose each layer as a pin (layer_N) and send it through path_stroke/path_fill with separate colors for part-based coloring such as a white blade and brown grip.
  • You can instead pass the combined output (path) to path_stroke(sub_path_scope: Single) and select by index, avoiding extra pins.
  • It can save and load .pxpath for a single path and .pxmpath for all layers. Assets made with bezier_path can also be imported as layers.

Common pitfalls

  • It is unclear which layer is being edited: check the active layer in the left panel. Temporarily hide other layers with 👁️ to make editing easier.
  • Everything fills with the same color: sending the combined path output to one path_fill naturally produces one color. Separate part colors with exposed layer pins or Single selection.
  • Broken path_data cannot be loaded: an empty string is a valid empty editor. Nonempty JSON with invalid syntax or an invalid multi-path schema produces a NodeError instead of silently becoming an empty path.

Editor features

Toolbar

Tool Icon Description
Free 🔀 Combined tool for moving control points, appending to the end, and splitting curves
Add ➕ Click to add a new control point
Move ✋ Drag to move a control point
Delete ❌ Click an anchor to delete it
Select ⬚/〇/⬣ Area selection (choose the mode from the drop-down)

🌀 Path deform panel

The 🌀 toolbar button (shortcut T) opens a panel that deforms all layers together — squash/stretch, bulge, wave, and jitter — with a live preview, using the same math as the path_deform node. "Apply" bakes the result in place (layer names and visibility are preserved; wave/jitter subdivide the path, adding control points).

Area selection tools (drop-down)

Mode Icon Operation
Rectangle selection ⬚ Drag to create a rectangular selection
Lasso selection 〇 Drag to create a freehand selection
Polygon selection ⬣ Click to add vertices, then double-click to finish

Drag selected control points to move them together. Shift+click adds individual points; Shift+drag constrains movement to an axis.

Other toolbar features

  • 🔒/🔓 Close/Open: close or open the active layer's path
  • 💾 Save: choose from the drop-down menu
    • 📄 Save active layer (.pxpath) — save the selected layer as a single path
    • 📦 Save all layers (.pxmpath) — save the complete layer structure
  • 📂 Load: choose from the drop-down menu
    • 📄 Load as layer (.pxpath) — append it as a new layer
    • 📦 Load all layers (.pxmpath) — replace all layers
  • 🔍 N×: show the current zoom level

Saving and loading files

Path data can be managed in files independently of the project. Two formats are supported:

Extension Use type field Description
.pxpath Single path bezier One layer of path data, compatible with Bézier Path
.pxmpath Multiple paths multipath Complete data for the entire layer structure

With Load layer (.pxpath), existing layers remain and file contents are appended as a new final layer. With Load all (.pxmpath), all existing layers are replaced.

A .pxpath saved by the Bézier Path node can also be loaded as a layer, providing cross-editor compatibility.

Layer panel (left side of the editor)

  • Add a layer with ➕
  • Click to switch the active layer
  • Toggle visibility with 👁️
  • Delete a layer with ✕ (at least one layer always remains)

Canvas

  • Active layer: drawn in normal colors and editable
  • Inactive layers: drawn at 25% opacity and not editable
  • Each layer uses a distinct display color: green, purple, orange, cyan, and so on

Keyboard shortcuts

  • Ctrl+Z: Undo (restore all layers)
  • Ctrl+Y: Redo
  • Shift+click: 16-direction pixel snapping

Operation help (bottom of the editor)

Instructions for the active tool appear automatically at the bottom of the editor in Japanese or English.

Difference from Bézier Path

Feature Bézier Path Multi Path
Number of paths One path Multiple paths (layers)
Expose segments as output pins ✅ seg_N ❌
Expose layers as output pins ❌ ✅ layer_N
Visual editing of multiple paths ❌ ✅
Area selection tools ✅ ✅
File saving .pxpath .pxpath + .pxmpath
Use Fine control of one path Combining multiple paths

Examples

Basic usage

  1. Double-click the node to open the editor.
  2. Draw a path on Layer 1.
  3. Add Layer 2 with ➕ and draw another path.
  4. Edit while checking the positions of all overlaid layers.
  5. Connect the path output to PathStroke / PathFill.

Processing an individual layer

  1. In the inspector, use 📤 on layer_N to expose it as an output pin.
  2. Process the extracted Path with PathTransform.
  3. Recombine it with other paths using PathCombine.

Reusing and sharing paths

  1. Choose "Save active layer" from the 💾 drop-down and save it as .pxpath.
  2. In another project, choose "Load as layer" from the 📂 drop-down.
  3. Paths created with Bézier Path can be loaded from the same .pxpath format.

Moving multi-path data between projects

  1. Choose "Save all layers" from the 💾 drop-down and save it as .pxmpath.
  2. In another project, restore it with "Load all layers" from the 📂 drop-down.

Related nodes

  • bezier_path — single-path version
  • path_stroke / path_fill — rasterize layers, with layer selection through Single
  • path_combine / path_split — combine or split paths in the graph
  • path_transform — place drawn parts
Back to Node List