Navigation
Unreal Engine C++ API Reference > Editor > KismetCompiler > FGraphCompilerContext
References
Module | KismetCompiler |
Header | /Engine/Source/Editor/KismetCompiler/Public/EdGraphCompilerUtilities.h |
Include | #include "EdGraphCompilerUtilities.h" |
Source | /Engine/Source/Editor/KismetCompiler/Private/EdGraphCompiler.cpp |
void CreateExecutionSchedule ( const [TArray](API\Runtime\Core\Containers\TArray)< [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * > & GraphNodes, [TArray](API\Runtime\Core\Containers\TArray)< [UEdGraphNode](API\Runtime\Engine\EdGraph\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.