Legacy Reference

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Using Flow Graph Links

Flow Graph is deprecated and will be removed in a future version of Lumberyard. Learn about Script Canvas, Lumberyard's new visual scripting environment.

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

Links are used to connect Flow Graph node inputs and outputs for transferring information between them. Information is transferred immediately, regardless of link length or shape. When a connected node is moved, the link automatically adjusts itself. Links are created by simply clicking and dragging your mouse from the output of one node to the input of another node.

An input port can have only one link connected to it. If you want to connect multiple links to one input port, helper nodes such the Logic:Any node can be used. Output ports can have an unlimited number of links.

Node links can be deleted or disabled. If you merely want to disable a link but still have it show on the flow graph, click Disable instead.

To delete a node link

  1. Click the link to select it, right-click the dot in the middle of the link, then click Remove.

  2. Alternatively, click the input port the link is connected to and drag it away from the port. When the mouse is released, the link disappears.

By default, all information between nodes is relayed instantly. However, you can delay signal propagation between nodes.

To delay link propagation

  1. Click the link to select it, right-click the dot in the middle of the link, then click Delay.

  2. In the new Time:Delay node, double-click Delay and enter a value in seconds. The default value is 1 second if no value is entered.

Connecting multiple links to an input port is possible using the Logic:Any node. This node can take multiple inputs and route the signals to a single output port.

To add multiple links to an input port

  1. Right-click anywhere in the graph pane and then click Add node, Logic, Any.

  2. Drag from the various output port links to the in1...in10 input ports of the Logic:Any node as needed.

  3. Create links by dragging from the out outport port to the input ports of the desired nodes.

You can also highlight links to make debugging complex flow graphs easier.

  • To highlight incoming links red, select an input node and press F.

  • To highlight outgoing links blue, select an output node and press G.