]>
git.r.bdr.sh - rbdr/dotfiles/blob - zsh/functions/graphviz.zsh
3 if [[ -n "${1+x}" ]]; then
4 dot
-Tpng $1 -o ${1%.*}.png
6 echo 'Usage: dot-to-png <path_to_file>'
11 if [[ -n "${1+x}" ]]; then
12 neato
-Tpng $1 -o ${1%.*}.png
14 echo 'Usage: neat-to-png <path_to_file>'
19 if [[ -n "${1+x}" ]]; then
20 seqdiag
-o ${1%.*}.png
-f /System
/Library
/Fonts
/SFNSText.ttf
$1
22 echo 'Usage: seqdiag-to-png <path_to_file>'