Class diagram generator