Text To Sequence Diagram
The DSL to define sequence diagrams in ZenUML. I started using sequence diagrams heavily around 2006. Since then, I have tried quite a few tools, including PlantUML. I like the idea of generating diagrams from text because I hate to constantly drag-and-drop and double-click to edit names etc. One thing I am not quite happy with PlantUML is its DSL. A simple javascript library to turn text into vector UML sequence diagrams. Heavily inspired by websequencediagrams.com, who offer a serverside solution. We use Jison to parse the text, and Snap.svg to draw the image. Second, a sequence of messages can be declared to be a fragment of the diagram. A fragment is represented by a frame surrounding those messages. It has a type (for example: alt, cond, or opt), appearing in the top-left corner, and a text, appearing in square brackets at the top of the frame. The text typically represents a condition.
Convert Simple Text to UML Sequence Diagram via Open Source Free JavaScript Library.

- If you decide to add use case text to your sequence diagram, add it in the left margin of the diagram as shown in Figure 3. Step 3: Select Classes to Carry out the System Response When choosing the classes that carry out the system response, you need to examine each step of the use case and add the appropriate classes to the diagram.
- Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs. Mermaid lets you create diagrams and visualizations using text and code. It is a Javascript based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically.
Overview
JS-Sequence-Diagrams give software developers the capability to generate UML sequence diagrams from simple text via open source JavaScript library. A sequence diagram shows the objects and classes involved in the development and the order of messages exchanged between the objects. The library uses Jison to parse the text, and Snap.svg to draw the image.
It draws simple SVG sequence diagrams from the textual representation of the diagram. The library includes two styles to render the diagram, the “normal” and the “hand-drawn”. There are several CSS classes provided for SVG diagram customization.
At A Glance
An overview of JS Sequence Diagrams features.
- Generate Diagram
- Text to Diagram
- UML Diagram
- Style Diagram
- Diagram to SVG
- Customized Diagram
Getting Started with JS Sequence Diagrams
The recommended way to install JS Sequence Diagrams is to run bower install bramp/js-sequence-diagrams and include the scripts below:

also, import the CSS if you plan to use the hand-drawn theme:
Import CSS plan for a hand-drawn theme
Composer offers a convenient installer that you can execute directly from the command line. Feel free to download this file or review it on GitHub.

Generate UML Sequence Diagrams from Simple Text
JS Sequence Diagrams library enables software developers to generate UML sequence diagrams from simple text. The library allows you to add diagram title and place notes over multiple participants. The latest release uses Snap.svg along with Raphaël for drawing the diagrams. Snap.svg is a pure SVG implementation and permits the usage of CSS styling, better font support, animations and more.
Export Diagram to SVG via JavaScript API

JS Sequence Diagrams provides features for exporting diagrams to SVG via open source JavaScript API. Once the diagram is created, the API allows users to download it in the SVG format into the location of their choice. JS Sequence Diagrams has included several important CSS classes that can be applied to the SVG diagram when using snap.svg. It has included sequence classes for applying to main SVG tag, title class for the title of the diagram, actor class for applying to the actors, note class for all notes and signal class for applying to the signals.
A comprehensive list of various text to diagram tools.
Markdeephttps://casual-effects.com/markdeep/
markdown, ascii-to-allSvgbobhttps://ivanceras.github.io/svgbob-editor/
ascii-to-allasciigridhttps://mbarkhau.keybase.pub/asciigrid/
ascii-to-all
draw in ascii in left panel and see the diagram in right panel. uses svgbobArchetypehttps://fatiherikli.github.io/archetype/
ascii-drawingTextikhttps://textik.com/
ascii-drawingASCIIFlowhttp://asciiflow.com/
ascii-drawingtextikhttps://textik.com/
ascii-drawingfsymbolshttps://fsymbols.com/draw/
ascii-drawingPikchrhttps://pikchr.org/home/pikchrshow
allKrokihttps://kroki.io/
BlockDiag, SeqDiag, ActDiag, NwDiag, PacketDiag, RackDiag, BPMN, Bytefield, PlantUML, Ditaa, Erd, Excalidraw, GraphViz, Mermaid, Nomnoml, PlantUML, SvgBob, UMLet, Vega, Vega-Lite, WaveDrommscgen_jshttps://mscgen.js.org/
sequenceBPMN Sketch Minerhttps://www.bpmn-sketch-miner.ai/
BPMN/flowdagre-svghttps://andrewfulrich.gitlab.io/dagre-svg/
graph
Source: https://gitlab.com/andrewfulrich/dagre-svgWebgraphvizhttp://www.webgraphviz.com/
graphvizViz.jshttp://viz-js.com/
graphvizEdotorhttps://edotor.net/
graphviznomnomlhttp://www.nomnoml.com/
activity, class
Source: https://github.com/skanaar/nomnomlCodeUMLhttp://codeuml.com/ (dead)
uml
Source: https://github.com/oazabir/codeumlyumlhttps://yuml.me/diagram/scruffy/class/draw
umlPlantTexthttp://www.planttext.com/planttext
activity, class, component, object, use case, state, graphviz, sequence, gui, earthPlantUMLhttp://www.plantuml.com/plantuml/uml/
activity, class, component, object, use-case, sequence, state, deployment, timing, gui, archimate, gantt, mindmap, tree, math, entity-relationshipUmple Onlinehttp://cruise.site.uottawa.ca/umpleonline/
class, state, compositeZenUMLhttps://app.zenuml.com/
sequenceDotUMLhttps://dotuml.com/playground.html
class, use case, sequence, state, deployment, graphvizQuickDBDhttps://app.quickdatabasediagrams.com/#/
entity-relationshipdbdiagramhttps://dbdiagram.io/d
entity-relationshipWebSequenceDiagramshttps://www.websequencediagrams.com/
sequenceSVG Sequence Diagramhttp://sullerandras.github.io/SVG-Sequence-Diagram/
sequenceJUMLYhttp://jumly.tmtk.net (dead)
sequence
Source: https://github.com/tmtk75/jumlyjs sequence diagramshttp://bramp.github.io/js-sequence-diagrams/
sequenceswimlaneshttps://swimlanes.io/
sequenceSequenceDiagramhttps://sequencediagram.org/
sequenceGraphUphttps://graphup.co/ (broken)
sequence, ganttDiagwizhttps://diagwiz.io/playground/
ascii sequenceText Diagramhttp://weidagang.github.io/text-diagram/
ascii sequence
Source: https://github.com/weidagang/text-diagramASCII Sequence Diagram Creatorhttps://textart.io/sequence
ascii sequenceChart Magehttp://chartmage.com/index.html
sequence, flowflowchart.jshttp://flowchart.js.org/
flowdrawthehttp://go.drawthe.net/
network
Source: https://github.com/cidrblock/drawthe.netmermaidhttps://mermaid-js.github.io/mermaid-live-editor/
flow, sequence, class, state, entity-relationship, gantt, pie, journeyDiagram.codeshttps://www.diagram.codes/
flow, sequence, graph, tree, onion, stack, system, timeline, mindmapBlockdiaghttp://interactive.blockdiag.com/
block, activity, network, rack/stack, packetstate machine cathttps://state-machine-cat.js.org/
state
Source: https://github.com/sverweij/state-machine-catXState Visualizerhttps://xstate.js.org/viz/
state
Source: https://github.com/davidkpiano/xstateMetaUMLhttps://metauml.denksoft.com (dead)
Railroad Diagram Generatorhttp://www.bottlecaps.de/rr/ui#_StringLiteral
railroad/syntaxGleekhttps://www.gleek.io/
architecture, sequence, entity-relationship, classIlographhttps://app.ilograph.com/
architectureStructurizrhttps://structurizr.com/dsl
architecturePenrosehttps://github.com/penrose/penrose
penrosecode2flowhttps://app.code2flow.com/
flowflowchart.funhttps://flowchart.fun/
flowWaveDromhttps://wavedrom.com/editor.html
timingCLI Text to Diagram Tools
- perl graph-easyhttp://bloodgate.com/perl/graph/index.html #cli
flow
Doc: https://developpaper.com/recommend-a-tool-for-making-ascii-flow-chart-graph-easy
Example:graph-easy <<< [node 1]->[some text]-[this][node 1]->[branch]
- perl graph-easyhttp://bloodgate.com/perl/graph/index.html #cli
Text To Sequence Diagrams
This list is being maintained with Dynalist