Nodes
An image seen as the steps that make it: the Editor and Nodes, connecting, adding and splicing in nodes, Combine and the Mask Painter, seeing a node whole, the Layer stack, what is out of date and bringing it up to date, paid Relight, comparing alternatives, the Editor following the Output, and rebuilding Nodes from an image’s layers.
Every image has two views: the Editor you know, and Nodes, the same image seen as the steps that make it. Switch between them with Editor | Nodes at the top left, after where you are; the × beside it closes the image and takes you back to the Canvas or the Space (see Finding your way). Share is at the top right in both views. Switching saves nothing, renders nothing and makes no version: it is the same image, and a change made in one view is there in the other. Nodes is in the address (?view=nodes), so a reload or a link opens it again.
What Nodes shows
An image starts as three nodes: an Image (the picture itself, never changed), the Layer stack (the layers the Editor shows, top first) and the Output (what the image is: what Canvases, downloads and references get). Connections run from an output on the right of a node to an input on the left of another. Images are green; masks are white; an adjustment layer’s or a shape’s settings are pink.
Every layer is plugged into something. A picture layer is fed by an Image, or by Paint (strokes made in the Editor); an adjustment layer by its Adjustment layer node, a shape by its Shape node, and a mask by anything that makes a mask. Edit an adjustment in Nodes and the image changes at once, as it does in the Editor.
The nodes that change things:
- Mask is a mask painted by hand (see Painting a mask): white shows, black hides, and one Mask can feed many nodes. Connect a picture to its Paint over input to paint over it; the picture is only shown while you paint, and is never part of the mask. Blank, with nothing to paint over, its Width and Height set its size (1,024 pixels each way to begin with).
- Remove Background finds the subject and gives its Subject mask, to refine. The image it is given never changes.
- Refine Mask grows, shrinks, softens or hardens a mask’s edge, and keeps strokes painted on the mask by hand apart from what the mask was made from.
- Adjust changes colour and tone, everywhere or only where a mask shows.
- Combine lays a Foreground over a Background, as one image. Give it a Mask and the foreground shows where the mask is white, the background where it is black. Its settings have Swap foreground and background, a Blend menu and Foreground opacity.
- Relight and Generative Fill are paid generations, marked with the cost mark.
Remove Background in the Editor builds these for you: the layer is masked by a refined subject mask, which you can then change in Nodes.
A node that hasn’t run yet passes on what feeds it, so it can be connected straight away: a layer it feeds shows the picture before it until it runs. An Image node’s Replace… puts another picture from the Space in its place; what it feeds goes out of date.
Moving around and choosing
Nodes moves as the Canvas does. Drag on empty paper to draw a selection box; click empty paper to let go. Hold Space and drag, or drag with the middle button, to pan; scroll or swipe with two fingers to pan, and pinch (or Ctrl/⌘ + scroll) to zoom. Shift adds to what’s chosen, and dragging any chosen node moves them all. On a touchscreen a drag pans, and a press held still starts a selection box. F fits everything in view; Tidy lays the graph out again, left to right.
Keys: Delete removes what’s chosen (never the Output or the Layer stack), B bypasses it (its input passes straight through), R runs it, A opens the add list, and Ctrl/⌘ Z undoes in both views: Undo in the Editor steps back through a change made in Nodes, and the other way round.
Connecting and adding
Drag from an output to an input. While you drag, the inputs that can take it light up and the rest fade; near one, the connection snaps to it. An input that can’t take it turns red and says why before you let go (“Refine Mask needs a mask here; this gives an image”). Drop a connection on empty paper and the add list opens with only what can take it, the new node fed by it and placed where you let go; an image can also be shown in a new layer.
Add anything from one searchable list: the + in the tools on the left, a connection dropped on empty paper, the Layer stack’s own + (a layer to paint on, or an adjustment layer), or right-click the paper and choose Add node…. Nodes are grouped by what they do: Inputs, Masks, Adjustments, Create and Composite. Type to narrow it: names come before descriptions. Paid nodes are in their group, marked with the cost mark.
Image from this Space (in the tools on the left, or Image from this Space… in the list) docks the Space’s Assets beside Nodes. Choose one or more images and Add to Nodes brings each in as an Image node; the × at the panel’s top closes it.
Drag a node over a connection and hold it there for a moment: the node is shown spliced in, fed by the connection and feeding where it went. Let go there to keep it; move it away first and the connection stays as it was. A node is only spliced in where both of its new connections are allowed.
Right-click a node for what can be done to it, as each applies: Open full screen or Paint mask…, Run, Solo in Output, Add as layer, Make it the Output, Bypass, Duplicate, Disconnect all and Remove. With several chosen, the menu aligns them (Align horizontally, Align vertically, Align edges), spaces three or more evenly (Space evenly across, Space evenly down), and bypasses or removes them.
Right-click a connection, or a port, and choose Disconnect. Hold Ctrl and drag with the right button to cut every connection you cross. Nothing is deleted when you disconnect: a layer whose picture is unplugged waits, blank, until something is plugged in. On a layer’s input, the menu can also remove the layer, or its mask. Right-click the paper to choose whether connections are drawn Curved or Straight.
Drag a layer’s handle in the Layer stack to move it above or below the layers beside it. It is one change, undone in either view.
Out of date, and bringing it up to date
A node remembers what it made. Change a setting, or something before it, and it and everything after it are Out of date: they keep showing their last result, dimmed, until they run again. Nothing runs by itself. The status at the top right says how many need running; Review and update shows what will run, in order, what each updates and whether it is free, before anything runs. Choose a node to see what it made, compared with what it was given, why it is out of date, and its earlier results. Change a setting back and its earlier result is current again, without running. A free node that hasn’t run, is out of date or has failed has its own Run (or Try again) in the status at the foot of its card.
Paid nodes never run from a change alone: they are quoted and need your go-ahead. A Relight node has the Editor’s Relight settings (see Relight); its Relight button, or Review and update, prices it in Bring the image up to date, and its run button, which names the price (“Run 1 · pay $0.15”), makes it on Otherspace by the Editor’s own generation, whether or not the page stays open. It is charged only once it’s made. Light Transfer is made in the Editor, where its image is chosen, and Generative Fill can’t run from Nodes yet: make it with the Editor’s tool. Run only the free steps brings the rest up to date and leaves a paid one with its last result.
Seeing a node whole
Double-click a node that makes a picture (an Image, a Combine, the Output), or choose Open full screen from its menu, to see what it gives full screen, as the Editor shows an image: scroll, pinch or the zoom control to zoom, and drag to pan. It takes the top centre with ← (Back to Nodes) and its name, and Editor | Nodes and the × give way to it until you go back. ← or Esc returns to Nodes as it was.
Painting a mask
Double-click a Mask, or choose Paint mask… from its menu or its settings, to open the Mask Painter, full screen in the same way. Overlay shows the mask in red over the picture it paints over; Mask shows it as it is passed on, in black and white (Q switches between them). Both paint the same mask. The tools on the left:
- Brush (B) paints what shows; Eraser (E) paints what hides. X swaps them. Each has Size ([ and ]), Hardness and Opacity.
- Object (W) finds something in the picture: draw a box around it (Box), or brush over it (Brush). Selection sets whether what it finds is added to the mask (Add), taken away (Remove) or replaces it (Replace); hold Alt to take it away. It needs a picture to paint over.
- Hand (H, or hold Space) moves around; scroll or pinch to zoom.
- Invert (Ctrl/⌘ I), Undo (Ctrl/⌘ Z) and Redo (Ctrl/⌘ Shift Z).
If the mask and the picture it paints over aren’t the same size, it asks first: Keep its size, Stretch to the picture, or Start again, blank.
← (Back to Nodes) or Esc keeps what you painted: there is nothing to confirm. What the Mask feeds goes out of date: free nodes are brought up to date at once, and paid ones wait until you run them.
Comparing alternatives, and the Output
Branch a photo several ways (a grade, a relight, a cut-out on a new background) and Compare shows every branch’s result side by side. Use this makes one the image; Add as layer combines it with others in the Layer stack.
Anything with a picture can be plugged into the Output. While the Output is the Layer stack, the Editor edits its layers as always. Plug something else in and the Editor follows: it shows what the Output shows, says there are no layers to edit, and offers Open in Nodes and Use the Layer stack. With nothing plugged in, the Output is blank, waiting.
With nothing chosen, the panel on the right shows the image itself, drawn as the Editor draws it, and Made from: the pictures it starts from and every result its nodes keep.
On a phone, Nodes is for looking: changes are made on a larger screen. Someone who can only view the image sees Nodes for looking too.
If changes to an image can’t be saved
Rarely, an image’s Nodes no longer match its layers: for example, when its layers were changed somewhere Nodes didn’t follow. Its changes then can’t be saved in either view, and the image says so, with Rebuild from layers. Rebuilding works its Nodes out again from its layers, as when the image was first opened. The image stays exactly as it is, and its layers and Versions aren’t changed. Settings that lived only in Nodes are lost: a Remove Background’s or a Refine Mask’s settings, say, and nodes connected to nothing. Only someone who can edit the image can rebuild it.