The PyUML Generator is a powerful and intuitive extension that empowers developers by automatically generating UML Class Diagrams from their Python code. Leveraging the potential of PlantUML, a proven tool for creating simplified UML diagrams, this extension transcribes your Python classes, their at
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Generate UML Class Diagrams from your Python code using this Visual Studio Code extension. The extension automatically creates PlantUML-compatible text files that represent your Python classes, their attributes, methods, and relationships.
Right-click to Generate: Simply right-click on any .py file in the explorer and choose "Generate UML". A .txt file containing the PlantUML diagram will be created in the same directory.
Simple Yet Informative: The generated UML diagrams provide a clear, visual representation of your Python classes. They show class names, attributes, and methods.
Tip: Utilize the power of PlantUML by easily converting these generated .txt files into visual diagrams using PlantUML tools or extensions.
Make sure you have Visual Studio Code installed.
Install this extension from the VS Code Marketplace.
No additional dependencies are required.
Currently, this extension doesn't provide additional settings. It's designed to work out of the box. Future releases may include customization options.
The parser is basic and may not properly handle complex Python syntax or coding styles.
No support for inheritance or other class relationships yet.
Initial release with basic Python class, attribute, and method support.