Add parent and child file system like hierarchy

Use case or problem

I can link file from folder to folder using backlink.
But i want to create structure where all the topic related file stays in under parent file as child file.

Proposed solution

If possible when we add backlink give us an option to mention if that file is parent or child file. this way link can stay together hierarchically and add it somewhere else also.

4 Likes

I will try to elaborate a bit more on this feature and the problems I have in hope of shedding some light on this topic.

Use case or problem

I use Zettelkasten method to store my notes, meaning all in one folder, unstructured.
I try to get structure from the graph with connection between notes but I’m encountering one of 2 problems depending on how I link my notes.

  1. Too many links

The way I used to do it was linking my note to all topics related to it and I would do this at the end of the file.

For example, I have a note called Kerberoasting and it is linked to the following notes:

Kerberos, Rubeus, Active Directory (AD), Cyber Security, Red Teaming, Penetration Testing, Offensive Security, Password Attacks, …

Linking notes like this ensures that top parent notes like Cyber Security, would be the biggest on the graph unlike how I would do them in problem #2 but it is too much links which are not really useful in the end, plus it ads more cognitive load.

Reason why this is not really useful is when I open local graph of Cyber Security trying to find some note by going from the source, there is no structure. On that local graph I will see hundreds of notes connected to it and it is not helpful at all.

  1. Graph size sucks

Recently, I changed my approach and I link only the closest parent notes.
If we look at the same example of Kerberoasting note, it would have these links:

Kerberos, Password Attacks

Which is much cleaner and removes all that cognitive load. This is possible since I have the following parent/child structure:

So, where is the problem you ask? With this system, Cyber Security would be one of the smallest points on my graph since it is connected only to Offensive Security and Defensive Security.

Proposed solution

As the OP suggested, give us the option to somehow make parent/child/relative links instead of usual links.

As for the graph, it would work like this:

  • Child notes share their value with Parent notes. So if Red Teaming has size of 2 and Penetration Testing has 3, Offensive Security will have size of 5. This would fix the size of the notes in graph

  • Relative notes don’t give their value to other relatives. This prevents some notes from being so big, like some notes I have for tools that can do many things. For the graph, I’m more interested into topics and not tools so I would prefer them staying small :slight_smile:

  • Option to filter Child/Parent/Relative notes

This way you would preserve the structure inside the (local) graph and your root topics would be the biggest point on the graph.

1 Like

I had your same needings and this plugin has helped me to solve them

1 Like

Cool plugin but it doesn’t solve the issue I have.

As I understand it, plugin only names and colors the links on the graph but it doesn’t affect size of notes.

With that plugin you have a chance to describe the relation between two links. Why don’t you Simply insert a number to explain the weight of the link?

Having a number on the link doesn’t help my goal, as I described in my first comment, the problem is the size of the notes in the graph with which this plugin wouldn’t help unfortunately.

Then your focus on the graph is a bit off-topic, because the original topic here was about creating typed links and hierarchies between notes. You also described issues related to this, but then apparently chose to focus on the graph node size issue, which would fit better in a different request.

Anyway, I think both of you need the Breadcrumbs plugin. Specifically, the v4 beta, which is getting many updates these days. This allows you to create typed links (up, down, related, child, parent, same, cousin, etc.), based on your vault structure, and also to display the relationships in a variety of useful ways.

It sounds to me like @DivineClown might be interested in the Folder note “edge builder”.


I think the Breadcrumbs plugin might give you the structure you need, as well as the filtered views.

2 Likes

It is useful but I’ll wait until this become obsidian core plugin it self and it would be pretty helpful if its more sorted

Hello, I made the plugin you need, VirtFolder