FGraphDiffControl

Used to find differences between revisions of a graph.

Windows
MacOS
Linux

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

Name Description

Public function Static

bool

 

DiffGraphs

(
    UEdGraph*const OldGraph,
    UEdGraph*const NewGraph,
    TArray< FDiffSingleResult >& Diffs...
)

Looks for node differences between the two supplied graphs.

Public function Static

FNodeMatch

 

FindNodeMatch

(
    UEdGraph* OldGraph,
    UEdGraphNode* NewNode,
    TArray< FNodeMatch > const& PriorM...
)

Looks through the supplied graph for a node that best matches the one specified.

Public function Static

FString

 

GetGraphPath

(
    UEdGraph* Graph
)

Computes an object path for a specific graph, relative to the blueprint/asset root

Public function Static

bool

 

IsNodeMatch

(
    UEdGraphNode* Node1,
    UEdGraphNode* Node2,
    bool bExactOnly,
    TArray< FGraphDiffControl::FNodeMat...
)

Returns true if the two Nodes are the same

Classes

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

Name

Description

Public enum

EDiffMode

What kind of diff are we performing

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