Skip to content

SVG export #4

@jrobinso

Description

@jrobinso

Add a button to export the SVG to a file, as we do in igv.js. I've requested an API to get the SVG from the circ view component here: GMOD/jbrowse-components#2610. However, in the absence of an API we should be able to easily get the SVG with a DOM query, there's only 1 SVG element in the circ view. Once we have that I assume we can export it.

DOM looks like this:
Screen Shot 2021-12-30 at 9 27 47 AM

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions