Use case or problem
I would like to structure and style the graph view according to the parameters in the markdown files. For me, this would make the structure of the information map much more comprehensible and accessible.
Proposed solution
The simplest way, I think, would be a table in Obsidian’s settings. If specified, Color and Thickness. are applied on the link to the specified node. Attraction affects the distance to this node.
You could use the parameter variables, like value1, for making the appearance parametric.
Link appearance
Parameter name | Thickness | Color | Attraction |
---|---|---|---|
Index | 0000FF (or a colored rectangle) |
150 (100 is default) | |
Next | 1.2 | 0000FF |
|
Previous | 1.1 | 0000EE |
|
Stakeholder 1 | value1 | FF330033 (color with alpha value) |
|
Stakeholder 2 | value2 | FF330033 (color with alpha value) |
|
Photo | 170 |
In a markdown file the parameters could look like this:
---
Number: 11
Index: "[[Obsidian-Notes]]"
Previous: "[[2025-02-04, Obsidian - vCard support for contact management]]"
Next: "2025-04-11, Obsidian - Parametric Graph View"
Stakeholder 1: "[[Mr. Smith]]"
value1: 2
---
This would draw a blue line from the note to [[2025-02-04, Obsidian - vCard support for contact management]]
1.2 times thicker than normal. Another bluish line, 1.1 thicker, would go to [[2025-04-11, Obsidian - Parametric Graph View"]]
. The line to [[Mr. Smith]]
would be twice as thick as normal.
I wrote this as a feature request, since I believe affecting the nodes positions is too slow when implemented with a plugin.