logseq / db-test

Used for Database version test
7 stars 1 forks source link

Tags as properties not showing as edges in graph #98

Open nckre opened 1 month ago

nckre commented 1 month ago

Search first

What Happened?

Not sure if bug or request for enhancement.

When a tag (e.g. #Person) uses another tag (e.g. #Organization) in its properties, this connection does not show in the graph view.

Reproduce the Bug

  1. Create tag #Organization and tag 1 page (e.g. [[Logseq]] #Organization)
  2. Create tag #Person and tag 1 page (e.g. [[Tienson]] #Person)
  3. Add new property for #Person : new page (e.g. [[Organization]] as node #Organization)
  4. Assign organization to person
  5. Go to graph view

Expected Behavior

In the graph view, these pages should be connected

Screenshots

CleanShot 2024-09-16 at 16 59 54

CleanShot 2024-09-16 at 17 08 22@2x

CleanShot 2024-09-16 at 17 08 36@2x

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

nckre commented 1 month ago

Not 100% sure if this is the right way to connect different tags hence the longer recording.

Feels like this should be a bit simpler from a UX perspective, given that's it's a pretty regular use case.