create_graph updated to new structures, but is_equivalent doesn't finish