Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UEdGraph |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraph.h |
| Include Path | #include "EdGraph/EdGraph.h" |
Syntax
UCLASS (MinimalAPI)
class UEdGraph : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraph
Derived Classes
UEdGraph derived class hierarchy
- UAIGraph
- UAnimationGraph
- UAnimationStateMachineGraph
- UBehaviorTreeDecoratorGraph
- UBlendSpaceGraph
- UDataflow
- UDataflowSubGraph
- UDataLinkEdGraph
- UEdGraph_ReferenceViewer
- UGameplayAbilityGraph
- UMaterialGraph
- UMetasoundEditorGraphBase
- UNiagaraGraph
- URigVMEdGraph
- USceneStateTransitionGraph
- USoundClassGraph
- USoundCueGraph
- USoundSubmixGraph
- UTG_EdGraph
- UObjectTreeGraph
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEdGraph
(
const FObjectInitializer& ObjectInitializer |
EdGraph/EdGraph.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowDeletion | uint32 | If true, graph can be deleted from the whatever container it is in. | EdGraph/EdGraph.h | |
| bAllowRenaming | uint32 | If true, graph can be renamed; Note: Graph can also be renamed if bAllowDeletion is true currently | EdGraph/EdGraph.h | |
| bEditable | uint32 | If true, graph can be edited by the user | EdGraph/EdGraph.h | |
| GraphGuid | FGuid | Guid for this graph | EdGraph/EdGraph.h | |
| InterfaceGuid | FGuid | Guid of interface graph this graph comes from (used for conforming) | EdGraph/EdGraph.h | |
| Nodes | TArray< TObjectPtr< class UEdGraphNode > > | Set of all nodes in this graph | EdGraph/EdGraph.h | |
| Schema | TSubclassOf< class UEdGraphSchema > | The schema that this graph obeys | EdGraph/EdGraph.h | |
| SubGraphs | TArray< TObjectPtr< class UEdGraph > > | Child graphs that are a part of this graph; the separation is purely visual | EdGraph/EdGraph.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnGraphChanged | FOnGraphChanged | A delegate that broadcasts a notification whenever the graph has changed. | EdGraph/EdGraph.h | |
| PropertyChangedNotifiers | FOnPropertyChanged | Delegate to call when a graph's property has changed | EdGraph/EdGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddNode
(
UEdGraphNode* NodeToAdd, |
Add a node to the graph | EdGraph/EdGraph.h | |
FDelegateHandle AddOnGraphChangedHandler
(
const FOnGraphChanged::FDelegate& InHandler |
Add a listener for OnGraphChanged events | EdGraph/EdGraph.h | |
FDelegateHandle AddPropertyChangedNotifier
(
const FOnPropertyChanged::FDelegate& InDelegate |
Add a delegate listening for property change notifications | EdGraph/EdGraph.h | |
NodeClass * CreateIntermediateNode() |
EdGraph/EdGraph.h | ||
| Get all children graphs in the specified graph | EdGraph/EdGraph.h | ||
UE::Slate::FDeprecateVector2DResult GetGoodPlaceForNewNode() |
Util to find a good place for a new node | EdGraph/EdGraph.h | |
void GetNodesOfClass
(
TArray< MinRequiredType* >& OutNodes |
Gets all the nodes in the graph of a given type | EdGraph/EdGraph.h | |
void GetNodesOfClassEx
(
TArray< ArrayElementType* >& OutNodes |
Finds all the nodes of a given minimum type in the graph | EdGraph/EdGraph.h | |
const UEdGraphSchema * GetSchema() |
Get the schema associated with this graph | EdGraph/EdGraph.h | |
void MoveNodesToAnotherGraph
(
UEdGraph* DestinationGraph, |
Move all nodes from this graph to another graph | EdGraph/EdGraph.h | |
virtual void NotifyGraphChanged () |
Signal to listeners that the graph has changed - prefer to use NotifyNodeChanged when updating a single node | EdGraph/EdGraph.h | |
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 | EdGraph/EdGraph.h | |
void NotifyPostChange
(
const FPropertyChangedEvent& PropertyChangedEvent, |
Notify the graph and associated listeners that a property has changed | EdGraph/EdGraph.h | |
void NotifyPreChange
(
const FString& PropertyName |
Notify the graph and its associated listeners that a property is about to change | EdGraph/EdGraph.h | |
bool RemoveNode
(
UEdGraphNode* NodeToRemove, |
Remove a node from this graph | EdGraph/EdGraph.h | |
void RemoveOnGraphChangedHandler
(
FDelegateHandle Handle |
Remove a listener for OnGraphChanged events | EdGraph/EdGraph.h | |
void RemovePropertyChangedNotifier
(
FDelegateHandle InHandle |
Remove a delegate listening for property changed notifications | EdGraph/EdGraph.h | |
void SelectNodeSet
(
TSet< const UEdGraphNode* > NodeSelection, |
Queues up a select operation for a series of nodes in this graph. | EdGraph/EdGraph.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| EdGraph/EdGraph.h | |||
virtual void PostInitProperties() |
EdGraph/EdGraph.h | ||
virtual void PostLoad() |
EdGraph/EdGraph.h | ||
virtual void Serialize
(
FStructuredArchiveRecord Record |
EdGraph/EdGraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEdGraphNode * CreateNode
(
TSubclassOf< UEdGraphNode > NewNodeClass, |
Creates an empty node in this graph. | EdGraph/EdGraph.h | |
UEdGraphNode * CreateNode
(
TSubclassOf< UEdGraphNode > NewNodeClass, |
EdGraph/EdGraph.h | ||
UEdGraphNode * CreateUserInvokedNode
(
TSubclassOf< UEdGraphNode > NewNodeClass, |
EdGraph/EdGraph.h | ||
virtual void NotifyGraphChanged
(
const FEdGraphEditAction& Action |
EdGraph/EdGraph.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Get parent outer graph, if it exists | EdGraph/EdGraph.h |