However I have used my own recursive toc inside a button to store the path from the root in a branch field.
Regards
Tony
If you created your tree using Mario's TOCP then each tiddler has only one parent so you can climb up the tree using the parent field.
To stop loops just don't continue if a parent us the first tiddler.
Regards
Tony
If you created your tree using Mario's TOCP then each tiddler has only one parent so you can climb up the tree using the parent field.
To stop loops just don't continue if a parent us the first tiddler.
Arguably tiddlywiki can do anything so I urge you try and store the information you have then learn how to present the relationships latter.
To do this well you need to create a tiddler for each entity such as railway lines and businesses then seperatly relationships such as business owns railway. Since the ownership can change you not only need to cater for ownership but start and end dates of ownership. Of course the passage of time will change ownership or add segments to a line so the relationships need to be kept as a series of events.
I will consider what is needed for this as its a critical algorithium for many applications.
Regards
Tony
The kin operators lists the tiddlers just like I'm looking for except that they're in alphabetical order
<$list filter="[title<currentTiddler>kin:tags:from[]!is[system]!title[Railroads]!title<currentTiddler>]"> ->
<$link><$view field="title"/>
</$link>
</$list>