Graphs

Node graph that uses events and function calls to perform actions in response to events associated with the Blueprint.

Choose your operating system:

Windows

macOS

Linux

A Graph is a network of nodes that can be connected to one another in order to define the flow of execution for the network. Graphs are the basis for implementing functionality in Blueprints. Each Blueprint can contain one or more graphs, depending on the type of Blueprint, that define the implementation of a particular aspect of the Blueprint. Each graph within a Blueprint can also contain sub-graphs, which are essentially collections of nodes collapsed into their own separate graph, mainly for organizational purposes. There are specialized types of Graphs that have unique properties, but the key principles of adding variable references, adding and connecting Nodes, and debugging will apply throughout.

Graph Types

Event Graphs

eventgraph_topic.png

Event Graphs are the most general type of Blueprint graph. Each new Blueprint Class will contain one Event Graph when it is created, although more can be added. These additional Event Graphs can help to organize your Blueprint networks. Event Graphs generally contain the networks for the gameplay behavior of the Blueprint, with Events , CustomEvents , and Input nodes serving to initiate the flow of execution through the Event Graph.

For more information about this section, see EventGraph

Construction Script

Construction Script

Construction Scripts are unique to Blueprint Classes, with only one ConstructionScript graph present in each Blueprint Class. Construction Scripts are useful for Blueprint Class initialization, as they run right after the Components list is set up for the Blueprint Class.

For more information about this section, see Construction Script

Functions

Functions

Functions are node graphs belonging to a particular Blueprint that can be executed, or called, from another graph within the Blueprint. Functions have a single entry point designated by a node with the name of the Function containing a single exec output pin. When the Function is called from another graph, the output exec pin is activated causing the connected network to execute.

For more information about this section, see Functions

Macros

macro_topic_2.png

Blueprint Macros , or Macros , are essentially the same as collapsed graphs of nodes. They have an entry point and exit point designated by tunnel nodes. Each tunnel can have any number of execution or data pins which are visible on the macro node when used in other Blueprints and graphs.

For more information about this section, see Macros

Working with Graphs

Whether your Graph is a Construction Script, EventGraph, Function, or Macro, you will edit it in the Graph mode of the Blueprint Editor Reference . Fundamentally, all Graphs contain networks of Nodes connected by Wires.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss