dondi / GRNsight

Web app and service for modeling and visualizing gene regulatory networks.
http://dondi.github.io/GRNsight
BSD 3-Clause "New" or "Revised" License
17 stars 8 forks source link

Restrict Graph to Viewport Hotfix: Navbar #1119

Closed ceciliazaragoza closed 1 month ago

ceciliazaragoza commented 1 month ago

Hotfix for 7.1 release #1077. Graph is updated to fit within bounds when zoomed into the graph when Restrict Graph to Viewport is selected in navbar. Do this by calling tick() when the restrict graph to viewport option is clicked in navbar, just like how tick is called when click Restrict Graph to Viewport option in sidebar.

ceciliazaragoza commented 1 month ago

I placed tick() call at the end of restrictGraphToViewport method and it works!

dondi commented 1 month ago

@ceciliazaragoza this has been deployed to production—you can verify if the fix now shows up on our website