Beautifull!
Try This, it works for me...
\define selaction()
<$wikify name=myvalue text={{kTree macro}} output="text">
<$fieldmangler tiddler="KMapRoot.csv">
<$action-sendmessage="tm-add-tag" param="csv">
<$action-setfield $tiddler="KMapRoot.csv" text=<<myvalue>> />
<$action-setfield $tiddler="KMapRoot.csv" $field="type" $value="text/csv"/>
</$fieldmangler>
</$wikify>
\end
<table>
<tr>
<td>
Select the root tag:<br>
<$select tiddler="KMapRoot" actions=<<selaction>> >
<$list filter='[tags[]!is[system]sort[title]]'>
<option value=<<currentTiddler>>><$view field='title'/></option>
</$list>
</$select>
Am 12.04.2018 um 21:35 schrieb Silverfox:
Hello,
You'll find here http://archipel.tiddlyspot.com, a new proof of
concept of D3 plugin(V5) for TiddlyWiki (there are still some bugs and
a lot to do before having a reliable plug-in)
As you can see, my target is to display a dynamic visualization of the
TW table of content, and to associate a color code to each tiddler
depending on the knowledge maturity (color of a tag)
The mechanism is the following:
* a TW macro generates a a csv interpreted text in a tiddler (kTree macro)
* another macro, activated by a button, wikifies it to have pure csv
text tiddler (KMapRoot.csv)
* a javaScript macro uses D3 plugin and the previous csv to generate
the graph
My question is :
Is there a way to *avoid clicking the button* ? I wish I could have an
automatic update of the graph as soon as any tiddler is updated...
Thank you for your help,
Do not hesitate to share your comment on this POC in general
Nicolas
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/f84b0ea1-06d6-4f77-9e37-f778e9400a16%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/f84b0ea1-06d6-4f77-9e37-f778e9400a16%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5ACFC5BC.3080802%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.