Sequence Diagram

Free online Sequence Diagram generator. Text-based DSL input (A→B: message format), pure SVG output for UML-style timelines.

Uso

DSL 语法

  • actor1→actor2: 消息 — 实线箭头(同步)
  • actor1⇢actor2: 消息 — 虚线箭头(异步 / 返回)
  • actor1->actor2: 消息 — 等价于 →
  • actor 名首次出现即声明,后续按位置引用
  • 空行忽略,以 # 开头的行作注释

Casos de uso

  • API 文档 / 协议说明 / 教学流程
  • 本工具简化版,不支持 nested alt/loop/opt

Agent API Usage

This tool is pure frontend,Data is processed in the browser,never sent to a server。 manifest 中 api_url 为空,/api/sequence_diagram/ endpoint does not exist(返回 404)。 Agent 请读取 schema.json 理解字段,Please execute the tool logic in the browser first。
// Step 1: 读取工具 Schema
GET https://clawam.com/tools/sequence_diagram/schema.json

// Step 2: 在浏览器中执行工具逻辑
// Sequence Diagram 在工具页 JS 中实现