Skip to content

Add optional direction arrows for graph links - #59

Open
CAJazzer wants to merge 1 commit into
natefrisch01:masterfrom
CAJazzer:feature/direction-arrows
Open

Add optional direction arrows for graph links#59
CAJazzer wants to merge 1 commit into
natefrisch01:masterfrom
CAJazzer:feature/direction-arrows

Conversation

@CAJazzer

@CAJazzer CAJazzer commented Jun 22, 2026

Copy link
Copy Markdown

Summary

Adds an optional setting to display semantic direction arrows on Graph Link Types edges.

This helps relationships such as:

architecture for:: [[My Product]]
A product of:: [[My Company]]

render visually as directed relationships in the graph.

Added behavior

  • Adds a Show Direction setting.
  • Default behavior draws one arrow from the source note to the target note.
  • Supports per-link overrides:
    • relationship__none:: [[Target]] hides arrows for that link.
    • relationship__both:: [[Target]] displays arrows in both directions.
  • Cleans display labels so sibling to__both renders as sibling to.

Why

Typed link labels are useful, but without direction, relationships like works for, architecture for, or product of can be visually ambiguous in graph view.

Notes

The feature is disabled by default and should preserve existing behavior unless enabled.
graph_example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant