Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to show corresponding notes in graph view when I use dataview! #2486

Open
XuBao12 opened this issue Nov 24, 2024 · 2 comments
Open

Need to show corresponding notes in graph view when I use dataview! #2486

XuBao12 opened this issue Nov 24, 2024 · 2 comments
Assignees
Labels
feature-request New feature or request. soon-to-be-closed Considered ready for closing without further action. Respond if you think otherwise.

Comments

@XuBao12
Copy link

XuBao12 commented Nov 24, 2024

First thanks a lot to your great plugin dataview. But I just find if I use dataview to search notes like with tag: #test, there are not corresponding notes in graph view even though they are collected by dataview. I really need this feature, thanks.

table 
from #test
@XuBao12 XuBao12 added the feature-request New feature or request. label Nov 24, 2024
@XuBao12 XuBao12 changed the title Need to show corresponding notes in interactive graph when I use dataview! Need to show corresponding notes in graph view when I use dataview! Nov 24, 2024
@holroy
Copy link
Collaborator

holroy commented Dec 28, 2024

Dataview and graph view are very different. You can't use Dataview to produce results to insert into graph view, or vice versa. However if you do a search within graph view for tag: #test the list of notes should correspond to the list produced by TABLE FROM #todo.

With one exception, and that is those linking back and forth, and so on.

@holroy holroy self-assigned this Feb 25, 2025
@holroy
Copy link
Collaborator

holroy commented Feb 25, 2025

I'm not even sure if this can be solved using a query. Consider the situation that your query list every files starting with the letter "A", and this works nicely when you view the note with the query, but what should happen when you don't have that note open, and you add another note matching the query?

Should dataview update the query whenever a change happens in your vault? Which queries should it then re-execute, all queries? It would simply not be feasible to achieve this goal on a general level.

However, you might consider using the plugin Dataview Publisher, this plugin can serialise (most?) queries, and insert them as static text in your note, and still allow for the query to be seen, and re-executed when you see the need for refreshing the output of the query. This would produce links in the graph view, as you requested.

@holroy holroy added the soon-to-be-closed Considered ready for closing without further action. Respond if you think otherwise. label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request. soon-to-be-closed Considered ready for closing without further action. Respond if you think otherwise.
Projects
None yet
Development

No branches or pull requests

2 participants