1 of 3
tap the node. it turns a quarter turn, the way the switch says.
2 of 3
if it then points at a neighbor, that one turns too and takes the tapped color.
tap the first node.
3 of 3
make every node one color, in as few moves as you can.
one move can do it here.