I find this simple TOC system for Fountain excellent on docs ...
I'm not clear how I'd replicate it in TW. Its jump in river. so river needs to be open I think.Just thoughtsJosiah
I am not sure I understand the example you shared but from marios comment I belive your answer lies in a custom toc with the kin opperator. I have shared self made tocs in the past because I like demonstrating recursive macros. The kin opperator lets you compare multiple trees and the relationships between two tiddlers can be established, like sibling, aunts/uncles and cousins to name a few.
This is a continuing project of mine, and if you describe how you want the data to appear I am happy to provide a solution. If you can prepare some test data it would help both of us.
Regards
Tony