javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
486 stars 30 forks source link

FR replacement for graph #306

Closed Jopp-gh closed 1 year ago

Jopp-gh commented 2 years ago

I was never a fan of Obsidians native graph, because of performance issues and limited css variables. I would love a fantasy themed graph instead

Obsidian leaflet plugin would be scanning watched folders and place, spread notes (as markers) based on similar criteria (folder, tag, ect) randomly inside an (user defined/random) province /map grid on a random map (eg Azgaar's fantasy map)

Eg let's say we have 10 watched paths, each path would be one province / map grid cell on our fantasy map. Of course users should be able to fine tune the placement of markers (notes)

This way, Obsidian leaflet would have to write lat and long coordinates to yaml note headers. Also, because of watched folders, new notes would be added as markers on our map after refresh /relaunch

Sounds like a lot of work, but the result would be a more "memorable" experience and most likely more performant solution than the default graph view, at least, if we use a 2d map.

sigrunixia commented 1 year ago

While this would be a lovely proof of concept, Leaflet is not the javascript library for this.