Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rendering UML diagrams from text files [closed]

Is there any good tool or tool-chain that allows UML images in the .svg format to be created from a textual source file? The reason for this question is that I want to automate the generation of these images to avoid having to manually create and update this set of images.

like image 727
Per Ersson Avatar asked Oct 11 '08 22:10

Per Ersson


People also ask

How do I open an .UML file?

Go to File > Import > StarUML 1 File (. uml) ... And then select your file. It will appear at the bottom in "Diagram thumbnails" and then if you double click it, then it should open in model explorer.

What is Nomnoml?

Hello, this is nomnoml, a tool for drawing UML diagrams based on a simple syntax. It tries to keep its syntax visually as close as possible to the generated UML diagram without resorting to ASCII drawings. Created by Daniel Kallin with help from a group of contributors.

How do I display a UML diagram?

You can press Ctrl+F12 on the element to view a list of diagram elements and navigate between them. To see the list of methods, fields, and other code elements, select the appropriate icon on the diagram toolbar located on top of the diagram editor.

How do I open an .UML file online?

For full syntax of the text file, see: http://plantuml.sourceforge.net/index.html 1. Install the extension from Chrome Web Store. 2. Open text file from web server with UML diagram definition in browser (the text starts with @startuml).


4 Answers

I've created a list of tools that accept a textual model description as input here:

http://modeling-languages.com/uml-tools-textual-notations-define-uml-models/

like image 136
Jordi Cabot Avatar answered Sep 19 '22 05:09

Jordi Cabot


PlantUML is a good tool which converts text into standardized uml diagrams.

you have this as a plugin for confluenze

like image 37
Sriganesh Navaneethakrishnan Avatar answered Sep 19 '22 05:09

Sriganesh Navaneethakrishnan


UMLGraph is a program for generating UML diagrams (primarily Class Diagrams and Sequence Diagrams) from text based descriptions. It is intended to be used with java source code, but with some alterations, C++ style source code can also be used as described by this blog entry.

Quote from the UMLGraph website:

The GNU plotutils pic2plot program can then process the sequence diagram to create a PNG, PNM, (pseudo)GIF, SVG, AI, Postscript, CGM, FIG, PCL, HPGL, Regis, or TEK drawing.

like image 35
J c Avatar answered Sep 18 '22 05:09

J c


There is another tool called as JS Sequence Diagrams, to allow generation of UML sequence diagrams from simple text.

It uses underscore.js and Raphaël to build the diagrams.

It is Simplified BSD licensed and the source code available at GitHub

like image 40
Pranav 웃 Avatar answered Sep 21 '22 05:09

Pranav 웃