Thank you very much for the response. In this example I did not consider edge weights for simplicity. So the transition probabilities have similar values. However, we can easily extend this model with probabilities and edge weights as discussed in the publication which I have cited at the end of the article. By this we can consider the actual probabilities of transitioning.