Hack the Grid

Activate all the nodes by toggling them and their adjacent nodes. Can you solve the puzzle?