[x] a way to get inputs from an existing array of nodes
[x] getBlocksOfShape(stack/etc...) - I have no idea how to go about this, I guess I'd have to look at the path shapes themselves.
[x] a generic helper method that takes 2 arrays and outputs the common items (does JS not already have that?) - no longer relevant now that we're mostly using classes
[x] a method that adds shape and category classes to each block automatically. Or maybe not even a method, maybe it happens every time onChange runs, Maybe have an option to enable/disable in the constructor
anyone else--feel free to suggest more in the comments below
getAllBlocks
-ignores shadow blocks?getAllInputs
getInputsOfType(string-all-text/number/color/boolean)
getBlocksOfShape(stack/etc...)
- I have no idea how to go about this, I guess I'd have to look at the path shapes themselves.a generic helper method that takes 2 arrays and outputs the common items (does JS not already have that?)- no longer relevant now that we're mostly using classesanyone else--feel free to suggest more in the comments below