Added labels to nodes

Also refactored _new_nodes to take the anonymous functions out and turn
them into actual functions.

Transition on nodes now affects stroke width.