I'm looking for a way to visualize a Viterbi path in LaTeX or maybe Graphviz, much like in this example:
It doesn't have to be dots, but it could also be actual values between the lines. Much like a table with lines between cells.
I tried searching for ways to do this, but most likely I'm not using the right keywords.