ComponentTypeID GetComponentTypeID_Static()
Command for moving a node.
Main document class for a node graph.
bool UpdateNodePosition(NodeId id, Vector2 newPos)
Update node position.
void Undo() override
Undo the command.
void Execute() override
Execute the command.
MoveNodeCommand(GraphDocument *graph, NodeId nodeId, Vector2 oldPos, Vector2 newPos)
std::string GetDescription() const override
Get description of the command.
< Provides AssetID and INVALID_ASSET_ID