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

visible graph view by default #39

Open
verbose-void opened this issue Jan 21, 2022 · 4 comments
Open

visible graph view by default #39

verbose-void opened this issue Jan 21, 2022 · 4 comments

Comments

@verbose-void
Copy link

it would be cool to optionally always show the graph view in the corner of the screen for larger view screens like desktops. obsidian's layout is very nice: https://help.obsidian.md/Obsidian/Index

@hikerpig
Copy link
Owner

@nollied I would like to do that, too. But unfortunately I don't think force-graph's performance is good enough for this.
Mainly because it depends on canvas and refresh the canvas on every frame to show the animation, it will defintely turn my MBP's fan into a noise maker 😭.
Obsidian's team obviously developed a better solution - but not open source I think.

I did consider implementing a quieter version in note-graph, but I don't have much time and knowledge though.

Maybe we can keep this issue here, and see what will happen in 2022.

@verbose-void
Copy link
Author

verbose-void commented Jan 21, 2022

obsidian also uses a canvas, they can be quite slow, although the implementation you have for the graph view is pretty crispy.

have you given it a shot? my MBP doesn't have any problems manipulating it around and such.

if you really wanted to save the user some load, maybe even pausing the canvas when the cursor isn't hovering over it as a hack?

@verbose-void
Copy link
Author

btw this is really cool. my dream lately has been using foam/logseq as an associative/hierarchical hybrid technical documentation suite. your project brings it one step closer allowing it to be deployed with the graph to a static github pages site!

@hikerpig
Copy link
Owner

Thank you for the suggestion, I may try to do some bench in a small canvas or hack it a little bit.
I will post the updates here - once I have them 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants