tiddlymap filtering on relations

80 views
Skip to first unread message

Laurent Bonet

unread,
Jun 22, 2019, 5:15:52 AM6/22/19
to TiddlyWiki
Hello all,

Is there a simple way to create filters based on "relations" created through tiddlymap?

Those "relations" seems to be stored in a tmap.edges field bases on the tmap.id identification mechanisms

{"1fc78225-3618-4d3d-a5b4-cee181af3a11":{"to":"D0B54F1D-8D7A-4C2E-9490-D3DF8866A6EC","type":"demo:uses"},"78a81800-2cb6-4b2f-bc73-c73d89f50ada":{"to":"746FEF43-FCAD-4229-8601-50ACE50AE49B","type":"runs inside"},"b57b75be-4365-4aa4-8ca2-41008350f72e":{"to":"1748576e-74bb-4165-85bb-0d312e3e4f1f","type":"related"},"1abac37e-53cf-4ef1-a3e5-b9f24cdbc3a3":{"to":"c5a23686-8e59-4415-9b6e-0eaf35247980","type":"source code at"}}

I do not have the right skills (json, programming ...) to build something by myself ...


Mat

unread,
Jun 22, 2019, 10:59:20 AM6/22/19
to TiddlyWiki
I'm not familiar with TiddlyMaps workings but maybe if you instead can describe those relations maybe we can help to formulate a filter that achieve this?

You might wan to look at the Kin filter plugin (or maybe it's called Kin plugin) for investaigating relations.

<:-)

LorenzGL

unread,
Jun 23, 2019, 11:56:55 AM6/23/19
to TiddlyWiki
Hello Laurent,

You can set Tiddlymap to store edge relationships in normal Tiddler fields. These are then named like the edge type. This makes it much easier to work with the edges in filters using Tiddlywiki’s built in filter mechanisms for fields.
Reply all
Reply to author
Forward
0 new messages