Skip to content

learn more about the relationships between between your notes using network analysis algorithms

License

Notifications You must be signed in to change notification settings

trashhalo/logseq-graph-analysis

Repository files navigation

Logseq Graph Analysis

Learn more about the relationships between between your notes using network analysis algorithms.

demo

Installation

  • Download a released version assets from Github.
  • Unzip it.
  • Click Load unpacked plugin, and select destination directory to the unzipped folder.

Usage

  • Click the graph icon to go into graph analysis mode.
  • There are 3 modes to play with
    • Navigate - Clicking a node will open it in logseq to edit.
    • Shortest Path - Find the shortest path between 2 notes. Click a note to select it.
    • Adamic Adar - Find secret connections between your notes. Click a note to learn which notes the algorithm thinks are linked
    • CoCitation - Checks how alike documents are by looking at how close their shared references are
  • Shift-click node to add it to sidebar
  • If there are nodes you wish to hide from your graph add the page property graph-hide:: true or exclude-from-graph-view:: true
    • graph-hide:: true hides nodes from this plugin's graph analysis mode
    • exclude-from-graph-view:: true hides nodes from both this plugin and Logseq's native global graph view, see the Logseq documentation
    • If you are interested in seeing suprising paths in your notes its a good idea to add this to notes that have lots of connections.

Search and filters

Fv8yH2eWYBYBcNH.mp4

You can use Search to highlight page on grapg by title. filter checkbox will keep only found pages + n neighbours

Filters allows you to color nodes by search query.

Both search and queries supports text search and regexp. Use q: {your query} to search using logseq quries

Settings

  • journal: show journal pages on your graph. may be slower. default false

Development

  1. yarn
  2. yarn build
  3. Load the unpacked plugin

Icon

Algorithm icons created by Becris - Flaticon

Thank You

Huge thanks to obsidian graph analysis for the inspiration and implementation of the adar algorithm!

About

learn more about the relationships between between your notes using network analysis algorithms

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages