treymo / joplin-link-graph

UI for viewing connections between different Joplin notes
MIT License
252 stars 11 forks source link

Bug: Single note link is not rendered properly #51

Closed goliath-walker closed 2 years ago

goliath-walker commented 2 years ago

Given a single link inside node 1 linking to node 2, following graph is rendered inproperly with trailing edge (v1.1.4): 1

The issue becomes more apparent with PR https://github.com/treymo/joplin-link-graph/pull/50 , when a back-link is shown: 7

, which is supposed to be a back-link from 2 to 1, when 1 is selected. The arrow somehow gets displaced to the trailing, right-upper edge with no note.

Two or more links don't cause any rendering problem.

Do you have any idea, what might the issue be in current plugin version v1.1.4? Thanks!

treymo commented 2 years ago

Oh interesting, I definitely haven't done much testing with that few notes. I can try to look into this soon