Adding nodes to a graph can be done in several different ways, depending on whether or not an entity or a component node is added. Any entity in a level, except brushes or portals, can be added to a graph.
Entity nodes always operate on a specific instance of an entity in the level.
Component nodes are independent from entities and use the entities as a target on which to perform certain actions. The target of a node can be reassigned and changed as often as necessary.
To add an entity node, select an entity and open the graph. Next, open the graph context menu by right-clicking on the main graph editing pane.
Select Add Selected Entity to insert the entity node at the position of the mouse pointer.
Pic1: Selecting an entity in the Flow Graph editor.
Component nodes can be added within the graph and do not require any selected entity. There are three ways to add these nodes,
The example below describes the process for adding an entity (Entity:EntityPos) using the context menu.
To add a new component node:
Pic2: Adding a component node using the context menu.
A new Entity:EntityPos node will be placed in the graph.
To access the QuickSearchNode, you can use the shortcut Q to create a dummy node with a search window (see image below). The default node is the Game:Start node.
The results get auto-filtered as you type the node name or part of it. You can also view the total number of search results that are available (similar to the component list window search feature).
Using the Up / Down keys, you can navigate through the search results if more than one node was found, and press Enter key to create a selected node. Use the Esc key to cancel the node creation.
Pic3: Performing search function using the QuickSearchNode.
To delete a node, right-click the node and then select Delete. You can also delete it using the Delete key.
Nodes can be moved around by dragging them to the main editing pane. Multiple nodes can be selected by holding down the Ctrl key and clicking all the nodes that need to be selected.
Alternatively, the mouse can be used to pull a box around all the nodes that need to be selected. The links between the selected nodes will be moved when the nodes are moved, and they will be automatically rearranged.
To copy one or more nodes, select the nodes that need to be copied and right-click on any node, and then select Copy . All nodes, including the connecting links, will be copied to the clipboard.
The nodes can be pasted from the clipboard to a graph by selecting Paste in the context menu.
Shortcuts: Hold Ctrl+C to copy the selected nodes, and use Ctrl+V to pastes them. Use Ctrl+Shift+V to paste the nodes along with the links.
There are two ways of editing the node properties,
Pic4: Editing the node parameters using the Inputs tab.
Make sure you zoom-in on the particular node before you edit using the double-click option.
Pic5: Editing the parameters directly on the nodes.