bafolts / plantcode

Provides a javascript utility to generate code in various languages given a plantuml class diagram.
https://segmentationfaults.com/plantcode
MIT License
217 stars 42 forks source link

Suggestion: create XMI output to open the way to use other tools #15

Open jean opened 5 years ago

jean commented 5 years ago

In addition to generating code from templates, generate XMI representing the UML diagram. There are many tools that can parse this. See e.g. http://agx.me/ (doc source) and related packages.

That project implements UML profiles to generate various kinds of projects and Python structures (apps using the Pyramid web framework, content types for the Plone CMS, SQLAlchemy classes, etc.) from class diagrams.

If plantuml-code-generator generated UML in XMI format, then the output could be further processed using tools like AGX.

It would also allow sketching diagrams in PlantUML before importing them to more unwieldy full-featured tools.