setup public d3plus.edges.connections function