Creating patches in Fugio is done by adding nodes and connecting them together. A node might contain a simple type of data such as a single number, or something more complicated such as an image. A node can also act on data, taking inputs (say, two numbers) and applying some kind of processing to them (e.g. adding them together resulting in a single output number).
The Node Window lists all the available nodes that you can use in Fugio.
The types of nodes will vary depending on which platform you're running Fugio, and also what plugins you have installed.
Adding a Node
These directions assume you already have a patch opened. If not, choose File -> New in the menu.
There are several ways to add a node to a patch. They all do the same thing but you might find one way suits you more than the others.
Double-click with the mouse on the name of the node in the Node Window
This will bring up a dialog asking for a name for the new node. You can press Enter or click OK to accept the default value.
Drag a node name from the Node Window to the patch window
Double-click in the patch window
This will bring up the Node Insert window.
Here you can type in the name of the node you want to add (or a partial match), or choose from a list of recently added nodes (which will be blank the first time you try this).
The connection points on nodes are called pins, with the input pins all being on the left side of a node, and the output pins on the right side.
Right-click on a node to bring up a menu where you can:
- Rename the node
- Set the colour
- Add input and output pins (on certain node types)
- Make the node (in)active
- Delete the node
See Category:Nodes for list of available nodes
Right-click on a pin to bring up a menu where you can:
- Rename the pin
- Edit the default value (on input pins)
- Mark the pin updatable
- Import and Export data from the pin
See Category:Pins for list of available nodes
Links connect input pins to output pins. An input pin can only be connected to a single output pin, whereas an output pin can be connected to any number of input pins.
To create a link, click and hold your mouse cursor on the pin box (not the pin's name) and drag the mouse to the pin you want to connect it to.
If the connection cannot be made, it will be drawn in red.
Some nodes can create new pins by dropping the link onto the node itself, rather than an existing pin.
Nodes and Links can be modified within the node editor in the following ways:
You can select more than one node either by click-dragging a selection box around the nodes and links you want to modify, or by holding CTRL on your keyboard and clicking on nodes and links to (de)select them.
You can move a single node by clicking and holding the mouse button on a node's title and moving it a new position. Release the mouse button to drop the node.
If there is more than one selected nodes, dragging one of them will move all the others, too.
Nodes and Links can be assigned a colour to help visually differentiate them from each other. Do this by right clicking on the Node or Link and selecting Set Colour from the menu, or via the menu Edit -> Set Colour... that will set the colour of all the selected nodes and links.
You can delete the selected nodes and links by pressing Delete on your keyboard
Copy and Paste
Nodes and Links can be copied and pasted (even multiple times) by pressing CTRL+C (on Windows) or Command+C (on Mac) to copy, and CTRL+V (on Windows) or Command+V (on Mac) to paste.