npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@littledragon_wxl/drawio-style-graph

v1.0.2

Published

Generate .drawio diagrams with 8 professional visual styles. Self-contained — no external skill dependencies.

Readme

drawio-style-graph

English · 中文

8 professional visual styles x draw.io editable format. Describe your system in natural language — get a styled, editable .drawio diagram.

License: MIT 8 Visual Styles 14 Diagram Types 10k+ Shapes 321 AI Logos


What Is This?

Two excellent open-source diagram tools, fused into one:

| 🔥 fireworks-tech-graph | 📐 drawio-skill | |---|---| | by @yizhiyanhua-ai | by @Agents365-ai | | 8 hand-crafted visual stylesFlat Icon, Dark Terminal, Blueprint,Notion Clean, Glassmorphism,Claude Official, OpenAI, Dark Luxury | Complete draw.io engine10,446 vendor shapes, 321 AI logos,diagram type presets, auto-layout,PNG/SVG/PDF export pipeline | | 🎨 Color palettes · Typography systemsArrow semantics · Design tokens | 🔍 shapesearch.py · 🤖 aiicons.py✅ validate.py · 🔧 repair_png.py📐 autolayout.py · 🌐 encode_drawio_url.py |

Both ecosystems are fully bundled — no external skill dependencies:

fireworks-tech-graph                  drawio-skill
(SVG design tokens)                   (draw.io engine + scripts)

    │                                      │
    │  8 visual styles                    │  10,446 shapes search
    │  color palettes                     │  321 AI brand logos
    │  typography systems                 │  diagram type presets
    │  arrow semantics                    │  auto-layout (Graphviz)
    │  shape preferences                  │  validation + repair
    │  extras (shadow/glass/sketch)       │  browser fallback URLs
    │                                      │
    └──────────────┬───────────────────────┘
                   │  SVG tokens mapped to draw.io style= strings
                   ▼
          ┌─────────────────────┐
          │ drawio-style-graph  │
          │                     │
          │  8 styles           │
          │  x                  │
          │  .drawio format     │
          │                     │
          │  Fully self-contained
          │  Zero extra installs │
          └─────────────────────┘

The result: the visual polish of fireworks-tech-graph's SVG styles, rendered as fully editable .drawio files with draw.io's entire shape ecosystem.


8 Built-in Styles

Each style is a complete design system mapped to draw.io style= token strings:

| # | Style | Palette | Typography | Signature | |---|-------|---------|------------|-----------| | 1 | Flat Icon | Blue · Green · Orange · Purple | Helvetica, 14px | rounded=1 | | 2 | Dark Terminal | Purple · Blue · Green neon | SF Mono, 13px | shadow=1, bg #0f0f1a | | 3 | Blueprint | Cyan · Green · Orange | Courier New, 13px | rounded=0, bg #0a1628 | | 4 | Notion Clean | Warm gray · Single blue accent | System UI, 14px | Minimal · Flat | | 5 | Glassmorphism | Blue · Purple · Green glow | Inter, 14px | glass=1;shadow=1, bg #0d1117 | | 6 | Claude Official | Teal · Blue · Beige · Gray | System UI, 16px | strokeWidth=2.5, thick borders | | 7 | OpenAI Official | White · #10a37f green accent | System UI, 16px | strokeWidth=1.5, precision | | 8 | Dark Luxury | 6-color buckets · Gold arrows | Georgia + Sans, 14px | Dual font, bg #0a0a0a |

Style-diagram compatibility matrix  ← How to apply styles


Quick Start

Install

npx skills add Littledragon-wxl/drawio-style-graph

Or via npm:

npm install @littledragon_wxl/drawio-style-graph

Update to Latest Version

# Using npm
npm update @littledragon_wxl/drawio-style-graph

# Or reinstall to latest
npm install @littledragon_wxl/drawio-style-graph@latest

# Check current version
npm list @littledragon_wxl/drawio-style-graph

Prerequisites

  1. Install draw.io desktop: download
  2. Python 3 (for helper scripts)
  3. Graphviz (optional): brew install graphviz

That's it. No other skills needed — everything is bundled.

Usage

"Draw a microservices architecture with Dark Terminal style"
"Create an ERD for a blog system with Notion Clean style"
"Generate an AI agent architecture diagram with Glassmorphism style"

How SVG Tokens Map to Draw.io

| SVG / Design Token | Draw.io Equivalent | |---|---| | fill: #eff6ff | fillColor=#eff6ff in vertex style | | stroke: #bfdbfe | strokeColor=#bfdbfe in vertex style | | rx: 8px (border-radius) | rounded=1 (or rounded=0 for sharp) | | font-family: Helvetica | fontFamily=Helvetica in vertex style | | font-size: 14px | fontSize=14 in vertex style | | font-weight: 600 | fontStyle=1 (bold) in vertex style | | color: #111827 | fontColor=#111827 in vertex style | | Arrow marker fill | strokeColor=#xxxxxx on edge | | stroke-dasharray: 5,3 | dashed=1 on edge | | filter: drop-shadow | shadow=1 or glass=1 in vertex style | | Sketch/rough edges | sketch=1 in vertex + edge styles |


What's Bundled

| Directory | Contents | |-----------|----------| | scripts/ | 11 Python scripts: shapesearch (10,446 shapes), aiicons (321 AI logos), validate, repair_png, autolayout, encode_drawio_url, 5 project importers | | data/ | shape-index.json.gz + lobe-icons.json | | references/ | diagram-types.md, shapes.md, troubleshooting.md, autolayout.md, style-presets.md, style-extraction.md, style-diagram-matrix.md, style-application-guide.md, 8 style reference files | | styles/ | 3 built-in draw.io presets (default.json, corporate.json, handdrawn.json) + 2 JSON schemas |

Supported diagram types: Architecture · Data Flow · Flowchart · Agent/Memory · Sequence · UML Class · Use Case · State Machine · ER Diagram · Network Topology · ML/DL Model · Mind Map · Comparison Matrix · Timeline/Gantt


License

MIT


Acknowledgments

This project stands on the shoulders of two excellent open-source communities:

🔥 fireworks-tech-graph

The 8 visual styles and their design tokens are adapted from fireworks-tech-graph by @yizhiyanhua-ai.

What we inherited: meticulously crafted color palettes for every semantic role (primary #eff6ff/#bfdbfe, success #f0fdf4/#bbf7d0, warning #fff7ed/#fed7aa, accent #faf5ff/#e9d5ff, danger #fef2f2/#fecaca, secondary #f0fdfa/#ccfbf1, neutral #f9fafb/#e5e7eb), complete typography systems (from Helvetica to SF Mono to Georgia), color-coded arrow semantics by flow type, style-to-diagram-type compatibility research (14 types x 8 styles), and the Dark Luxury AI-authored style with its dual serif/sans typography and 6 semantic color buckets.

📐 drawio-skill

The draw.io engine is integrated from drawio-skill by @Agents365-ai.

What we inherited: 11 production-hardened Python scripts covering the complete draw.io lifecycle — shape search across 10,446 vendor icons (AWS/Azure/GCP/Cisco/K8s), AI/LLM brand logo resolution (321 brands via lobe-icons + simple-icons CDN), deterministic structural validation (dangling edges, duplicate IDs, broken parent references), PNG IEND chunk repair for draw.io's CLI truncation bug, Graphviz-based auto-layout for large diagrams, browser-fallback URL encoding, and project structure importers for Python, JS/TS, Go, and Rust. Also the diagram-type preset system (ERD/UML Class/Sequence/ML-DL/Flowchart) and the style preset learn/save/manage framework.

Icon Libraries