4ndr01d3/biosual

Test Canvas implementation

Closed this issue · 1 comments

Do some test with Canvas for rendering the graphic instead of SVG and evaluate if is useful to use it as an alternative in some cases(e.g. more than 1000 interactions)
Reviewer 1- Implementation 1

As mentioned by the reviewer HTML5 canvas is an alternative to SVG when displaying graphics on web documents. We have chosen SVG for the control per element(protein or interaction) that brings. We know about libraries that allow to have this kind of control over a canvas. However we preferred to develop with SVG among other reasons because it plays along with CSS, and by been part of the DOM the JavaScript tools available for HTML are valid with CSS (e.g. attaching data to a element.)