add edge support, given sg_edges which is assumed to be list of events