Skip to content

preiter93/tuigram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
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

About

A TUI sequence diagram editor

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors