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
Create a popup button when a graph is large to allow users to view an SVG graph while also avoiding horrible page load times.
This is a start and renders correctly the first time, but does not render correctly the second time and causes the page to freeze:
functionshowSVGPopup(popupId,containerName,dot){// Add event listener for Escape key to close the popupdocument.addEventListener('keydown',function(event){if(event.key==='Escape'){hidePopup();}});document.getElementById('overlay').style.display='block';document.getElementById(popupId).style.display='block';varcontainer=document.getElementById(containerName);d3.select(container).graphviz().width(screen.width).height(screen.height).fit(true).renderDot(classGraph_dot);}
The text was updated successfully, but these errors were encountered:
Create a popup button when a graph is large to allow users to view an SVG graph while also avoiding horrible page load times.
This is a start and renders correctly the first time, but does not render correctly the second time and causes the page to freeze:
The text was updated successfully, but these errors were encountered: