13#include "../../Source/third_party/nlohmann/json.hpp"
100 float posX,
float posY,
const std::string& nodeName =
"",
int*
outCreatedId =
nullptr);
103 void Undo()
override;
125 void Undo()
override;
144 void Undo()
override;
163 void Undo()
override;
181 void Undo()
override;
202 void Undo()
override;
222 void Undo()
override;
243 void Undo()
override;
ComponentTypeID GetComponentTypeID_Static()
CommandStack - Manages undo/redo command history Maintains two stacks for undo and redo operations.
std::vector< std::string > GetUndoStackDescriptions() const
std::string GetNextRedoDescription() const
std::string GetLastCommandDescription() const
std::vector< std::unique_ptr< EditorCommand > > m_RedoStack
std::vector< std::unique_ptr< EditorCommand > > m_UndoStack
const EditorCommand * GetLastCommand() const
std::vector< std::string > GetRedoStackDescriptions() const
size_t GetUndoStackSize() const
void ExecuteCommand(std::unique_ptr< EditorCommand > cmd)
size_t GetRedoStackSize() const
CreateNodeCommand - Command to create a new node in graph.
std::string GetDescription() const override
DeleteNodeCommand - Command to delete a node from graph.
std::string GetDescription() const override
DuplicateNodeCommand - Command to duplicate a node.
std::string GetDescription() const override
EditNodeCommand - Command to edit node properties (name, type-specific fields)
std::string GetDescription() const override
EditorCommand - Base class for all undoable editor commands Implements command pattern for undo/redo ...
virtual std::string GetDescription() const =0
virtual ~EditorCommand()=default
LinkNodesCommand - Command to create a link between nodes.
std::string GetDescription() const override
MoveNodeCommand - Command to move a node's position.
std::string GetDescription() const override
SetParameterCommand - Command to set a node parameter.
std::string GetDescription() const override
UnlinkNodesCommand - Command to remove a link between nodes.
std::string GetDescription() const override
< Provides AssetID and INVALID_ASSET_ID
@ Blueprint
.ats files (SubGraph/VisualScript)