Links - ElsaTam/obsidian-extended-graph GitHub Wiki
The link system allows you to filter and visualize connections between notes based on their link types. Similar to the Tags and Properties systems, you can filter the graph to show only specific types of connections and visualize these types directly through colored links.
Types
A link has a type if it is associated to a property. For example, with the following frontmatter for the note Luo Ji.md
:
---
lover: "[Zhuang Yan](/ElsaTam/obsidian-extended-graph/wiki/Zhuang-Yan)"
friends:
- "[Da Shi](/ElsaTam/obsidian-extended-graph/wiki/Da-Shi)"
---
The link from Luo Ji
to Zhuang Yan
will have the type lover
, and the link from Luo Ji
to Da Shi
will have the type friend
.
Like the property system, link type filtering and visualization are compatible with Dataview plugin inline properties. For example, this would work too: [lover:: [Zhuang Yan](/ElsaTam/obsidian-extended-graph/wiki/Zhuang-Yan)]
, [friend:: [Da Shi](/ElsaTam/obsidian-extended-graph/wiki/Da-Shi)]
.
Settings
Several settings are identical to the tag system (see Tags):
- Global and Local Mode
- None Type ID
- Color Palette
- Specific Colors
- Link Type Selection
Exclude source/target folders
- Links outgoing from (written in) excluded source folders will be removed
- Links incoming in (targeting a file in) excluded target folders will be removed
For example, if the note Subfolder A/Note Source.md
contains the link [Subfolder B/Note target.md](/ElsaTam/obsidian-extended-graph/wiki/Subfolder-B/Note-target.md)
, excluding the Subfolder A
from source folders OR excluding the Subfolder B
from the target folders will remove the link between the two nodes in the graph view.
Remove sources/targets
- When disabling a link type, you can choose to also remove the source or target nodes
- Can be set independently for Global or Local view
- Useful for cleaning up the graph when focusing on specific connection types
Color links
- Toggle to display links in colors corresponding to their types
- Colors are assigned based on the chosen color palette or specific color settings
- Helps visualize different types of relationships directly on the graph
Draw multiple types
- Toggle to allow the graph to draw lines or curves with multiple colors if a link has multiple types
- With straight lines, backward and forward link types are merged
Curved links
- Toggle between straight and curved link representations
- Can be set independently for Global or Local view
- Curved links can help distinguish between multiple connections between the same nodes
Outline links
Add a thin outline around the links and the arrows. If the elements are not opaque, outlines might appear where line and arrow overlap, or be non visible.