Canvas: Command nodes

Use case or problem

Canvas is an excellent interface for ad-hoc data organization and connection.
The ability to create canvas command nodes would make it an amazing lightweight workflow tool.

Proposed solution

Command node would be a special node type. It has a run/stop button, accepts front-matter props as parameters.
Inbound arrows can be inputs to the command. If the command produces an output, it can be attached with an outbound arrow.


This idea came up in discussion of AI context features for Chat Stream plugin. There is an example pictured there.
If Obsidian supported command nodes, Chat Stream would add commands for merging ancestor nodes, AI completion, splitting nodes, etc.