show how to add values to a node or a edge