Library for programmatically creating class diagram picture with java? -
is there library in java allows me programmatically create class diagram fetched data (similar diagram below)? specifically, want create database reference diagram (image below).
edit: prevent misunderstanding, did not want uml diagram of java code. rather, want generate diagrams data got database (via java) , output them in image form.
in 2 steps , can create diagrams based on object/table relationships.
step 1: use dot (graph description language) create graph representation of relationships.
dot plain text graph description language. simple way of describing graphs both humans , computer programs can use. syntax easy learn. create file create text file using preferred programming language.
step 2: use dot reader libraries render picture.
there lot of libraries available render dot file.
graphviz - collection of libraries , utilities manipulate , render graphs canviz - javascript library rendering dot files. viz.js - simple graphviz javascript client grappa - java wrapper using graphviz libraries. beluging - python & google cloud based viewer of dot , beluga extensions. tulip can import dot files analysis omnigraffle can import subset of dot, producing editable document. (the result cannot exported dot, however.) zgrviewer, graphviz/dot viewer link vizierfx, flex graph rendering library link gephi - interactive visualization , exploration platform kinds of networks , complex systems, dynamic , hierarchical graphs
Comments
Post a Comment