FGraphDiffControl::DiffGraphs

Looks for node differences between the two supplied graphs.

Unreal Engine C++ API Reference > Editor > GraphEditor > FGraphDiffControl

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/GraphDiffControl.h
Include #include "GraphDiffControl.h"
Source /Engine/Source/Editor/GraphEditor/Private/GraphDiffControl.cpp
static bool DiffGraphs
(
    [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) *const OldGraph,
    [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) *const NewGraph,
    [TArray](API\Runtime\Core\Containers\TArray)< [FDiffSingleResult](API\Runtime\Engine\FDiffSingleResult) > & DiffsOut
)

Remarks

Looks for node differences between the two supplied graphs. Diffs will be returned in the context of "what has changed from OldGraph in NewGraph?" True if any differences were found, false if both graphs are identical.

Parameters

Name Description
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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library