set_node_attrs_ws function

Set node attributes with a node selection