16 , m_wasExecuted(
false)
Command for deleting a node.
ComponentTypeID GetComponentTypeID_Static()
std::string GetDescription() const override
Get description of the command.
std::vector< LinkData > m_savedLinks
DeleteNodeCommand(GraphDocument *graph, NodeId nodeId)
void Undo() override
Undo the command.
void Execute() override
Execute the command.
Main document class for a node graph.
bool DeleteNode(NodeId id)
Delete a node from the graph.
const std::vector< LinkData > & GetLinks() const
std::vector< NodeData > & GetNodesRef()
NodeData * GetNode(NodeId id)
Get a node by ID.
< Provides AssetID and INVALID_ASSET_ID