Sounds like very cool new functionality. A couple of thoughts of common gameplay actions that it might represent:
Would the "merge groups" node be able to be used to handle returning a cube to the bag from your hand?
How would it handle "when the draw pile is exhausted, reshuffle the discard pile and return it to the draw pile"? Would the nodes handle that?