Nodes and the graph

What a story is built from: node types, adding and linking them, the right-click menu, the chapter start, forks, notes, groups and canvas keys.

Node types

A story is a graph: nodes joined by lines. A node is one step of the story, and a line from node to node says what comes next. In the top-left corner of the graph is a toolbar with the “+ Node” button.

“Dialog” is marked “Recommended” — it’s the main brick: its own frame and a timeline of lines. “Screen” is a frame template without lines: backdrop, frame, music. “Event” is a reader’s choice with options. “Condition” is an if/else fork on variables. “Jump” goes to any node of the graph, “Jump to chapter” into another chapter. “Variables” change values, “Video” plays a clip or a cutscene, “Custom JS” is your own screen in JavaScript. “Group” folds a branch into one node, and “Note” is an author’s note on the canvas.

  1. Click “+ Node” — a list opens with a “Search nodes…” box.
  2. Start typing a name or pick a type with the mouse. The ↑/↓ arrows move the highlight, Enter creates the node (Dialog by default), and Esc clears the search first.
  3. Want the node in a particular spot? Right-click empty canvas: the same “Add a node” list opens, and the node lands where you clicked. On a phone or tablet, use a long press.
The story graph: the “Evening Prague” scene, a “Where to go” event with two options and two branches
Each option of the event has its own line — those are the story’s two branches.

Links

One output of a node carries one line: if it already has one, a new line won’t connect. The lines themselves can’t be clicked — you remove them through the port or the node’s menu.

Deleting a node doesn’t break the story: A → B → C without B becomes A → C. If the node had several exits (Event, Condition, Custom JS, Group) there’s nothing to stitch — the links are dropped and a “Link not restored…” message shows how many were cut.

  1. Drag a line from a node’s port on the right onto the next node — you can let go anywhere on its card.
  2. Let go on empty space — the “Create and link” menu opens: pick a type and the new node appears right there, already connected.
  3. If the output is taken, or you drop the line right on an existing link, the menu reads “Insert between · A → B”: the new node goes into the middle of the chain and the graph straightens out.
  4. To remove a link, right-click the output port (“Right-click to disconnect”). “Clear connections” in the node’s menu removes all of its links at once.

The node menu and selection

Right-click a node to open its menu: “Open on the canvas” (select the node and show it on the stage), “Play from this node”, “Start the story here”, “Group”, “Rename”, “Duplicate”, “Add after →” (or “Insert after (port busy)” when the output is taken), “Clear connections” and “Delete the node”. A group also has “Open group” and “Ungroup”, and Custom JS has “Edit the code”.

Select several nodes by dragging a box over empty space; Shift+click adds a node to the selection or takes it out. Right-click the selection for “Duplicate selected”, “Group”, “Auto-arrange the graph”, shared in and out “Animations”, “Copy background from this node” and “Copy music from this node” (from the one you clicked to all selected) and “Delete selected”.

With a mouse you drag a node by its title bar — a click on the body only selects it. Double-click the title to rename it: Enter saves, Esc cancels.

Where a chapter starts

The first node added to an empty chapter becomes its start by itself — its card gets a “Start” badge. You can move the start at any time; each chapter has its own. With no start set, the player begins at a node no line leads into.

  1. Right-click the node the chapter should begin with.
  2. Pick “Start the story here” — the “Start” badge moves to it.
  3. To unset it, use the same item, now called “Unset the start point”.

Forks, conditions and jumps

An Event has one port per option (A, B, C…), and each port’s line leads into its own branch. Options are added in the Dialogs tab with “+ Option”, while the line above them can also be typed right on the card — with the “+” in its header or a double-click.

A Condition is a ladder of branches: they’re checked top to bottom, the first match plays, and “Else →” catches the rest. A faulty branch gets a “!” — for example, “this branch has no link - the reader leaves the chapter”. More in “Choices and variables”.

A Jump has one field, “Go to node”: the line to the target is drawn dashed. A Jump to chapter has “Go to chapter” (with “Create a new chapter” in the same list) and a second field: “to the chapter start” or a specific node in that chapter.

Notes and groups

A Note is a sticky note on the canvas, outside the story: it has no ports, the player never sees it, it needs no translation. Open it with the ⤢ button on the card or a double-click on its text. Inside, Markdown works, “/” inserts a table or a callout, and a picture can be pasted or dragged in.

A Group folds part of the graph into one card that shows how many nodes are inside and which one playback starts from. A group has one input and one output: the reader enters at its start, and a branch that leads nowhere inside leaves through the group’s output.

  1. Box-select the nodes, right-click them and choose “Group”. An empty group can be added from the “+ Node” list.
  2. To go inside, double-click the group card or use “Open group”. To come back, click “Chapter” in the “Chapter › …” path (hint: “Back to the chapter level”).
  3. Inside the group, right-click a node → “Group start” sets where playback begins; the node gets a “Group entry” badge.
  4. “Ungroup” in the group’s menu puts the nodes back on the chapter canvas.

The canvas and keys

The graph toolbar, left to right: “Select (V)”, “Hand” (H or hold Space), “+ Node”, “Auto-layout”, “−”, the zoom percentage, “+” and “Fit all”. “Auto-layout” lays nodes out in columns by branch so the lines don’t cross.

Click the percentage to open the zoom menu: “Fit all” (Shift+1), “100%” (Ctrl+0), “Reset view” and “Mouse wheel” — what the wheel does: “Auto (trackpad pans)”, “Zoom” or “Pan”. Zoom goes from 15 to 200%.

On a trackpad, pinch to zoom and use two fingers to pan. Ctrl + wheel always zooms, and you can also drag the canvas with the middle mouse button. On a touch screen one finger pans and two fingers zoom.

Common questions

How do I undo deleting a node? Ctrl+Z or the Undo arrow in the top bar: the node comes back with its links. The editor remembers your last 100 actions; a co-author’s edits can’t be undone this way.

Why won’t the line connect? That output already has a link. Remove it with a right-click on the port, or drop the line on empty space and choose “Insert between”.

How do I copy a node? Ctrl+C and Ctrl+V don’t work on the graph — use “Duplicate” in the node’s menu, or “Duplicate selected” for several.

And with AI? When the agent is on, the node menu has “Add to AI agent context” — the node gets attached to your message for the agent. But everything in this article works by hand.