Reimplement everything in term of folds. Implement edges iterators.
Improve graph mapping.