FGraphCompilerContext::CreateExecutionSchedule

Performs a topological sort on the graph of nodes passed in (which is expected to form a DAG), scheduling them.

Windows
MacOS
Linux

References

Module

KismetCompiler

Header

/Engine/Source/Editor/KismetCompiler/Public/EdGraphCompilerUtilities.h

Include

#include "EdGraphCompilerUtilities.h"

Source

/Engine/Source/Editor/KismetCompiler/Private/EdGraphCompiler.cpp

Syntax

void CreateExecutionSchedule
(
    const TArray< UEdGraphNode * > & GraphNodes,
    TArray< UEdGraphNode * > & LinearExecutionSchedule
) const

Remarks

Performs a topological sort on the graph of nodes passed in (which is expected to form a DAG), scheduling them. If there are cycles or unconnected nodes present in the graph, an error will be output for each node that failed to be scheduled.

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