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

Support for dynamic nodes #59

Open
kosirm opened this issue Nov 5, 2021 · 2 comments
Open

Support for dynamic nodes #59

kosirm opened this issue Nov 5, 2021 · 2 comments

Comments

@kosirm
Copy link

kosirm commented Nov 5, 2021

Hi, first of all HUGE thank you for sharing this with community. I have all my data in pouchdb (indexdb) and I would like do dynamically add nodes when user clicks on node. Do you think this would be possible? Thanks for any hint.

@kosirm kosirm closed this as completed Nov 6, 2021
@kosirm
Copy link
Author

kosirm commented Nov 8, 2021

I will reopen this, I felt so stupid, since there is also a multiroot-change-dataset example... But still, you have much more experience and maybe you can give me some advice. I have all data in pouchdb (idb) local database, and there are much too much nodes and links for display (almost infinite combinations), but user don't need them all because it would be overhelming not only for computer, also for user 😄 ...
The user need to follow one route, so he starts at one node (actually he choose that node from search box). So when the user click on that node, I will make query to db and show child nodes. Then user then click on one or more child nodes, and I will query again, etc. I will also like to show badge on node with number of child nodes (I can get this with query).
Do you think your project is suitable for such thing? Thanks for any reply!

@kosirm kosirm reopened this Nov 8, 2021
@orlandobee
Copy link

I would also like to know how to do this. If anyone comes up with a solution, please share with us.

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