Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm looking for something along the lines of WebSequenceDiagram for other kinds of UML diagram types -- use cases and class diagrams in particular.

For example, the service would accept plain text input such as:

user = Actor();
admin = Actor();
register = UseCase(user);
post = UseCase(user, admin);
post_poll = UseCase(user, admin).extend(post);

...and get the corresponding image output, without having me worry about laying out the result.

share|improve this question
Bounty is for Guilluame. Plantuml is being amazing. –  badp Nov 17 '10 at 14:33

3 Answers 3

up vote 13 down vote accepted

Plantuml ?

PlantUML is a component that allows to quickly write :

* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram

Diagrams are defined using a simple and intuitive language.

They can be generated in PNG or SVG format. It is also possible to generate ASCII art diagrams (only for sequence diagrams).


@startuml img/usecase_img01.png

User -> (Start)
User --> (Use the application) : A small label

:Main Admin: ---> (Use the application) : This is\nyet another\nlabel


plantum imagel


@startuml img/classes04.png

abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection

List <|-- AbstractList
Collection <|-- AbstractCollection

Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList

ArrayList : Object[] elementData
ArrayList : size()

enum TimeUnit
TimeUnit : DAYS
TimeUnit : HOURS
TimeUnit : MINUTES


alt text

share|improve this answer

For completeness I'll mention UMLGraph, it allows you to create class diagrams and sequence diagrams based on a java-like input files. It does not support use case diagrams at the moment.

share|improve this answer

If you want to make diagram fast, you may try Red Koda Community. Easy to install and use. It's really faster if you like short-cut key types product like photoshop.link text

share|improve this answer
From limited documentation on the above site it seems that the product is just another graphical UML editor with no support for declarative specification. –  JPS Mar 23 '13 at 11:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.