Skip to content

Add and connect nodes

A scheme is nodes joined by links. This lesson covers how to make a node, how to join two nodes, and how to take nodes and links away.

  • You have an empty canvas and want the first node.
  • You want a new node that is already linked to the one you are working on.
  • A link goes to the wrong place.
  • You want to remove a node, or all links of one node.

When you add a node, the Studio opens a search window titled Add Node. Its first level lists the groups of nodes. A group with an arrow opens a deeper list.

The Add Node window, first level, on a scheme.

A node card has a connector for each link. An input takes links in. An output sends them out. A node has at most one input and zero or more outputs, each with a name, for example Success and Failure on Chance. A node that starts a flow, like Start, has no input.

An input takes any number of links, and an output can lead to several nodes. Where an output has two or more links, each link carries a number, 1, 2, 3. The links of one output run from the top down, and the numbers show that order.

Click the canvas so it has the focus, then press Space with the pointer where you want the node. The Add Node window opens at the pointer. Pick a node (see the next step). The new node appears where the window opened, and it is selected, so the Element Inspector shows its settings.

On a scheme with no node you added, the canvas reminds you: Press Space or right-click to add a node.

To undo, choose Edit > Undo in Unity. The step is named Add and the node’s title, for example Add Chance.

Right-click an empty part of the canvas and choose Add Node. It does what Space does, at the place you clicked.

  • Add Node
  • Paste(not available)
  • Compact Layout
  • Frame All
The menu of an empty part of the canvas. Add Node is grey while the scheme cannot be edited. The rest of this menu is in the lesson on moving around the canvas.

To undo, choose Edit > Undo.

In the Add Node window, click a group to open it. The group’s name becomes the title line, and a back arrow leads out. Click a node to make it. Typing searches the list.

Inside the group Flow, the group Branches. Each node has its icon.

Inside a group the entries follow a fixed order, then their names. Sub-groups come after the entries of their parent group.

Some entries are a node with one setting already changed. They read as the name of the entry, a dot, and the node’s title, for example Wait Random · Wait.

Every scheme gets a Start and an End node when it is made. They are never in the list.

The window is titled Add a Change when you add a change under an output’s folded lines. It then lists only the nodes that can be shown as a line. See Folding.

To undo, choose Edit > Undo after you pick. To cancel before you pick, close the window: it is Unity’s own search window, and Escape is its usual way out (to confirm in Unity).

Section titled “Add a linked node by dragging a link into empty space”

Drag from an output and let go on an empty part of the canvas. The Add Node window opens there. Pick a node, and it is made at that place and linked to the output you dragged from.

Step 1 of 4. A wire dragged from an output is dropped on empty canvas.

Check Opinion
Conspirator's opinion of Target ≥ 20
True
False
  • A wire from Check Opinion, output True, is being dragged to an empty spot.

Step 2 of 4. The Add Node search opens where you dropped it.

Check Opinion
Conspirator's opinion of Target ≥ 20
True
False

    Step 3 of 4. You pick a node: here Succeed Scheme, from the Flow group.

    Check Opinion
    Conspirator's opinion of Target ≥ 20
    True
    False

      Step 4 of 4, Fold new changes on. The change is a line under the output.

      Check Opinion
      Conspirator's opinion of Target ≥ 20
      True
      ■ The scheme succeeds
      False

        Step 4 of 4, Fold new changes off. The new node is a card, already linked.

        Check Opinion
        Conspirator's opinion of Target ≥ 20
        True
        False
        Succeed Scheme
        Result: Success (ends when its flows end)
        • Check Opinion, output True, goes to Succeed Scheme.

        Fold new changes is a Studio setting, on by default, and it only matters while Fold changes is on. The Studio puts the result there at once; the slide is this page’s illustration. The search list is shortened to its first level.

        This is the quickest way to build a flow, one node after the other. With Fold new changes on, a node that is a change (for example one that changes a variable) does not become a card. It becomes a line under the output. See Folding.

        You can also drag from an input into empty space. The new node is then linked so that its first output leads into that input.

        If the dragged output is the first one of a node that stores what it found in a variable, the new node starts with that variable already in its first actor, clan or family field, so you do not have to pick it.

        To undo, choose Edit > Undo.

        Drag from an output of one node to the input of another node, and let go. While you drag, the inputs that cannot take this link are dimmed. The link is drawn when you let go.

        A link is refused when:

        • the target has no input. Nodes without an input are Start, End, Jump Target, Comment, On Game Loaded, On Accomplice Joined, On Accomplice Left, When a Requirement Breaks and On Date;
        • the target is the node itself, unless changes are folded under that output (see Folding);
        • the same two nodes are already linked from that output.

        The links of one output run from the top down: the node placed higher on the canvas runs first. The numbers 1, 2, 3 on the links show that order. To change it, move a node up or down.

        To undo, choose Edit > Undo. The step is named Connect Nodes.

        Drag the end of an existing link to another input. The old link is removed and a new one is made.

        To undo, choose Edit > Undo. It may take two steps, Connect Nodes and Disconnect Nodes.

        Right-click the link and choose Delete. You can also select the link and use Unity’s Delete key (a Graph View default, to confirm in Unity; on a Mac the key may be named differently).

        • Delete
        The menu of a link.

        To undo, choose Edit > Undo. The step is named Disconnect Nodes.

        Right-click the node and choose Disconnect All. Every link into or out of the node is removed, and the node stays.

        • Run from here
        • Group Nodes
        • Copy
        • Cut
        • Duplicate
        • Disconnect All
        • Delete
        The menu of a node on a scheme that can be edited. Items a node adds for itself come after Run from here. Add to Group appears when the scheme has node groups, and Remove from Group when a selected node is in a group.

        To undo, choose Edit > Undo.

        Selecting nodes and the Delete key are Unity’s own Graph View controls; the Studio does not change them.

        Select one or more nodes and right-click, then choose Delete. Unity’s Delete key does the same (a Graph View default, to confirm in Unity). The links that led to the deleted nodes are removed from the other nodes. Start and End cannot be deleted.

        To undo, choose Edit > Undo. The step is named Delete Node or Delete Nodes.

        A Jump To node continues the flow at a Jump Target. To see where, right-click the Jump To node and choose Go to Jump Target, or double-click it. The Studio selects the target and brings it into view. The entry is grey until you have picked a target and the target still exists.

        The other way works too. Right-click a Jump Target and choose Select Jump To Nodes; it is grey when no Jump To points at the target. When several nodes jump to it, the entry shows how many, for example Select Jump To Nodes (2). Double-click a Jump Target to go to the first Jump To that points at it, from the top down. A Jump Target shows its name in its title, for example Jump Target · Ambush.

        Back in the toolbar returns you to where you were.

        You come from Move around the canvas. The next lesson is The Element Inspector, where you set up the node you made.

        Changes that become lines under an output are taught in Folding. To copy nodes between schemes, see Copy, paste and undo. Node groups are in Node groups. The counter for nodes that are wrong or not linked is in Problems.

        Setting What it does Default When to change it
        Fold changes Shows folded changes as lines under their cards. On See Folding.
        Fold new changes A change made by dragging a link into empty space becomes a line, not a card. On See Folding.

        Both are rows of the Studio’s Settings page.

        Space does nothing. The canvas has no focus: click an empty part of it first. Or the scheme cannot be edited: Play mode, or a test run that plays the scheme.

        Add Node is grey. The scheme cannot be edited now. Stop Play mode or the test run.

        Start or End is not in the search. Every scheme gets them when it is made, so the search never offers them.

        The link snaps back. See the list above.

        A new change does not become a line. Fold new changes is off, or the node cannot be shown as a line. Cards stay cards.

        Message Where it shows What to do
        Stop the run to edit. The run bar, when you edit a scheme that a test run plays Stop the run. See Test run.
        Play mode: live view, editing is off The bar under the toolbar Stop Play mode to edit.
        Not connected: a change cannot lead straight into itself. A notice in the Studio window for a few seconds, and in the Console Drop the link on another node.
        Not connected: this change ends the flow, so nothing comes after it. The same notice Link from a change that does not end the flow.
        Added as a new step: a wire from a Sequencer’s Steps is a step. The same notice Nothing. The node is a new step.
        Choose the Jump Target to continue from. The Element Inspector of a Jump To with no target Pick a Jump Target.
        Jump Target not found The same place The target was deleted. Pick another.
        The chosen node is not a Jump Target. The same place Pick a Jump Target.
        The Jump Target belongs to another graph. The same place Pick a Jump Target of this scheme.
        Give the Jump Target a name so Jump To nodes can tell it apart. The Element Inspector of a Jump Target Type a name.