Add label to nodes.