Here's a simple recursion that kinda does something like it:

\define rec(tag)
<$list filter="[tag[$tag$]]" emptyMessage="<br>"><$link/>/<$macrocall 
$name=rec tag=<<currentTiddler>>/></$list>
\end

<<rec root>>

<:-)
On Monday, March 1, 2021 at 10:34:10 PM UTC+1 Soren Bjornstad wrote:

> I think the problem si is having is that the prefix, regexp, etc. macros 
> require the base tiddler to be inserted as a *parameter*, whereas the 
> Tidgraph plugin needs a filter fragment that can take the base tiddler as 
> an *input tiddler*.
>
> I don't think I can think of a solution for this other than changing 
> Tidgraph.
>
> On Monday, March 1, 2021 at 3:21:59 PM UTC-6 Mat wrote:
>
>> si - So you basically want what the tree macro shows but instead of the 
>> visual indentation you want it presented with paths. You can maybe try to 
>> experiment with the tree macro 
>> <https://tiddlywiki.com/#%24%3A%2Fcore%2Fmacros%2Ftree> and see if it 
>> can display it the way you want it?
>>
>> <:-)
>>
>> On Monday, March 1, 2021 at 7:52:59 PM UTC+1 si wrote:
>>
>>>
>>> Hi all,
>>>
>>> I am trying to figure out if there is a filter expression that will act 
>>> on an input tiddler like "root/folder" and return all tiddlers of the form 
>>> "root/folder/.*" (i.e. root/folder/subfolder1, root/folder/subfolder2 etc).
>>>
>>> I can't figure this one out, so any help would be amazing.
>>>
>>> *My specific use case if you're interested:*
>>>
>>> I have a directory structure representing in my wiki, which I currently 
>>> display with the tree macro <https://tiddlywiki.com/#tree%20Macro>. I 
>>> was trying to see if I could use Tidgraph 
>>> <https://ihm4u.github.io/tw5plugs/> to display the directory structure, 
>>> and I can see that I will need a filter that works as described above.
>>>
>>> Thanks in advance for your help.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e1a01585-6cfb-408c-af5f-75ce9bd9cfeen%40googlegroups.com.

Reply via email to