Navigation
API > API/Editor > API/Editor/KismetCompiler > API/Editor/KismetCompiler/FGraphCompilerContext
Description
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.
| Name | CreateExecutionSchedule |
| Type | function |
| Header File | /Engine/Source/Editor/KismetCompiler/Public/EdGraphCompilerUtilities.h |
| Include Path | #include "EdGraphCompilerUtilities.h" |
| Source | /Engine/Source/Editor/KismetCompiler/Private/EdGraphCompiler.cpp |
void CreateExecutionSchedule
(
const TArray< UEdGraphNode * > & GraphNodes,
TArray< UEdGraphNode * > & LinearExecutionSchedule
) const