38 return "Connect Pins";
Command for connecting pins.
ComponentTypeID GetComponentTypeID_Static()
ConnectPinsCommand(GraphDocument *graph, PinId fromPin, PinId toPin)
void Undo() override
Undo the command.
void Execute() override
Execute the command.
std::string GetDescription() const override
Get description of the command.
Main document class for a node graph.
LinkId ConnectPins(PinId fromPin, PinId toPin)
Connect two pins with a link.
bool DisconnectLink(LinkId id)
Disconnect a link.
< Provides AssetID and INVALID_ASSET_ID