You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native Cytoscape has the min-zoomed-font-size option that stops text from rendering when the scale is too small to read it. Since this plugin uses arbitrary HTML, a font size would probably not work, but perhaps an option to set a minimum scale, after which all labels would be hidden, would be useful.
In my project I threw some code in to updatePanZoom method to add "display: none" to the container when the scale goes below 0.3. A way to pass in a specific zoom level would of course be preferred.
Thanks! Love this plugin
The text was updated successfully, but these errors were encountered:
Native Cytoscape has the min-zoomed-font-size option that stops text from rendering when the scale is too small to read it. Since this plugin uses arbitrary HTML, a font size would probably not work, but perhaps an option to set a minimum scale, after which all labels would be hidden, would be useful.
In my project I threw some code in to updatePanZoom method to add "display: none" to the container when the scale goes below 0.3. A way to pass in a specific zoom level would of course be preferred.
Thanks! Love this plugin
The text was updated successfully, but these errors were encountered: