Eraser Diagram Renderer icon

Eraser Diagram Renderer

1

Renders diagrams from code using the Eraser API via a Python MCP server and CLI tool.

关于

Eraser Diagram Renderer is a Python-based tool that serves as an MCP (Model Context Protocol) server and CLI, enabling users to generate diagrams from code using the Eraser API. It supports various diagram types, including sequence, flowchart, ER, and cloud architecture diagrams. The tool offers customizable themes, backgrounds, and scaling options, providing flexibility in output formats such as image URLs or base64-encoded file content. It also features icon validation, ensuring the proper rendering of diagrams by identifying undefined icons and issuing warnings.

主要功能

  • Provides flexible output options: image URLs or base64-encoded file content.
  • Includes an Eraser File URL for direct editing of diagrams in Eraser.
  • Offers customizable themes, backgrounds, and scaling options.
  • Validates icon references against the standard Eraser icons list, providing warnings for undefined icons.
  • Supports multiple diagram types: sequence, flowchart, ER, cloud architecture, and more.
  • 1 GitHub stars

使用案例

  • Creating visual representations of system architecture, workflows, or data models.
  • Automating diagram creation as part of a development or documentation process.
  • Generating diagrams from code in various environments like Claude Desktop, VS Code, and Windsurf.
Craft Better Prompts with AnyPrompt
Sponsored