Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Add ability to save graph as PNG #14

Description

@kittsville

It'd be nice if it was possible to export portions of or the entire roo graph.

I quickly made this code to do it but it's not ready for proper use in Pyroon. When further essential stuff is implemented I might add this feature:

function saveAsPNG() {
	var image = new Image(),
	newWindow = window.open();
	image.src = cy.png({full:true,bg:'#FFF'});
	newWindow.document.write(image.outerHTML);
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions