15 , m_nodeType(nodeType)
16 , m_position(position)
Command for creating a node.
ComponentTypeID GetComponentTypeID_Static()
void Undo() override
Undo the command.
std::string GetDescription() const override
Get description of the command.
void Execute() override
Execute the command.
CreateNodeCommand(GraphDocument *graph, const std::string &nodeType, Vector2 position)
Main document class for a node graph.
bool DeleteNode(NodeId id)
Delete a node from the graph.
NodeId CreateNode(const std::string &nodeType, Vector2 pos)
Create a new node in the graph.
< Provides AssetID and INVALID_ASSET_ID