Nodes change color on selection. Automatic change of state between adding nodes and adding edges.