Node Names - ElsaTam/obsidian-extended-graph GitHub Wiki

The node name customization features allow you to control how file names are displayed in your graph, making it easier to focus on relevant information.

Use interface font

You can choose to make your graph view consistent with the rest of your vault. This will use the interface font for the nodes names.

using interface font for nodes names

Characters limit

Set a maximum number of characters to display for node names. This helps maintain a clean graph appearance when working with files that have long names. The character limit applies after other name transformations have been applied. When a name exceeds the limit, it will be truncated.

Filename only

Removes folder paths from displayed names, showing only the filename portion.

Hide extensions

Removes file extensions from displayed names. This is particularly useful for attachment nodes and canvas files.

Use Property

Displays a property value instead of the filename when available. You can specify which property to use (for example, "title" or "name"), and the plugin will check each note for this property in the frontmatter or as an inline property if using Dataview. If the specified property doesn't exist for a node, the plugin will fall back to the standard filename display.

Add a background

Add a background to the node, of the same color as the graph view background, in order to make it more visible when it overlaps with other elements.

Dynamic offset

Displace the nodes names vertically relatively to the arrows sizes.

https://github.com/user-attachments/assets/fa8d9940-3e6d-4fc6-a5f9-4b831c7a6b03

Vertical offset

Displace the nodes names vertically, by an offset. A positive offset will push the text further down from the node, which is useful to avoid overlapping with the arrow. A negative offset will move the text upward. Reference values (interpolation is not linear):

  • 5: gap two times wider between node and text
  • 0: no change
  • -5: no gap, the top of the text matches the bottom of the circle
  • -55: text in the middle of the node
  • -105: text above the node, with no gap
  • -110: text above the node, with a gap (same as the default when text is below)

Reference values for vertical offset

Default (0): default vertical offset

Positive offset (10): positive vertical offset

Negative offset (-55): negative vertical offset