-
Notifications
You must be signed in to change notification settings - Fork 0
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
Save as png: When adding the graph screenshot node badges are not visible. #50
Comments
pngFull( options:any) method added to the cytoscape-visual-cues. |
Here are some notes regarding the pngFull method. This method uses html2canvas library, which is a new dependency added to the visual-cues extension. However, html2canvas library may not recognize certain elements such as 'cy-context-menus-cxt-menu' and 'cy-panzoom'. To use this method, these elements need to be added to the ignoreElementClasses parameter of the function. |
Pull request open cytoscape.js-visual-cues/pull/15 |
Looks good, thanks. Let's wait until the PR is merged into the extension and we start using it from the master branch before we close this issue. |
The pull request was merged. #15 |
As per cytoscape#2219, anything outside the graph in the DOM is not rendered hence we should create our own png load method.
The text was updated successfully, but these errors were encountered: