playbenny / benny

a live music environment
Other
65 stars 3 forks source link

delete (+all things only connected to the deleted block(s)) - delete tree? perhaps #447

Closed jamesholdenmusic closed 1 month ago

jamesholdenmusic commented 1 month ago

ctrl-del could delete block(s) and anything they're connected to that's not connected to anything else

make list of all blocks that are connected to what you deleted, separated by ins and outs. after deleting, go through list and if any of those have 0 inputs or 0 outputs now, also delete them -> by performing the same process, recursively..