set node's parent edge