Cycles in the zettelkasten graph - Neuron

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

felko

Is there a reason to detect cycles in the zettelkasten graph and show the cycle separately in the z-index?
I guess this is because no adequate tree representation can be constructed, but I think that's not something that should be disallowed, mutually dependent zettels are quite common (at least it is the way I use it). Is atomicity supposed to prevent this from happening?
If cycles only cause problem for representing the z-index tree, then maybe this could solve the problem:
https://github.com/srid/neuron/issues/99

It would be really neat to haven an alternative view of the Zettelkasten graph that could be navigated. Example 馃憞 from github.com/learn-anything/learn-anything NOTE: I'm up to work on this. Pro...
Sridhar Ratnakumar

I guess this is because no adequate tree representation can be constructed

That's the only reason. But the z-index can be evolved to support non-tree expressions.

Sridhar Ratnakumar

... as long as tree view is still supported.

Sridhar Ratnakumar

@felko Is there a problem with showing the cycle separately? The cycle is being shown only to be "complete" in the zettel listing. Non-cycle part of the graph is rendered as the tree, so the cycle part should be listed somewhere.

Sridhar Ratnakumar

Oh wait, this is not true anymore since the clustering feature

Sridhar Ratnakumar

https://github.com/srid/neuron/issues/101

Cycles are currently shown globally. But they must appear within their associated cluster. To do this: Make mother return the list of subgraphs (instead of list of lists of zids) For each cluster, ...