Hi Uwe,

I discovered TiddlyMap recently. Great piece of work, thank you, Felix!


Thanks :)
 

> But what if I wand to import Tiddler relations like "uses" or "related to"?
> How would I have to write my JSON file?


To answer your question: there are two possibilites for that:

*1) The simple way: *Use magic edge-type namespaces

In the docs section, have a look at Magic Edge-Type Namespaces. 
<http://tiddlymap.org/#Magic%20Edge-Type%20Namespaces>

You need to go to the edge-type manager and create the edge-types first!
Then you can enter tiddler titles into custom fields to have them displayed 
as edges in graphs.
Make sure you read about the drawbacks of this technique in the docs 
article above!

*2) The advanced way: *Create a "tmap.edges" field for edges in each 
tiddler that holds outgoing edges.

In the docs section, have a look at "Storage of Edges" 
(http://tiddlymap.org/#Storage%20of%20Edges).
Just export a tiddler as ".tid" file after you created some outgoing edges 
and you'll see how the tiddlymap edges are stored in JSON format.

The same way you could do it if you don't want to use the gui...

Maybe have a look at this github discussion "How to link tiddlers 
progragmatically" (https://github.com/felixhayashi/TW5-TiddlyMap/issues/141)

--------------

Hope this helps

-Felix

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/deb5749b-4808-44b5-b543-99fb22c6d629%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to