2

I'm looking for a Java 2D graphics library to draw a E-R Diagram from a MySQL database, anyone know something like that?

  • With a 2D Java library graphic I need to draw entities, relationships, foreign keys, primary keys, and attributes.
  • Optionally, the entities maybe be dragged in the diagram.

I would use Graphics2D for Java? What do you think? Any recommendations?

Thanks.

DVK
  • 126,886
  • 32
  • 213
  • 327
chroman
  • 1,534
  • 12
  • 18

2 Answers2

3

You might have a look at JGraph.

trashgod
  • 203,806
  • 29
  • 246
  • 1,045
1

If you just want to draw E/R diagrams for MySQL, I'd recommend trying MySQL Workbench.

If your objective is to learn Java 2D or OpenGL, have at it.

duffymo
  • 305,152
  • 44
  • 369
  • 561