Skip to content
プロジェクト

概要

高速でシンプルな図表作成。

デザイン・メディア

この数値の測り方

できること

  • Vite Plugin: .mmd imports compiled to SVG at build time.
  • CLI: the ondine command compiles diagrams from files or standard input.
  • Node Compiler: ondine/compiler renders source to SVG in scripts and servers.
  • Markdown and MDX: ondine/remark replaces ```mermaid fences with compiled SVG.

計測したスター増加

24時間
-1
7日間
+1
15日間
+3
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Ondine

Mermaid diagrams, compiled with Rust

Overview · Agent Prompt · Philosophy · Features · Documentation · Guides · API Reference

Overview

Sequence diagram rendered by Ondine
sequenceDiagram
  participant Browser
  participant Server
  participant Database
  Browser->>Server: GET /orders
  Server->>Database: SELECT * FROM orders
  Database-->>Server: rows
  alt cached
    Server-->>Browser: 304 Not Modified
  else fresh
    Server-->>Browser: 200 OK
  end

Agent Prompt

Paste this prompt into a coding agent:

Read github.com/wevm/ondine and help me render my Mermaid diagrams with Ondine.

Philosophy

  • Compiled. Diagrams compile ahead of time, so pages ship SVG instead of a renderer.
  • Compatible. Every diagram accepts the same input as Mermaid.
  • Precise. Square outlines and rounded orthogonal edges.
  • Small. A 210-byte runtime (gzip) mounts precompiled diagrams.

Features

  • Vite Plugin: .mmd imports compiled to SVG at build time.
  • CLI: the ondine command compiles diagrams from files or standard input.
  • Node Compiler: ondine/compiler renders source to SVG in scripts and servers.
  • Markdown and MDX: ondine/remark replaces ```mermaid fences with compiled SVG.
  • In-Browser Compilation: opt-in ondine/compiler/wasm modules, one per diagram type or all.
  • GitHub Images: an image Worker renders diagrams encoded in a URL for READMEs.
  • Theming: --ondine-* CSS custom properties switch schemes without compiling again.
  • Mounting: mount inserts precompiled SVG without downloading a parser or layout code.

Documentation

Head to the documentation to get started and learn more about Ondine.

License

MIT

関連プロジェクトを探す

読み込み中…