Display headings and blocks in graph view

Add a setting to toggle the display of headings as nodes around the parent note.

This would be great to visually explore notes of meetings, articles or book summaries.

In connection with the already existing Attachments toggle it would yield a great tree-like graph if the parent note would first have nodes for all headings and then nodes for all attachments that belong to each heading.

Clicking on the heading note would link directly to the heading in the parent note i.e. [[Parent note#Heading|Heading]].

For example in the screenshot below, imagine another level of nodes (Headings) between my book note Aubrey de Grey - Ending Aging and all the image attachments. This would allow to easily open images for individual chapters and to visually explore ones book summaries!

49 Likes

Yes please!

2 Likes

Using Obsidian nodes broken down by the hX headers as individual nodes.

Consider a pair of notes, each with several sections which can be independently targeted by links.

Currently, back and forth links are indiscriminate, no matter the presence of headings which act as logical blocks.


graph TD
	
	NodeA[Node A]-->NodeB[Node B]
	NodeB-->NodeA

image

With the new structure, cross-links of meaningful value can be surfaced between sections of references.


graph LR
	
	nodeAp([Node A])
	nodeBp([Node B])

	nodeA1(Node A h1-1)

	subgraph nodeA[Node A]

		nodeAp -- h1 --> nodeA1
		nodeAp -- h1 --> nodeA2(Node A h1-2)
		nodeAp -- h1 --> nodeA3(Node A h1-3)
		nodeA1 -- h2 --> nodeA11[Node A h1 h2-1]
		nodeA1 -- h2 --> nodeA12[Node A h1 h2-2]
		nodeA1 -- h2 --> nodeA13[Node A h1 h2-3]

	end

	subgraph nodeB[Node B]

		nodeB1(Node B h1-1)

		nodeBp-- h1 --> nodeB1
		nodeBp-- h1 --> nodeB2(Node B h1-2)

	end
	
	nodeB2-->nodeA3
	nodeA3-->nodeA2
	nodeBp-->nodeA2
	nodeA13-->nodeBp

(The subgraph for nodes is just a convenient abstraction here; in intended practice all nodes in the graph are treated identically, just as any other linked node.)

Relationships between addressable entities become more link-rich and specific, without increasing the number of files in the system. In a real sense, we donā€™t actually care about the file architecture. We care about the logical breaks between ideas which are somewhat orthogonal

Since Obsidian is intentionally bound to flat-file systems and for technical reasons block-level addressing is challenging, this may be a mid-term hybrid solution which is ā€œgood enoughā€ for even long-term use. Practically, it only changes the graph rendering process and nothing in actual creation or editing of notes; those changes are already integrated.

13 Likes

19 posts were merged into an existing topic: Viewable links to block reference

Use case or problem

To show my notes in the ā€˜brainā€™ way. I use headings more than different files, so I donā€™t get the brain demonstration as much
This would also allow for mind maps in the classic obsidian style

Proposed solution

Replace the local graph view with the h1 as a root node, then itā€™s h2s as sub nodes. Connect ones that link

2 Likes

Love it!

It could be a toggle.

In certain situations, this would honestly save me from so much extra work that I go through to get this type of functionality.

I believe there are feature requests that ask for backlinks to show from which heading the current note or in this case heading is linked to from. I assume you would want this as well.

I think a lot of people would find this very helpful although some might only want it applied on a selective few of their notes, which could potentially also be an option.

Thanks.

4 Likes

Iā€™m ā€œupvotingā€ this after discussion with @SquidLord in the Discord, because I actually do a ton with long literature notes (like, 5000+ word plus) and it would be nice to see which subsections I use a lot. I would recommend they only show if theyā€™re linked to.

14 Likes

I would really like to see this implementation! It would boost my productivity greatly because I generally divide each note with headings and the structure of my notes are based on them!
Possible implementation: a new filter (like tags, attachments and so on) called ā€œheadingsā€ that shows as a tree structure the headings of a note (the note itself will be the root node).

@I-d-as:
It could be a toggle.

I think that would be ideal. In the Graph View, under ā€œFiltersā€, there could be a toggle labelled ā€œHeadersā€. If ā€œHeadersā€ is toggled on, then you can toggle ā€œH1ā€, which would show all the ā€œH1ā€ within each note. If ā€œH1ā€ is on, then you have the option to toggle ā€œH2ā€ and so forth, so that for example, you can only see H4, if you also see H3, H2, and H1.

This way you can just toggle on and off which headings you want to see and how deep into the hierarchy you want to go.

5 Likes

Can you please specify how to do that? With any examplese

Wdym? Itā€™s a pruposal. I donā€™t think its in obsidian atm

3 Likes

Can we have some update on this feature? Also looking forward to it

2 Likes

Any more updates on this? Iā€™m definitely looking forward to having this.

2 Likes

Any updates? This is probably my #1 request for obsidian, along with improvements to the graph view (i.e. ability to create notes xmind-style, mathjax support, etc.)

2 Likes

Following! This would be great to have

2 Likes

Samething here, it would also be pretty useful to explore densely connected markdown documentations with callback links into every section !

3 Likes

How to support this request?

3 Likes

+1

Related: Graph view of header references inside a single file

2 Likes

Any update on this? Some of my notes are long with sub headings. It would be nice to see relationships in graph view between concepts within notes and not just notes.

3 Likes

Following! This update would be a game changer for me.

1 Like