文字->图表工具

发布于 2024-08-30 02:23:02 字数 126 浏览 1 评论 0原文

我正在寻找一个图表工具,用于从文本生成图表。我现在只需要序列和状态类型图,但我很好奇人们会推荐什么?我需要一些独立的工具,而不是可在 Linux、OSX 和 Windows 上运行的基于 Web 的工具。

I'm looking for an diagram tool for producing diagrams from text. I only really need sequence and state type diagrams for now, but I'm curious as to what people would recommend? I need something which is standalone, not a web based tool that works on Linux, OSX and Windows.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

白衬杉格子梦 2024-09-06 02:23:02

我不确定你所说的“从文本生成图表”是什么意思,但如果你的意思是一个由文本文件指定图表的工具,Graphviz 很好。如果您的意思是将 ascii 艺术字面转换

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

为图形:

在此处输入图像描述

您可以尝试 ditaa (ascii 艺术来自他们的网站,所以这是它期望的输入格式的一个很好的例子)

I'm not positive what you mean by "producing diagrams from text", but if you mean a tool where diagrams are specified by a text file, Graphviz is good. If you mean something that literally converts ascii art like

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

to a graphic:

enter image description here

You can try ditaa (that ascii art is from their website, so it's a good example of the input format it expects)

淡笑忘祈一世凡恋 2024-09-06 02:23:02

看看 PlantUML、LaTeX+MetaUML、sdedit、TextUML、yUML、...
有很多非常好的工具。

Look at PlantUML, LaTeX+MetaUML, sdedit, TextUML, yUML, ...
There is a plenty of quite good tools.

心碎的声音 2024-09-06 02:23:02

我推荐 TextDiagram http://weidagang.github.com/text-diagram/。它从纯文本创建 UML 序列图。

示例输入

object April Todd Monad
note left of April: Lunch is ready
April->Todd: Todd, what are you doing?
note right of Todd: Programming @_@
Todd->April: Well, I'm programming.
April->Monad: And you?
Monad->April: I'm reading book.
April->Monad: Good boy!
note right of Monad: Smile ^_^

产生:

               +-------+                       +-------+               +-------+
               | April |                       | Todd  |               | Monad |
               +-------+                       +-------+               +-------+
-----------------\ |                               |                       |
| Lunch is ready |-|                               |                       |
------------------ |                               |                       |
                   |                               |                       |
                   | Todd, what are you doing?     |                       |
                   |------------------------------>|                       |
                   |                               | ------------------\   |
                   |                               |-| Programming @_@ |   |
                   |                               | -------------------   |
                   |                               |                       |
                   |        Well, I'm programming. |                       |
                   |<------------------------------|                       |
                   |                               |                       |
                   | And you?                      |                       |
                   |------------------------------------------------------>|
                   |                               |                       |
                   |                               |     I'm reading book. |
                   |<------------------------------------------------------|
                   |                               |                       |
                   | Good boy!                     |                       |
                   |------------------------------------------------------>|
                   |                               |                       | ------------\
                   |                               |                       |-| Smile ^_^ |
                   |                               |                       | -------------
                   |                               |                       |

I recommend TextDiagram http://weidagang.github.com/text-diagram/. It creates UML sequence diagram from pure text.

Example input

object April Todd Monad
note left of April: Lunch is ready
April->Todd: Todd, what are you doing?
note right of Todd: Programming @_@
Todd->April: Well, I'm programming.
April->Monad: And you?
Monad->April: I'm reading book.
April->Monad: Good boy!
note right of Monad: Smile ^_^

produces:

               +-------+                       +-------+               +-------+
               | April |                       | Todd  |               | Monad |
               +-------+                       +-------+               +-------+
-----------------\ |                               |                       |
| Lunch is ready |-|                               |                       |
------------------ |                               |                       |
                   |                               |                       |
                   | Todd, what are you doing?     |                       |
                   |------------------------------>|                       |
                   |                               | ------------------\   |
                   |                               |-| Programming @_@ |   |
                   |                               | -------------------   |
                   |                               |                       |
                   |        Well, I'm programming. |                       |
                   |<------------------------------|                       |
                   |                               |                       |
                   | And you?                      |                       |
                   |------------------------------------------------------>|
                   |                               |                       |
                   |                               |     I'm reading book. |
                   |<------------------------------------------------------|
                   |                               |                       |
                   | Good boy!                     |                       |
                   |------------------------------------------------------>|
                   |                               |                       | ------------\
                   |                               |                       |-| Smile ^_^ |
                   |                               |                       | -------------
                   |                               |                       |
仅冇旳回忆 2024-09-06 02:23:02

我推荐 PlantUML。它是一个优秀的工具,可以让您从简单的文本规范中绘制各种 UML 图。

I'd recomment PlantUML. It is an excellent tools that lets you draw all kinds of UML diagrams from simple textual specification.

贪了杯 2024-09-06 02:23:02

EventStudio 支持从文本输入生成序列图和协作图。

EventStudio supports generation of sequence diagrams and collaboration diagrams from text input.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文