redspider110 / text_sequence_diagram

Cross platform tool which convert text into beautiful sequence diagram. Online version: http://echoma.github.io/text_sequence_diagram/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text Sequence Diagram

A cross platform tool for drawing UML sequence diagram in simple text.

Snapshot

main_ui

render_ui

Pre-built Executables

Download page: Download

Online Version

You can also goto http://echoma.github.io/text_sequence_diagram/ for an online web-app.

Features

  • Simple pure text syntax to draw beautiful sequence diagram.
  • Cross platform, given by nw.js and HTML5.
  • Adjust the diagram view size and zoom ratio as you wish.
  • You can integrate the "text to diagram" library to your own application. See example_integeration.html for an very simple example.

Syntax

  • Title and Author and so on
Title @ v1.0 @ 20160415 @ Author
Title @ @ @ Author
  • Message
From Object -> To Object : Message Content
  • Return Message
From Object --> To Object : Message Content
  • Self Message
Object : Message Content
  • Bottom Description
[ Bottom Description Line 1 ]
[ Bottom Description Line 2 ]
  • Comment
# Comment Line
# Another Comment Line
  • Example:
Conn Server -> Safe Domain GW : single order request
Safe Domain GW -> Trade Gateway : authenticated
Trade Gateway -> Logic Control : internal protocol
Logic Control --> Trade Gateway : success response
Trade Gateway --> Safe Domain GW : success response
Safe Domain GW --> Conn Server : response

About

Cross platform tool which convert text into beautiful sequence diagram. Online version: http://echoma.github.io/text_sequence_diagram/


Languages

Language:JavaScript 50.4%Language:CSS 24.5%Language:HTML 24.1%Language:Shell 1.1%