Hi @TartakOO you may find it useful to explore the “Internals” plugin that’s included in the official plugin library. It adds two new options to the preview menu when editing a tiddler.
The “parse tree” view shows how the text of a tiddler is interpreted into a tree of tokens. The “widget tree” view shows the tree of widgets that results from rendering a tiddler. The difference is that the parse tree just represents the contents of the tiddler itself; transclusions are represented as a transclude widget, but the target text is not included. Meanwhile, the widget tree shows the transclusion with the target content included. This stuff is unapologetically technically complex, but it is how works on the TiddlyWiki inside, and so even a superficial and incomplete understanding can be helpful.