Each click will send a unit to all connected nodes (you can go negative)
Make all nodes non-negative (0 is fine)
This was made using p5.js, a JavaScript library for creative coding