Looking for loops in networks It’s seems very…

Looking for loops in networks. It’s seems very simple, but when i’ve started to search for a programmatic way to solve this, you ends up with a kind of complexity that seems much too high compared to the problem. After a bit of research, i found the Rocha Thatte method. It is a very elegant