Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@alexnault alexnault released this 18 Aug 21:05
· 5 commits to master since this release

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.