added relationships between intersections and edges