Diagram generator for MongoMapper.