Skip to content
Back to search

diagrav

Extensible TypeScript diagram engine (@diagrav/core), yEd-inspired Jenni UI studio (@diagrav/ui), and AI MCP server (@diagrav/mcp)

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/ravish-tech--diagrav/badge.svg)](/listings/ravish-tech--diagrav)

HTML

<a href="/listings/ravish-tech--diagrav"><img src="/api/listings/ravish-tech--diagrav/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

npm install
npm run dev        # Start studio at http://localhost:5174
npm run typecheck  # Typecheck core, mcp, and UI
npm run build      # Build core, mcp, and static UI bundle
npm run test       # Run core & MCP unit tests

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 42 lines
  1. # Diagrav
  2. Extensible diagram engine (`@diagrav/core`) and yEd-inspired diagram studio (`@diagrav/ui`) built with [Jenni UI](https://github.com/ravish-tech/Jenni), designed to be AI-ready from day one.
  3. - **Live Demo & Samples:** https://ravish-tech.github.io/diagrav/
  4. - **Repository:** https://github.com/ravish-tech/diagrav
  5. ## Architecture
  6. - **`packages/core` (`@diagrav/core`)** — Zero-framework TypeScript diagram engine.
  7. - Supports `readonly` (embeddable viewer) and `editor` (full yEd-style editor) modes.
  8. - Undoable Command Bus (shared by human UI and future AI/MCP agents).
  9. - Extensible `ShapeRegistry`, `EdgeRouterRegistry`, and `LabelPlacementRegistry`.
  10. - Canonical `.diagrav.json` (v1) storage format + standalone SVG export.
  11. - **`packages/ui` (`@diagrav/ui`)** — React 19 + Jenni UI studio app.
  12. - Floating & dockable Left/Right control panels (Properties, Palette, Review Notes), live smart alignment/spacing guides, color-coded JSON viewer, sample switcher, AI Bridge toggle, and Embed Demo page.
  13. - **`packages/mcp` (`@diagrav/mcp`)** — MCP server + live WebSocket bridge for Claude & Google agents.
  14. - 19 stdio MCP tools (`get_diagram`, `add_node`, `connect_nodes`, `align_nodes`, `distribute_nodes`, `apply_batch`, `undo`, `redo`, `export_svg`, etc.) supporting both headless file generation and real-time Studio editing.
  15. ## Quick Start
  16. ```bash
  17. npm install
  18. npm run dev # Start studio at http://localhost:5174
  19. npm run typecheck # Typecheck core, mcp, and UI
  20. npm run build # Build core, mcp, and static UI bundle
  21. npm run test # Run core & MCP unit tests
  22. ```
  23. ## MCP Configuration (Claude / Google Agents)
  24. ```json
  25. {
  26. "mcpServers": {
  27. "diagrav": {
  28. "command": "node",
  29. "args": ["/path/to/diagrav/packages/mcp/dist/index.js"],
  30. "env": { "DIAGRAV_BRIDGE_PORT": "4175" }
  31. }
  32. }
  33. }
  34. ```

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.