Converter from combinatorial maps to graphs