Hi,
I am feeling stupid, like every few months when trying something new with tiddlywiki.
I think I still do not get the concept of variables, widgets, procedures…
What I want to do is generate a plantuml diagram, using the tw5-plantuml plugin.
I do want to dynamically create it, to show incomming and outgoing links.
I tried but could not get tiddlywiki to pass the “rendered” text to the javascript widget.
\procedure mmap()
@startmindmap
<>
skinparam topurl https://cthulhu.bilger.info
<$list filter="[all[current]backlinks[]]">
– <>
</$list>
<$list filter="[all[current]links[]]">
++ <>
</$list>
@endmindmap
\end
\widget $the.mmap2()
<>
\end
\procedure puml(s)
<$plantuml source=<> />
\end
\procedure plinks()
<$the.mmap2/>
<$vars sentence=<$the.mmap2/>>
<$transclude $variable=puml s=<> />
</$vars >
\end
[[e]]
[[f]]
<>
Could someone give me a hint?
Thanks a lot.