-
Notifications
You must be signed in to change notification settings - Fork 41
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
Concern about the tooltip #24
Comments
Hey @perryisbusy. Agree, this will be a good feature to have. Will start looking into it 👍 |
Seconding everything from @perryisbusy - I'm loving this project, but would also love to be able to leverage the tooltip. Unfortunately it appears to be beyond my ability to build this update myself. |
Hey @perryisbusy , to keep this issue thread clean, I have moved your new question to a separate discussion topic. To answer your question, yes it is possible. You can see the discussion topic for more details. For any further/new queries, request you to create a new issue or discussion topic. Thnx! |
Great package, love it. I wish my programming skill were better so I could chip in :) Just a proposition to introduce a column named |
@SpaceCadetSkywalker this is very similar to how I was thinking as well. We can have additional columns in |
Hey all! Found a hacky way to activate tooltips: (3) create a folder named 'assets' in your 'jaal' folder. (4) add in that folder a css file (file name shouldnt matter, but it must end in .css) with: -moz-border-radius: 3px; box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); z-index: 5; that worked for me anyhow. my understanding of why it worked is that (1) visjs uses 'title' to display tooltips: https://visjs.github.io/vis-network/docs/network/interaction.html (2) for some reason the CSS for getting the tooltip to display is not included and must be added. (3) the way to add CSS to a dash app is documented here: https://dash.plotly.com/external-resources (4) someone had a similar issue with dash on stack exchange, which is where i got the css and the idea from: https://stackoverflow.com/questions/60880982/vis-network-node-tooltip-note-showing NB!!!!!: these are direct changes to the jaal package, so they may go away if you reinstall jaal or setup your project in a different location; this is just a hack for if you're doing this locally and want it to work |
Hey @dbrosnan08 thanks for sharing the workaround, now tooltip functionality is available out-of-box with the latest version of |
Hello Mohit,
The project is amazing! Good work! Just wondering if there is any way to implement the tooltip functionality; for example, move the mouse to the "Jon Snow" node, tooltip information such as name, gender will be shown. Move the mouse to an edge, two nodes' information such as weight will be shown? Thank you!
The text was updated successfully, but these errors were encountered: