marbl / MetagenomeScope

Visualization tool for (meta)genome assembly graphs
https://marbl.github.io/MetagenomeScope/
GNU General Public License v3.0
24 stars 8 forks source link

Blurry exported screenshots #226

Open fedarko opened 2 years ago

fedarko commented 2 years ago

Why do the nodes have labels in the screenshot, even if they don't in the interface? Also why do the screenshots look blurry?

Maybe I'm calling cy.png() wrong or something. See attached.

mgsc-2022-03-21T02_04_36

update: ok, so the labels thing is a known issue -- see #184. Not sure about the blurriness, tho.

fedarko commented 2 years ago

Looks like the blurriness can be somewhat fixed by bumping up the scale parameter used for the png export, although it looks like if the image gets big enough (e.g. if scale = 5, even for a relatively small graph) then Cytoscape.js will just silently output an empty image. Maybe just let the user specify the scale? hm.

also worth noting that bigger scale = bigger file = chonkier images