There are alternative forms of generating mermaid graphs in ASCII using this same Git repository.
curl https://mermaid-ascii.art/generate -d mermaid="graph LR\nABC --> DEF"
git clone https://github.com/AlexanderGrooff/mermaid-ascii
cd mermaid-ascii
go run main.go -f test.mermaid