FGraphDiffControl

Used to find differences between revisions of a graph.

Unreal Engine C++ API Reference > Editor > GraphEditor

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/GraphDiffControl.h
Include #include "GraphDiffControl.h"

Syntax

class FGraphDiffControl  

Remarks

Used to find differences between revisions of a graph.

Functions

Type Name Description
bool DiffGraphs ( UEdGraph*const OldGraph, UEdGraph*const NewGraph, TArray< FDiffSingleResult >& Diffs... ) Looks for node differences between the two supplied graphs.
FNodeMatch FindNodeMatch ( UEdGraph* OldGraph, UEdGraphNode* NewNode, TArray< FNodeMatch > const& PriorM... ) Looks through the supplied graph for a node that best matches the one specified.
FString GetGraphPath ( UEdGraph* Graph ) Computes an object path for a specific graph, relative to the blueprint/asset root
bool IsNodeMatch ( UEdGraphNode* Node1, UEdGraphNode* Node2, bool bExactOnly, TArray< FGraphDiffControl::FNodeMat... ) Returns true if the two Nodes are the same

Classes

Type Name Description
Public struct EDiffFlags Flags controlling while operations should be included in the diff
Public struct FNodeDiffContext A struct holding the context data for a node diff
Public struct FNodeMatch A struct to represent a found pair of nodes that match each other (for comparisons sake)

Enums

Type Name Description
Public enum EDiffMode What kind of diff are we performing

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library