agerardin / joplin-plugin-knowledge-graph

Notes as nodes. Explore your Joplin knowledge graph.
MIT License
93 stars 5 forks source link

Notebooks as nodes #2

Open shbach opened 2 years ago

shbach commented 2 years ago

Thanks for making this great plugin! I was wondering if it's possible to add the option of using notebooks as nodes. e.g. I have a notebook containing dreams I recorded and I would like all these notes to show up connected to a node for the dream notebook.

agerardin commented 2 years ago

Wonderful! The quick workaround would be to tag all notes of the Dream notebook with a "dream" tag. IMO tags are great to organize notes by their content rather than a hierarchical file structure.

It would be quite straightforward to implement notebook nodes, but I am a bit hesitant to do so right now. Maybe there is a way to generalize the concept of synthetic nodes / associated filters and let users define how they want to customize them, but I would need to collect more requirements for that. I will mark this issue as a possible ''enhancement" so interested people can help discuss it.

shbach commented 2 years ago

Hmm that's true that I could use tags (and I do use them for certain things) but I think for some use cases I still like to have the hierarchical structure as it makes it easier to organize and find things. Maybe if Joplin could do sub/nested tags I would change my mind.

agerardin commented 2 years ago

I see your point. Since the hierarchical structure translates within the graph into a tree by following a "in" relationship, it would allow for nice interactions. Note nodes can be linked to a notebook node which can itself be link to a parent notebook through this relationship up to the root. Filtering a notebook would filter all its children following down the "in" relationship. We could imagine being able to expand/collapse the whole branch by clicking on a notebook node as well.

DanteCoder commented 2 years ago

Indeed It would be a nice feature. For now I wrote a little plugin that creates synthetic node notes and links every note to them. It's still in development but for now it's a workaround to let me see visualize my notes in a tree with this nice plugin.

chandler150 commented 2 years ago

Commenting, I would be very interested in this feature.

demondevilhades commented 2 years ago

I think it will be a very nice feature! In a way, it's also a support for multi-layer in mindmap. Maybe you could add an option in settings to control whether it takes effect or not.

Incognitonomous commented 10 months ago

Is this still being considered? I would love for this to be a feature, although admittedly it stems from how I intend to use and organize my notes in Joplin. I use hierarchical structuring far more than I use the tag system, and it allows the titles of my notes to use the context of the notebook/sub-notebook its in.

For example, if I have a notebook called cryptography, then I'd be able to deduce that a note inside this notebook titled "Introduction" would be an introductory note to cryptography. However, this context completely vanishes when looking at the graph rendering - and other notes titled introduction similarly have the same lack of context. Furthermore, in order for notes in a folder to be linked in the graph, I'd need to somewhat inorganically link them together in the notes. Tagging them doesn't really suit my needs, since the relations I'm after are hierarchical - For example, symmetric cryptography is a subsection of cryptography, not an adjacent section.

Having notebooks as nodes would perfectly fix my issue, since it would both provide context to the titles of the nodes, and allow for indirect connections between the notes in these notebooks. Currently this plugin doesn't really serve much purpose to me - which is a shame, since it's a really cool plugin, and I love the idea of being able to see the connections between the notebooks. But formatting my notes to make this plugin work for me just isn't something I'm willing to do - any approach I could take would just look messy and inorganic, and would scale dreadfully.