Navigation
Unreal Engine C++ API Reference > Runtime > Engine > EdGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraph
- UAIGraph
- UBehaviorTreeGraph
- UConversationGraph
- UEnvironmentQueryGraph
- UAnimationGraph
- UAnimationBlendSpaceSampleGraph
- UAnimationCustomTransitionGraph
- UAnimationStateGraph
- UAnimationTransitionGraph
- UAnimationStateMachineGraph
- UBehaviorTreeDecoratorGraph
- UBlendSpaceGraph
- UCustomizableObjectGraph
- UDataflow
- UEdGraph_ReferenceViewer
- UGameplayAbilityGraph
- UMaterialGraph
- UMetasoundEditorGraphBase
- UMetasoundEditorGraph
- UNiagaraGraph
- URigVMEdGraph
- UControlRigGraph
- USoundClassGraph
- USoundCueGraph
- USoundSubmixGraph
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraph.h |
Include | #include "EdGraph/EdGraph.h" |
Syntax
class UEdGraph : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bAllowDeletion | If true, graph can be deleted from the whatever container it is in. |
![]() |
uint32: 1 | bAllowRenaming | If true, graph can be renamed; Note: Graph can also be renamed if bAllowDeletion is true currently |
![]() |
uint32: 1 | bEditable | If true, graph can be edited by the user |
![]() |
FGuid | GraphGuid | Guid for this graph |
![]() |
FGuid | InterfaceGuid | Guid of interface graph this graph comes from (used for conforming) |
![]() |
TArray< TObjectPtr< class UEdGraphNode > > | Nodes | Set of all nodes in this graph |
![]() |
TSubclassOf< class UEdGraphSchema > | Schema | The schema that this graph obeys |
![]() |
TArray< TObjectPtr< class UEdGraph > > | SubGraphs | Child graphs that are a part of this graph; the separation is purely visual |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UEdGraph
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddNode
(
UEdGraphNode* NodeToAdd, |
Add a node to the graph |
![]() |
FDelegateHandle | AddOnGraphChangedHandler
(
const FOnGraphChanged::FDelegate& InHandler |
Add a listener for OnGraphChanged events |
![]() |
FDelegateHandle | AddPropertyChangedNotifier
(
const FOnPropertyChanged::FDelegate& InDelegate |
Add a delegate listening for property change notifications |
![]() |
NodeClass * | ||
![]() |
UEdGraphNode * | CreateNode
(
TSubclassOf< UEdGraphNode > NewNodeClass, |
Creates an empty node in this graph. |
![]() |
UEdGraphNode * | CreateNode
(
TSubclassOf< UEdGraphNode > NewNodeClass, |
|
![]() |
UEdGraphNode * | CreateUserInvokedNode
(
TSubclassOf< UEdGraphNode > NewNodeClass, |
|
![]() ![]() |
void | GetAllChildrenGraphs
(
TArray< UEdGraph* >& Graphs |
Get all children graphs in the specified graph |
![]() |
FVector2D | Util to find a good place for a new node | |
![]() ![]() |
void | GetNodesOfClass
(
TArray< MinRequiredType* >& OutNodes |
Gets all the nodes in the graph of a given type |
![]() ![]() |
void | GetNodesOfClassEx
(
TArray< ArrayElementType* >& OutNodes |
Finds all the nodes of a given minimum type in the graph |
![]() ![]() |
UEdGraph * | GetOuterGraph
(
UObject* Obj |
Get parent outer graph, if it exists |
![]() ![]() |
const UEdGraphSchema * | GetSchema () |
Get the schema associated with this graph |
![]() |
void | MoveNodesToAnotherGraph
(
UEdGraph* DestinationGraph, |
Move all nodes from this graph to another graph |
![]() ![]() |
void | NotifyGraphChanged
(
const FEdGraphEditAction& Action |
|
![]() ![]() |
void | Signal to listeners that the graph has changed - prefer to use NotifyNodeChanged when updating a single node | |
![]() |
void | NotifyNodeChanged
(
const UEdGraphNode* Node |
Signal to listeners that a node has changed in the graph - commonly used to get UI up to date with a data change |
![]() |
void | NotifyPostChange
(
const FPropertyChangedEvent& PropertyChangedEvent, |
Notify the graph and associated listeners that a property has changed |
![]() |
void | NotifyPreChange
(
const FString& PropertyName |
Notify the graph and its associated listeners that a property is about to change |
![]() |
bool | RemoveNode
(
UEdGraphNode* NodeToRemove, |
Remove a node from this graph |
![]() |
void | RemoveOnGraphChangedHandler
(
FDelegateHandle Handle |
Remove a listener for OnGraphChanged events |
![]() |
void | RemovePropertyChangedNotifier
(
FDelegateHandle InHandle |
Remove a delegate listening for property changed notifications |
![]() |
void | SelectNodeSet
(
TSet< const UEdGraphNode* > NodeSelection, |
Queues up a select operation for a series of nodes in this graph. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | BuildSubobjectMapping
(
UObject* OtherObject, |
Given OtherObject (which will be the same type as 'this'), recursively find any matching sub-objects from 'this' that also exist within OtherObject, and add the mappings to ObjectMapping. |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | |
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
![]() ![]() |
void | Serialize
(
FStructuredArchiveRecord Record |
Handles reading, writing, and reference collecting using FArchive. |