Class diagram generator.