Detecting Cycles of Backlinks

I currently have a journal vault where I write my thoughts and link recurring thoughts and feelings.
The idea is that by linking recurring thoughts, I can find “cycles of thought” in which I think about the same thing in a particular order.
For example, it could be: [[stress]] → [[worry]] → [[procrastination]] → [[stress]].
I would love a plugin which finds these “cycles of thought” by determining the route of the backlinks circling back to the same backlink (in this case stress).
Perhaps you can do something similar with Excalibrain, but I am not sure how to set this up.