Interactive Diagram banner
Program120 Program120

Interactive Diagram

Development community

Description

生成可交互式、可拖动的 HTML 图表(流程图、架构图、思维导图、序列图),并将其作为独立文件保存。支持 Dagre 自动布局、平移/缩放,并可导出为 PNG/SVG/JSON 格式。零依赖。Claude Code 技能。Generate interactive, draggable HTML diagrams (flowcharts, architecture, mind maps, sequence diagrams) as standalone files. Supports Dagre auto-layout, pan/zoom, export PNG/SVG/JSON. Zero dependencies. Claude Code skill.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Claude Code Skill Zero Dependencies AntV X6

Interactive Diagram

Generate interactive diagrams with real-time incremental rendering via SSE — nodes appear one by one as the agent generates them.

FeaturesDiagram TypesInstallationUsageArchitectureExportContributing


Features

  • Real-Time Incremental Rendering — Nodes and edges appear one by one via SSE as the agent generates them
  • AntV X6 Engine — Professional diagram editor powered by X6 v2 with Dagre auto-layout
  • Interactive Editing — Drag nodes, double-click to edit labels, right-click context menu, connect ports
  • Multi-Session — Multiple diagrams in parallel via ?s=session_name URL parameter
  • Page Refresh Recovery — Server stores all commands; refreshing replays full state
  • Server-Side Export — Export PNG, SVG, JSON, Draw.io files to disk via curl commands
  • Browser Export — PNG, SVG, JSON, Draw.io XML download or copy to clipboard from toolbar
  • Smooth Zoom — Mouse wheel / trackpad zoom centered on cursor
  • Undo/Redo — Full history support with Ctrl/Cmd+Z
  • Zero Python Dependencies — Server uses only Python stdlib

Supported Diagram Types

Type Description Use Case
Flowchart 流程图 Process flows with decisions, start/end nodes Business logic, l