Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Language to create flowcharts [closed]

Tags:

dsl

flowchart

This seems like something which must have been answered before, but I can't find anything appropriate in the question archives. Basically, I'm looking for a little Domain Specific Language to create flowcharts. I'm terrible at graphic design and making things look nice, and I'd really like a langauge where I could write something in code and it would produce a pretty flowchart. I've come across GraphViz, but it seems more suited to creating things like Finite State Machine diagrams, rather than process flowcharts. It also doesn't have the simple DSL-style front-end that would allow me to easily work it.

Any ideas?

like image 565
robintw Avatar asked Nov 15 '09 18:11

robintw


1 Answers

Have a look at PlantUml - in particular their Activity State diagrams.

As an example (from their site) produces the image below:

@startuml

start

if (graphviz installed?) then (yes)
  :process all\ndiagrams;
else (no)
  :process only
  __sequence__ and __activity__ diagrams;
endif

stop

@enduml

enter image description here

like image 142
Andy Avatar answered Nov 07 '22 17:11

Andy