Diagram in Web Browser

有的时候,一图胜千言。写文档的时候,如果可以像写代码一样“写”出款图来,那是很好的。

js-sequence

有一个手写体(handwritten)的风格。

flowchart.js

Mermaid

支持的图标类型:

  • Flowchart
  • Sequence diagram
  • Class diagram
  • State Diagram
  • Entity Relationship Diagram
  • Gantt Chart
  • Pie Chart

PlantUML

GraphViz

builds Graphviz with Emscripten and provides a simple wrapper.

Ditaa

用 ascii 字符画框图,用 Ditaa 转换成图像。

其网站上所举的例子如下:

    +--------+   +-------+    +-------+
    |        | --+ ditaa +--> |       |
    |  Text  |   +-------+    |diagram|
    |Document|   |!magic!|    |       |
    |     {d}|   |       |    |       |
    +---+----+   +-------+    +-------+
        :                         ^
        |       Lots of work      |
        +-------------------------+