Every runchat is made up of nodes that perform functions and edges that pass data between them. Everything in Runchat is made up of 4 core nodes: Inputs, Prompt, API and Code. The Image node provides a convenient way of experimenting with the latest image models, and the Note node is useful for leaving tips or reminders in your Runchats.

Creating Nodes from the Search Menu

image.png

You can add nodes to the Runchat canvas using the Search Menu. To show the search menu, click the + button in the action toolbar at the bottom of the editor screen, press the spacebar or double click on the canvas. You can filter for nodes with a given name by using the search input, then click on a result to add the node to the canvas. It will be placed wherever your mouse was when you opened the menu. You can also create nodes from slash commands. Deep dive into the 4 core nodes — ‣

<aside> ⚠️

File imports and the API and code nodes are disabled until you create an account.

</aside>

Input Nodes

image.png

Input nodes allow you to create text, numerical values, toggles, buttons, files and other information to be used within your Runchat. Some nodes, like the Button or Timer, can be used to trigger updates in your runchat automatically. The Webhook node allows you to send data to your Runchat from anywhere else on the internet. To view a list of all the available input types, hover over the Inputs item in the menu.

createNodes.gif

Connecting nodes with Edges

You can pass data from one node to another by dragging and dropping from the coloured handles on the sides of nodes. Data in runchat flows from left to right, with inputs on the left side of a node, and outputs on the right. Colours indicate the data “type” of that particular parameter and are useful for quickly guessing what you can connect where. If you connect an ouput of one type or colour to an input of another, Runchat will attempt to convert or “cast” the data from the output to the input type. You can easily tell when something will be cast because the edge will form a gradient from the source colour type to the target colour type. Clicking on an edge will display a tag with the types that are being cast. Most things in runchat can be cast in this way, so don’t be afraid to try connecting things and see what happens.

Creating nodes from edges

Dragging from a handle and dropping to nothing will show the search bar. Selecting a node will automatically connect to the first matching input type of the source handle. E.g. if you drag from a green handle and create a node with a blue and a green input handle, it will connect to the green one. If none exists, it connects to the first castable handle.

Deleting nodes and edges

To delete a node or edge, first select it then press delete or backspace. On mobile devices, you can select it then tap the backspace button in the bottom right corner of the screen.