/mute

Visualization of prefix match using trie tree.

Primary LanguageGo

mute

overview

Visualization of prefix match using trie tree.

# data.txt
keynote
keycase
king
kingdom
macbook

setup

$ brew install graphviz
$ go get github.com/kotaroooo0/mute

# create data text for trie. see: data.txt.sample
$ vi data.txt
$ mute -s data.txt | dot -T png -o sample.png

# only create .dot
$ mute -s data.txt -o sample.dot