# Why are HMMs called linear-chain?

I found in many sources that Hidden Markov Models are linear-chain networks(e.g. in Predicting Structured Data book by MIT). However, as I understand it, HMMs can have any edges in its graph. Even simple example of HMM in wikipedia has non-linear graph: .

So, the question is: what is the formal definition linear-chain structure and in which case forward-backward and Viterbi algorithms can give precise results.

I have also taken into consideration this picture, taken from CRF tutorial, which says, that linear-chain CRF is "generative-discriminative pair" to HMM.