Legacy Reference

Flow Graph System

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.

Flow Graph is a visual scripting system that allows you to implement complex game logic without having to touch any code. Complex logic can be created with only a few clicks and an extensive library of nodes provides everything needed to fully control entities and AI agents in a level.

Flow Graph can also be used to prototype gameplay, effects, and sound design, with a level containing multiple flow graphs performing different tasks at the same time.

Flow graphs consist of nodes and links. Nodes can represent level entities (entity node) or actions (component node) that may perform a specific action on a target entity. Links are used to connect nodes, and are represented as lines that connect the inputs and outputs between nodes.

Flow Graph logic is stored in XML files and can be exported for use in other levels. As a flow graph is associated with a specific entity, the graph is always exported along with the entity. Layers are supported.