Navigation
API > API/Editor > API/Editor/GraphEditor > API/Editor/GraphEditor/FGraphDiffControl
Description
Looks for node differences between the two supplied graphs. Diffs will be returned in the context of "what has changed from OldGraph in NewGraph?"
| Name | DiffGraphs |
| Type | function |
| Header File | /Engine/Source/Editor/GraphEditor/Public/GraphDiffControl.h |
| Include Path | #include "GraphDiffControl.h" |
| Source | /Engine/Source/Editor/GraphEditor/Private/GraphDiffControl.cpp |
static bool DiffGraphs
(
UEdGraph *const OldGraph,
UEdGraph *const NewGraph,
TArray< FDiffSingleResult > & DiffsOut
)
True if any differences were found, false if both graphs are identical.
Parameters
| Name | Remarks |
|---|---|
| OldGraph | The baseline graph to compare against. |
| NewGraph | The second graph to look for changes in. |
| DiffsOut | All the differences that were found between the two. |