cytoscape/cytoscape.js — pull request #285 by jharwig (2013-06-04 15:52:04+00:00)
Title: Scale canvas by devicePixelRatio to support hi-dpi/retina screens

Devices that have a pixel-to-point ratio other than 1 display a poor representation of the graph. Scale the canvas pixel dimensions by the browsers `devicePixelRatio`.