Skip to content

Releases: classcraft/cytoscape_js-canvas

3.0.0

18 Aug 21:05
Compare
Choose a tag to compare

The previous helpers are back and cytoscape-canvas still doesn't make assumptions about the rendering engine meaning WebGL is still possible! The helpers are only available for CanvasRenderingContext2D.

Breaking changes

  • cy.cyCanvas() returns an object containing the API functions instead of returning the canvas directly. To get the canvas, call: cy.cyCanvas().getCanvas();.
  • The helpers require a CanvasRenderingContext2D to be passed.

2.0.0

18 Aug 16:47
Compare
Choose a tag to compare

Breaking changes

  • Removed clear, resetTransform & setTransform from the API to enable both Context2D and WebGL by removing the assumption of a CanvasRenderingContext2D.