FGraphDiffControl::DiffGraphs

Looks for node differences between the two supplied graphs.

Windows
MacOS
Linux

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/GraphDiffControl.h

Include

#include "GraphDiffControl.h"

Source

/Engine/Source/Editor/GraphEditor/Private/GraphDiffControl.cpp

Syntax

static bool DiffGraphs
(
    UEdGraph *const OldGraph,
    UEdGraph *const NewGraph,
    TArray< 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?"

Returns

True if any differences were found, false if both graphs are identical.

Parameters

Parameter

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.

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