Closed vincent-noel closed 3 years ago
Hi @hasanbalci ,
Thank you for finding this ! I was clearly lacking tests, and missed this case. Your solution is perfect, I used it for png and jpeg (svg don't have this maxWidth/maxHeight option, right ?)
@vincent-noel Actually, svg should also support maxWidth and maxHeight.
Hi @hasanbalci ,
Indeed it's working, I was confused. If everything is ok now, I can squash the four commits into one before you merge.
Adds parameters which are available in cytoscape but not sbgnviz. They should be completely optional and shouldn't change existing behaviour.
Note that saving as SVG with background-color do not work (Hasan confirmed it).