Added graph.deleteSegment(segment)