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.

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

links remove source and 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

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

Curved Links

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

Using the Link System

image

  • Use the legend to toggle specific link types
  • Links of disabled types will be hidden from the graph
  • If "Remove sources" or "Remove targets" is enabled, corresponding nodes may also be hidden

Compatible with Dataview

Like the property system, link type filtering and visualization are compatible with Dataview plugin properties. Which means that if you write [friend:: [Ruth Shaw](/ElsaTam/obsidian-extended-graph/wiki/Ruth-Shaw)] in the note Lewis Hunter, a link of type friend will be created from Lewis Hunter to Ruth Shaw.