working on node2edges

incomplete.  Trying to convert 4-tuples of nodes to 3-tuples of edges.