trashhalo / logseq-graph-analysis

learn more about the relationships between between your notes using network analysis algorithms
GNU General Public License v3.0
146 stars 13 forks source link

A non-existent link between pages appears #79

Closed Vova3141592 closed 4 months ago

Vova3141592 commented 4 months ago

A non-existent link between two unlinked pages appears in the graph if there is a third page that has links to both pages in the same block. If these links are in different blocks, no non-existent link appears.

This is what it looks like in Logseq's graph view:

изображение

This is how the bug looks in the Logseq Graph Analysis:

изображение

The bug occurs when two links are in the same block in a linking page:

изображение

If you place two links in different blocks in the linking page, the bug goes away:

изображение изображение

In my opinion, this is a serious bug, because the whole point of the plugin is lost because of this bug: how to analyze the graph if a bunch of non-existent links are shown?

Logseq version — 0.10.9 Logseq Graph Analysis version — 0.11.3

mrparalon commented 4 months ago

@Vova3141592 I have feeling that it is by design. If you mention 2 thing in 1 block, that means that they are connected and graph plugin tries to show it @trashhalo Am I correct?

trashhalo commented 4 months ago

@Vova3141592 I have feeling that it is by design. If you mention 2 thing in 1 block, that means that they are connected and graph plugin tries to show it @trashhalo Am I correct?

That's exactly right. I was trying to find and graph connections within the same block. The text describes a relationship between pages. Not all of my note.content was written in outliner style with lots of nesting.

Funny enough I made a Public YouTube video on everything I learned about logseq connections when making this plugin. https://youtu.be/yJOox5FbuAM?si=R5tCIk82S9EXT0qn