Skip to content
项目

关于

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

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.zh.md

原文

English | 中文

graph-tui

crates.io license CI

在终端里画图。

graph-tui 用无限画布、自动走线和类 vim 的操作来编辑图。原生格式是 .gtui(JSON), 可以读入 .dot 与 JSON Canvas,能导出 png、svg、文本文件,或者直接输出到终端。

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

安装

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

Windows: .zip 在 Releases 页面。

快速开始

graph-tui examples/metro.dot              # 导入 .dot;第一次存盘会在旁边写出 .gtui,不会原地改 dot,但可以导出
graph-tui --export - examples/metro.dot   # 打一帧真彩 ANSI 到 stdout,然后退出
graph-tui --export out.svg examples/real/tcp.gtui
graph-tui tutor                           # 内置可编辑教程(英文)

文档

许可证

MIT,见 LICENSE。

探索相关项目

加载中…