Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 2.21 KB

File metadata and controls

81 lines (61 loc) · 2.21 KB

Tuigram

Crate IO Crates.io Downloads Continuous Integration Deps Status License

Demo

A TUI sequence diagram editor.

Installation

Homebrew
brew install preiter93/tuigram/tuigram
Cargo
cargo install tuigram
Nix
nix run github:preiter93/tuigram
Pre-built binaries

Download from GitHub Releases

Keybindings

Key Action
p Add participant
m/M Insert message after/before selected
n/N Insert note after/before selected
b/B Add/remove box around participants
h/l or ←/→ Navigate left/right (participants)
j/k or ↓/↑ Navigate down/up (messages/notes)
H/L or Shift+←/→ Move participant left/right, reverse message arrow
J/K or Shift+↓/↑ Move message/note up/down*
Enter Edit selected
r Rename selected
d Delete selected
C Clear diagram
E Export to Mermaid
? Help
Ctrl+c Quit

* Shift+↑/↓ may not work in all terminals, some intercept these for scrollback. Use J/K instead.

Mermaid

Export

Press M to export the diagram to diagram.mmd.

Import

tuigram --import diagram.mmd