Is there a tools or plugin which generates UML class Diagram from grails domain Model?
Asked
Active
Viewed 2,761 times
2 Answers
4
If you have option to use Intellij IDEA, you can just view the UML from 'Domain Class Dependencies' bottom tab for any domain class opened in editor.

Shafiul
- 1,452
- 14
- 21
3
There is a grails plugin :
http://www.grails.org/plugin/create-domain-uml .
Install it via the following command :
grails install-plugin create-domain-uml
To run the plugin:
grails create-domain-uml
This will create a file DomainUML.html in your project root which contains the diagrams.
you can see also : http://www.svenlange.co.za/2010/01/generating-uml-class-diagrams-from-grails-domain-model/

Abdennour TOUMI
- 87,526
- 38
- 249
- 254
-
It do not work for grails3 or grails4. I can not run install-plugin command in grails3/4. The see also link is broken. – Bob Yang Apr 07 '20 at 09:02
-
This was about grails 2. For grails 3/4, it needs test – Abdennour TOUMI Apr 07 '20 at 21:00
-
@BobYang the question is from 2013... can't expect that to work today. – Pablo Pazos Aug 12 '22 at 00:26
-
Yeah! longtime almost 10 years .. But give a try & good luck – Abdennour TOUMI Aug 12 '22 at 05:35