Java API to create UML diagrams

2019-06-07 16:13发布

问题:

Is there any Java API (Opensource) that can be used in drawing/creating UML diagrams.

JFreeChart is a Java API to draw charts/bars/graphs, similarly is there any tool to draw UML diagrams using Java ?

回答1:

Perhaps not specifically for UML diagrams but I have been using JUNG to create hierarchical graphs and am very happy with it. Take a look at the examples they have and see if it's useful for you.



回答2:

If you want to create class diagrams, this tutorial shows how to do it with eclipse draw2d.



回答3:

You could check the EMF-based implementation of the UMLTM 2.4.1 metamodel for the Eclipse platform.

This will allow you to create the UML diagrams. Then you could use any EMF-UML compatible tool to visualize them



回答4:

I was looking for a similar thing and then I found about this open source project called PlantUML. They have some good example and pretty much cover everything that you may have wanted.



标签: java uml