I want to be able to create UML diagrams from source code, and I found UMMF - the UML Meta-Model Framework . However, I could not find any tutorial to start with creating a diagram with two classes and a simple relationship between them.
I am currently trying to create a simple diagram of two tables in relation to 1..n:

The XMI output for this diagram is quite detailed because I created the diagram with Enterprise Architect - you can find this XMI file here (I could not insert text here because it is too big)
I want to use UMMF because it creates XMI files based on the hierarchy of perl objects that are associated with OMG UML , and these files can be imported into any modeling tool that implements these standards.
So the question is, how can I create this diagram using UMMF ? - Itβs not necessary to be so complicated.
I need a chart:
- two tables
- at least one table:
- one field as a primary key
- one indexed field
- one regular field (not indexed)
- relationship between two tables
Also, if you are aware of the existence of any good Perl UMMF tutorials , please show us their links.
source share