Here is an example cytoscape graph that I created using this site as reference here
I was wondering if its possible to show the tooltips when hovering on each node in a graph in the same way that plotly can do to its graphs (like this)
Dash Cytoscape does not have a built-in tooltip. It's possible to use hover callbacks (documented in the event callback guide) to update the content of a separate component (such as a html.P
on the side). However that will not behave the same way as a tooltip.
You might also be able to build a custom component (using the component boilerplate) that follows your cursor and display custom information (given by the hoverData
prop) whenever it is updated by a hover callback. However, that would require knowledge of JavaScript and React, which can be learned from the React for Python developers primer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With