Skip to content
Projects

About

A terminal graph editor with infinite canvas and vim like editing experience.

Developer Tools

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

English | 中文

graph-tui

crates.io license CI

Draw graphs in your terminal.

graph-tui edits graphs with infinite canvas, automatic edge routing and vim-like experience. It use a native .gtui json format, accept .dot and JSON Canvas, and can export to png, svg, text file, or just to terminal.

cargo run ./examples/real/systemd.gtui ./examples/fun/dynasties.gtui ./examples/fun/hongloumeng.gtui ./examples/limits/star40.dot ./examples/limits/k12.gtui ./examples/real/cargo-deps.gtui ./examples/limits/grid20.dot ./examples/fun/left-pad.gtui ./examples/fun/owl.gtui ./examples/fun/uk-dynasties.gtui ./examples/fun/unix.gtui ./examples/real/hangzhou-metro.gtui ./examples/real/modules.gtui  ./examples/real/tcp.gtui

demo3

Install

# Linux / macOS:  
curl -LsSf https://raw.githubusercontent.com/mixsoulgithub/graph-tui/main/install.sh | sh
# Unix like, need Rust 1.88+
cargo install graph-tui 

Windows: .zip on the releases page.

Quick start

graph-tui tutor                           # built-in editable walkthrough (English)
graph-tui examples/org.dot     # one true-colour ANSI frame, then exit
graph-tui --export - examples/org.dot     # one true-colour ANSI frame, then exit
graph-tui --export out.svg examples/real/tcp.gtui   # export to svg

Docs

License

MIT, see LICENSE.

Explore related projects

Loading…