Version: Unity 6.5 Alpha (6000.5)
Language : English
Working with graphs
Manage the nodes in your graph

Connect nodes in your graphs

Connect the nodes in a graph.

A wire is a line that connects the ports of two nodes in a graph.

This page covers how to connect nodes only. For information on how to implement a node, refer to Implement nodes for your graph tool. For information on node types and node anatomy, refer to About nodes.

Connect nodes to other nodes on the graph

To connect a node to another node that’s already on the graph, select the port of one node, and drag the mouse to the port of the other node.

A wire connects the nodes.

Connect nodes to new nodes

To connect a node to a node that doesn’t yet exist on the graph:

  1. Identify the node you want to start with.

  2. Use one of the following methods to create a new node:

    • Right-click the start node’s port, and select Add Node from port
    • Select the port, and drag the mouse to the place on the canvas where you want to create the new node.

    The Add a graph node window opens.

  3. Select the type of new node you want to connect.

The new node appears on the canvas. It connects to the starting node with a wire.

Add variable nodes to other nodes on the graph

To add a variable node to an existing node, right-click a node’s port, and select Create Variable from port.

This creates a variable in the Blackboard, which automatically adds a variable node referencing that variable in the graph and connects it to the port of the node.

Additional resources

Working with graphs
Manage the nodes in your graph