Nodes change color on selection. Automatic change of state between addin...

...g nodes and adding edges.