mutate_node_attrs function

Mutate a set of node attribute values