baklavajs icon indicating copy to clipboard operation
baklavajs copied to clipboard

Prefabs or Multi-Node Nodes?

Open Thevetat opened this issue 3 years ago • 1 comments

Is it possible to define a prefab, or a multi-node node setup for the user to select?

A subgraph could potentially work for this, but I was thinking more in terms of a single item in the node select, when dragged out, displays say 3 components prewired and setup a certain way.

Love this framework so far, thank you for all of your effort.

Thevetat avatar Apr 01 '23 20:04 Thevetat

Thanks for the feedback! I don't think it's possible at the moment, at least not "from the outside" (i.e. when using the library). The functionality probably has to be implemented in the library itself. At least I can't think of a good way to implement this using any events or hooks and also you'd need to display additional entries in the NodePalette, which isn't really possible at the moment.

Since I like the idea, I'll put it into the backlog. But due to the limited time I have available for Baklava at the moment, it'll probably take a while until I can implement it.

newcat avatar Apr 07 '23 19:04 newcat