JavaScript Diagrams

Open-source JavaScript projects categorized as Diagrams

Top 12 JavaScript Diagram Projects

  1. flowy

    The minimal javascript library to create flowcharts ✨

  2. Puter.js

    Puter.js - The Backend for AI-Generated Apps. One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.

    Puter.js logo
  3. jsplumb

    Build Connectivity Quickly. Rapidly build diagramming apps and rich graphical front ends with React, Angular, Svelte, Vue, Javascript and Typescript.

  4. NN-SVG

    Publication-ready NN-architecture schematics.

  5. mermaid-cli

    Command line tool for the Mermaid library

    Project mention: Show HN: Mmdr – 1000x faster Mermaid rendering in pure Rust (no browser) | news.ycombinator.com | 2026-02-04
  6. kroki

    Creates diagrams from textual descriptions!

    Project mention: Show HN: Free Mermaid Diagram Editor | news.ycombinator.com | 2026-07-07

    https://kroki.io/#try

    Shout out to Kroki, which offers Mermaid and many other text-based diagramming formats.

  7. beautiful-react-diagrams

    πŸ’Ž A collection of lightweight React components and hooks to build diagrams with ease πŸ’Ž

  8. cascii-core

    A web-based ASCII and Unicode diagram builder written in vanilla Javascript

    Project mention: Monosketch | news.ycombinator.com | 2026-02-13
  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. DgrmJS

    Dgrm.net - flowchart editor. Works on desktop, phone and tablet. Has no dependency. Pure JavaScript.

  11. grafana-flowcharting

    Flowcharting, plugin for Grafana to create complexe visio's draws style like technical architectures, floorplan, diagrams, hierarchical schema based on draw.io

  12. d2-playground

    An online runner to play, learn, and create with D2, the modern diagram scripting language that turns text to diagrams.

    Project mention: D2 (text to diagram tool) now supports ASCII renders | news.ycombinator.com | 2025-08-19

    <3

    The linking you can do already if I understand the request correctly: https://play.d2lang.com/?script=Ks5ILEi1UihOLSxNzUtOjU_JTEwv...

    Okay, we'll put those sequence diagram improvements in our sprint for next release.

  13. merview

    A client-side markdown editor with live Mermaid diagram rendering and syntax highlighting.

    Project mention: Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering | news.ycombinator.com | 2026-01-10

    This looks cool! And, to add to the list of shameless plugs for OSS markdown editors/renderers With mermaid support, I will add mine to the list:

    https://merview.com with full source code at https://github.com/mickdarling/merview

  14. Ambastha-Diagrams

    A high-performance, modular diagram rendering ecosystem. Transitioning to a multi-package architecture (Core, Registry, Editor) for headless SVG generation and serverless integration.

    Project mention: Ambastha Diagrams: A Beta Tool for Easy Diagramming in VS Code | dev.to | 2026-05-26

    That’s why I built Ambastha Diagrams. You can find the source code, documentation, and the core rendering engine repository here:Ambastha Diagram

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Diagrams discussion

Log in or Post with

JavaScript Diagrams related posts

  • Show HN: Free Mermaid Diagram Editor

    3 projects | news.ycombinator.com | 7 Jul 2026
  • πŸ“ Documentation-as-Code Has Silently Won For Tech Content

    5 projects | dev.to | 29 Apr 2026
  • Show HN: Mmdr – 1000x faster Mermaid rendering in pure Rust (no browser)

    3 projects | news.ycombinator.com | 4 Feb 2026
  • Kroki: Open-source API to create diagrams from textual descriptions

    1 project | news.ycombinator.com | 13 Sep 2025
  • Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text

    10 projects | news.ycombinator.com | 21 May 2025
  • Whimsy: a Tiny Game Engine I Made for Storytellers

    3 projects | dev.to | 23 May 2025
  • "10 Free Tools Every Developer Should Bookmark in 2025"

    6 projects | dev.to | 16 May 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Aug 2026
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Index

What are some of the best open-source Diagram projects in JavaScript? This list will help you:

# Project Stars
1 flowy 12,059
2 jsplumb 7,769
3 NN-SVG 5,685
4 mermaid-cli 4,914
5 kroki 4,272
6 beautiful-react-diagrams 2,726
7 cascii-core 1,174
8 DgrmJS 1,073
9 grafana-flowcharting 1,039
10 d2-playground 122
11 merview 11
12 Ambastha-Diagrams 1

Sponsored
Puter.js - The Backend for AI-Generated Apps
One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.
developer.puter.com