Finding pairs of parallel lines from the graph.