Make a companion function for edge_links that unzips edges from vs.

This function is designed to be at a slightly higher level than other functions nearby. Handling both open and closed loop cases.