Terminology
Here nodes of a tiddler say parent
refer to any tiddler
- Tagged with
parent
- Has been linked from inside text field of
parent
- Has links from its text field to the `parent tiddler
Solution: Wikitext script
\function nodes(parent) [tag<parent>] [<parent>links[]] [<parent>backlinks[]]
!! Example i
<<list-links filter:"[function[nodes],[Test Parent]]">>
!! Example ii
<<list-links filter:"[function[nodes],[Core Variables]]" type:ol>>
To give a try
- Open https://tiddlywiki.com/prerelease
- Create a tiddler and copy-paste the above code
- See the result
Remarks
- Put your function in a tiddler tagged with
$:/tags/Global
to be in access from any tiddler - Add your customization like add different colors for different nodes
See more example of function in TW 5.3.0: Parameterised Transclusion [TW 5.3.0]: Why is Function Called Function?
Question:
- Add more node like subtiddler (their title has parent/title format), …
- Can you propose a simpler solution?