Skip to content
Advertisement

Tag: uml

How to get a Class and Definitions diagram from Python code?

I have a large multi-file Python application I’d like to document graphically. But first, I made a small “dummy” app to test out different UML packages. (Note: I do have graphviz installed and in the path). Here’s my “dummy” code: Here are the different pyreverse command-line codes I’ve used to get varying charts. I’ll post the chart that came closest

Positioning of classes in UML diagram

I’m creating a tool for displaying Python project as an UML diagram (+ displaying some code error detection using GUI). I scan some project using Pyreverse and I have all data I need for drawing UML diagram. The problem is positioning of the class boxes on the canvas. For a start, I decided to use already implemented force based algorithm

Advertisement