exposing all_edges feature (issue #2)