dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.74k stars 257 forks source link

Support the ability to embed/reference custom graph views in notes and publishing graph views on the web #1945

Open SR-- opened 2 years ago

SR-- commented 2 years ago

Please select if your request is either something new or an enhancement

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Is your feature request related to a problem? Please describe

At the moment, the user can view the graph but not use graph instances within notes. It is also not possible publish graph views on the web.

Describe the solution you'd like

  1. Let the user reference/embed graph views (such as the local graph, filtered views, complete vault graphs, etc.) into notes in a similar way they can already embed other notes notes and text blocks defined by headers or anchors.

  2. Support controls for what portion of the graph is embedded and how it appears on the screen (analogous to text embedding or image embedding). The user will need to be able to save filtering or query results in application to graph views.

Such capabilities would be useful, for example, in domain/parent notes or when explaining the relationships between notes to the others. Such views can serve as visual tables of contents or navigation aids. For a discussion, see Discord

  1. Make these views publishable on the web.

Describe alternatives you've considered

It is possible to capture states of the graph as images and embed those. However, these views are not dynamic, can easily go out of dte and mislead.

Additional context

Alternative note-taking software supports this functionality (sometimes simplistically). it is an opportunity for Denrdon to show leadership.

For example, the Obsidian graph view can be published.

image

For some useful discussion and comparison of note-taking graphs, see this note.

SR-- commented 2 years ago

I realise that there are related issues and an RFC regarding graphs...

https://github.com/dendronhq/dendron/issues/1916 RFC https://github.com/dendronhq/dendron/discussions/615

hikchoi commented 2 years ago

Thank you for the suggestion. this would be a useful feature for sure. The graph view is indeed a rich design space like you mentioned. We plan on working on various graph view enhancements in the near future and we'll keep track of you suggestions here when we plan it 🙏🏼

cmadland commented 2 years ago

I would love to see this as well.