The pyppet developer have mixing node visual system and google blocky programing system really interesting for visual programing more info here:
this is called Scartch and is actually less convenient than it seems.
Stencyl uses it.
http://www.stencyl.com/
If you want a better system to this approach to programming- check out
https://www.scirra.com/
It’s much easier to organize, debug and understand.