TiddlyDAG - Local context graph visualization v2.0

Took a step away from working on the server and created a plugin with a bot. I really liked the process. There is no documentation yet, we need to conduct general testing in combat conditions, then I will agitate and publish. Without any external dependencies. The concept of a local tiddler context is implemented, with all the second-level reference information inside the wiki. Why version 2.0? Because there is an option without SVG, when the data is presented simply as lists.

Looks interesting @Sergey_Shishkin

  • But always let us know when your code is LLM generated. It is notorious for wasting peoples time.

FYI: the Word “dag” in australia is used to call someone “less than sophisticated” and it originates from the name of “Shit in a ball of sheeps wool at the rear of a sheep”.

I hope this translates for you :nerd_face:

In this case it means Directed Acyclic Graph, which can be used to create algorithms to “travel” connected data points in effective ways.

1 Like

I know which meaning is more likely in Australia :nerd_face: even amongst people who know graph theory.

Hi, @Sergey_Shishkin, is there some way to try it out: code or a demo wiki?

I feel like I should respond somehow, but I have nothing to tell you. I just have nothing.

The code works. I wrote that I plan to write documentation and put it on GitHub. Now I’m thinking about examples. I once did genealogy on TiddlyMap, and now I’ve transferred everything to a file with my plugin. But now I want, as is customary, to make a description in the file itself, but I have little experience here so far, it turned out to be faster to do than to describe. If you are really interested, and want to try it as soon as possible, I can deliver it in any way, by email, in telegram, you can put it on tiddlyhost.

What the code can do. If you insert a macro into the tiddler text, it will show all tiddlers that have a link to it, including all tiddlers of “situation brothers”, the same with transclusion, all tiddlers and field parameters where our tiddler is, all its fields, since they are hidden in the editing mode. Obviously, we are not interested in tags, internal links and transclusions, since the tiddler itself perfectly demonstrates all this.

Take your time making it ready for the public. When I read the topic I was simply expecting the TiddlyDAG thing to be available somewhere, not merely the information that you are working on it. :wink:

Anyway, it sounds to be an interesting (and visual) way to find related tiddlers, and as an owner of a wiki that has on the order of 10,000 tiddlers I am always on the lookout for such things.

I decided to introduce a parameter into the macro. If by default, then the graph is drawn in the tiddler, and with the “list” parameter, it displays information in simple lists without drawing the graph. Combine version 1 and version 2. In principle, it’s almost done, but the bot does not get normal styles for displaying lists, as I would like. At the same time, we have already solved a similar problem with list styles in two other tasks and It is strange that there are some difficulties here. But I think that literally tomorrow, the day after tomorrow, we will finish it. I know how to tame the bot when it cycles or goes astray. And then the idea is to simply put the site on GitHub. I will publish the link. What I like most is that you can insert both macros at the same time. More precisely, multiply the macro … with and without a parameter. :slight_smile:

When we were missionaries in Ecuador, our Australian colleagues would always say “What a dag!”, and were concerned or amused that we named our son Daniel Andrés Gifford, because of his initials.

1 Like

When our first child was due, we were considering the name Gabriel Alexander… until someone pointed out that his initials would be GAS. So when we came up with Theodore Duncan, we thought of every combination of initials, names, nicknames we could imagine until we were sure there were no such issues. When he was born, we called a close friend from the hospital, and on hearing the news, he said, “Theodore Duncan Sauyet, T - D - S. I hope he’s not tedious.” Just like that!

“Damn it, Chuck!” :slight_smile: