niklauslee / staruml-python

StarUML Extension for Python Code Generation
MIT License
98 stars 31 forks source link

LOOKING FOR A NEW MAINTAINER

If you are interested to be a new maintainer, please create an issue with the title "Become a new maintainer".

Python Extension for StarUML

This extension for StarUML(http://staruml.io) support to generate Python code from UML model. Install this extension from Extension Manager of StarUML.

Python Code Generation

  1. Click the menu (Tools > Python > Generate Code...)
  2. Select a base model (or package) that will be generated to Python.
  3. Select a folder where generated Python source files (.py) will be placed.

Belows are the rules to convert from UML model elements to Python source codes.

UMLPackage

UMLClass, UMLInterface

UMLEnumeration

UMLAttribute, UMLAssociationEnd

UMLOperation

UMLGeneralization, UMLInterfaceRealization