All Projects → kjagiello → diagwiz

kjagiello / diagwiz

Licence: MIT license
Diagrams as code

Programming Languages

rust
11053 projects
Svelte
593 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to diagwiz

Mermaid
Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
Stars: ✭ 27 (-34.15%)
Mutual labels:  diagram, sequence-diagram
Diagram
CLI app to convert ASCII arts into hand drawn diagrams.
Stars: ✭ 642 (+1465.85%)
Mutual labels:  diagram, ascii
Vim Boxdraw
An ASCII box drawing plugin for Vim
Stars: ✭ 122 (+197.56%)
Mutual labels:  diagram, ascii
outfancy
Python3 library to print tables in Terminal.
Stars: ✭ 47 (+14.63%)
Mutual labels:  ascii
DrawRacket4Me
DrawRacket4Me draws trees and graphs from your code, making it easier to check if the structure is what you wanted.
Stars: ✭ 43 (+4.88%)
Mutual labels:  diagram
sparklines
Text-based sparkline command line mimicking those of Edward Tuft.
Stars: ✭ 84 (+104.88%)
Mutual labels:  ascii
img2Ascii
基于JS的图片转ASCII码示意图
Stars: ✭ 18 (-56.1%)
Mutual labels:  ascii
plantuml2mysql
This utility parses PlantUML class diagram and generates SQL DDL for MySQL
Stars: ✭ 110 (+168.29%)
Mutual labels:  diagram
asciinema-rs
Asciinema client written in Rust
Stars: ✭ 81 (+97.56%)
Mutual labels:  ascii
glsp-examples
Example diagram editors built with Eclipse GLSP
Stars: ✭ 28 (-31.71%)
Mutual labels:  diagram
ASCIIPlay
A simple video player that renders to ASCII written in C
Stars: ✭ 30 (-26.83%)
Mutual labels:  ascii
tt
Practicing touch typing, and monitor your typing speed using your own text files
Stars: ✭ 68 (+65.85%)
Mutual labels:  ascii
Asciidots-Cheat-Sheet
My personal Asciidots Cheat Sheet in .jpg .odt .pdf .png and obviously in .txt
Stars: ✭ 17 (-58.54%)
Mutual labels:  ascii
dragonfly-dag
完全支持Vue3和Vitejs的DAG流程图组件
Stars: ✭ 54 (+31.71%)
Mutual labels:  diagram
markdown-blockdiag
blockdiag extension for Python Markdown
Stars: ✭ 23 (-43.9%)
Mutual labels:  diagram
modeloC4
📏Modelo C4 para documentação de arquiteturas
Stars: ✭ 75 (+82.93%)
Mutual labels:  diagram
magrrite
Generate ASCII art from any image
Stars: ✭ 21 (-48.78%)
Mutual labels:  ascii
pipelineRD
A chain of responsability pattern implementation in .NET that supports retry policy, sync and async steps, rollback, pipeline recovery by cache and visual documentation using diagrams.
Stars: ✭ 19 (-53.66%)
Mutual labels:  diagram
cavernos
Retro fantasy terminal for building DOS-era ASCII games, powered by WebAssembly
Stars: ✭ 32 (-21.95%)
Mutual labels:  ascii
bpmn
BPMN diagrams in R
Stars: ✭ 16 (-60.98%)
Mutual labels:  diagram

diagwiz -- diagrams as code

CI Security audit

Warning: This project is in early experimental stage. Functionality is subject to change and YMMV. Feel free to open an issue if you have any suggestions, Rust tips & tricks (my first Rust project) or stumbled upon any bugs.

Supported diagrams

Online playground

You can experiment building diagrams with diagwiz using the online playground.

Installation

As the package is currently in experimental stage, you can install it by building it from the source or by downloading the pre-compiled binary from the latest nightly release.

Download a nightly binary

Visit the nightly release page and download a binary compatible with your system.

Install from source

cargo install --git https://github.com/kjagiello/diagwiz

Usage example

$ cat <<EOF > example.diag
alias ali = "Alice"

ali->Bob: "Hello!"
Bob->Bob: "(Bob thinks)"
Bob-->ali: "Hello back!"
EOF

$ diagwiz < example.diag
┌───────┐        ┌─────┐
│ Alice │        │ Bob │
└───────┘        └─────┘
    │    Hello!     │
    │──────────────▶│
    │               │
    │               │─┐
    │               │ │ (Bob thinks)
    │               │◀┘
    │               │
    │  Hello back!  │
    │◀--------------│
    │               │
┌───────┐        ┌─────┐
│ Alice │        │ Bob │
└───────┘        └─────┘

Known issues

  • Characters with a column width other than 1 cause artifacts in the ASCII representation of a diagram
  • For some inputs, the generated layout might change on every run. This is due to the Cassowary algorithm implementation not being deterministic and finding multiple optimal solutions for the given constraints.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].