oxdraw  by RohanAdwankar

Diagram generation and editing tool

Created 3 months ago
2,156 stars

Top 20.6% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Summary

Oxdraw merges declarative diagramming (Mermaid) with interactive visual editing, targeting engineers and power users. It solves the need for reproducible, versionable diagrams by allowing visual refinements that are automatically saved back to the source code, bridging the gap between code-based tools and visual editors.

How It Works

A Rust CLI compiles Mermaid (.mmd) files to images (SVG, PNG) and enables interactive editing via a React frontend. Visual edits are persisted as declarative code comments in the source, ensuring determinism and versionability. The system also generates code maps from codebases using AI or static analysis.

Quick Start & Requirements

Install via Cargo: cargo install oxdraw. Render: oxdraw --input <file.mmd>. Edit: oxdraw --input <file.mmd> --edit. Code Map (AI): oxdraw --code-map ./ --gemini YOUR_API_KEY. Code Map (Static): oxdraw --code-map ./src/diagram.rs --no-ai. Requires Rust toolchain and potentially AI API keys.

Highlighted Details

  • Interactive editor provides fine-grained control over node positions, edge routing, and styling.
  • Visual changes are saved back to Mermaid source, maintaining tool compatibility.
  • Supports AI-assisted or static analysis code map generation.
  • Extensive CLI flags customize output formats, scaling, and editor hosting.

Maintenance & Community

Community engagement is encouraged via GitHub issues/discussions and social channels. An example integration is Typst-Oxdraw.

Licensing & Compatibility

The provided README does not specify a software license. Users must verify terms for adoption, especially for commercial use.

Limitations & Caveats

The path drawing algorithm is noted for ongoing improvements. AI code map generation requires external API access and configuration.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
6
Star History
65 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Wei-Lin Chiang Wei-Lin Chiang(Cofounder of LMArena), and
13 more.

awesome-tensor-compilers by merrymercy

0.1%
3k
Curated list of tensor compiler projects and papers
Created 5 years ago
Updated 1 year ago
Starred by Shengjia Zhao Shengjia Zhao(Chief Scientist at Meta Superintelligence Lab), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
14 more.

BIG-bench by google

0.1%
3k
Collaborative benchmark for probing and extrapolating LLM capabilities
Created 5 years ago
Updated 1 year ago
Starred by Lysandre Debut Lysandre Debut(Chief Open-Source Officer at Hugging Face), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
14 more.

simpletransformers by ThilinaRajapakse

0%
4k
Rapid NLP task implementation
Created 6 years ago
Updated 4 months ago
Starred by Aravind Srinivas Aravind Srinivas(Cofounder of Perplexity), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
16 more.

text-to-text-transfer-transformer by google-research

0.1%
6k
Unified text-to-text transformer for NLP research
Created 6 years ago
Updated 2 days ago
Starred by Vaibhav Nivargi Vaibhav Nivargi(Cofounder of Moveworks), Chuan Li Chuan Li(Chief Scientific Officer at Lambda), and
5 more.

awesome-mlops by visenger

0.1%
14k
Curated MLOps knowledge hub
Created 5 years ago
Updated 1 year ago
Feedback? Help us improve.