LINUX.ORG.RU

ubmrello: cpp to uml как?

 


0

3

Есть C++ код, нужно получить UML диаграмму. Помогите, пожалуйста, добраться до диаграммы класса.

В документации по umbrello (https://docs.kde.org/trunk4/en/kdesdk/umbrello/code-import.html) сказано, что можно исходный код на C++ превратить в UML диаграмму:

Umbrello UML Modeller can import source code from your existing projects to help you build Model of your systems. Umbrello UML Modeller 2 supports ActionScript, Ada, C++, C#, D, IDL, Java™, Javascript, MySQL, and Pascal source code.

To import classes into your Model, select the entry Code Importing Wizard... from the Code menu. In the file dialog select the files containing class declarations and press Next > then Start import and Finish. The classes will be imported and you will find them as part of your Model in the Tree View. Note that Umbrello UML Modeller will not create any kind of Diagram for showing your classes, they will only be imported into your Model so that you can use them later in any diagram you want.

Удалось someCode.h импортировать в проект на Umbrella ( Code Importing Wizard../Next/Start import/Finish), ну и сохранить его в xml, и все. Далее чего-то не получается в новый проект вставить этот xml и увидеть диаграмму.

Ответ на: комментарий от good_riddance

можно поподробнее --- по умолчанию doxygen просто генерирует диаграмму иерархии классов, но не диаграмму класса (поля и методы класса).

sci_reseacher
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.