标签名
描述
提交信息
操作
2018-12-08 23:55
2018-12-05 10:32
2018-11-11 00:07
  • Viz.js now has first-class support for Web Workers, and returns Promises for all rendering functions, rather than accepting callbacks for some of its utility functions. However, you don't have to use Web Workers: Viz.js still works with just script tags.
  • API and rendering code have been split into separate files to make it easier to work with Viz.js in bundlers.
  • New output types: JSON objects and SVG elements. For example, the renderSVGElement function returns the promise of an SVGSVGElement object, ready to insert into the document.
  • The single Viz() function is now a class and reuses its Emscripten module instance, improving performance across multiple calls.
  • The API code is now built with Rollup, and the release includes an ES6 module.
  • Added yInvert option. (Equivalent to the -y command-line option.)
  • TypeScript declarations have been removed in this release.
2018-05-09 19:49
  • Use ".render.js" suffix instead of ".js.opaque".
  • Accept a Worker instance for the worker option instead of a string. Add workerURL option for passing the URL of a worker as a string. Less specific detection of worker scope.
2018-05-07 21:18
2018-05-05 03:44
  • Remove TypeScript declarations.
  • Build with Rollup.
  • Include ES6 module in npm release.
2018-05-04 00:30
  • Fix TypeScript declarations.
2018-05-02 22:47
  • Free layout and graph when we're done with them. Reuse the Emscripten module instance.
  • Export the Module and render functions from rendering script files.
  • Use ".js.opaque" rendering script files instead of ".module".
2018-04-25 04:03
  • Don't wait for onload to resolve image elements.
2018-04-14 01:37
2018-04-13 02:55
  • Add Travis CI configuration for testing and release
  • Reorganize browser tests
  • Move API docs to wiki
  • Update Expat to 2.2.5
  • Build with Emscripten 1.37.33
  • Add TypeScript declaration file and tests
2018-03-08 03:34
  • Add tests for TypeScript declaration file.
  • Update TypeScript declaration file.
2018-03-07 21:07
  • Add Travis CI configuration for testing and release
  • Reorganize browser tests
  • Move API docs to wiki
  • Update Expat to 2.2.5
  • Add Typescript support
2018-02-27 00:24
2017-05-20 21:50
  • Ensure that non-ASCII characters are handled correctly when using the png-image-element format or the svgXmlToPng functions.
  • Improve error reporting in svgXmlToPngImageElement.
2017-03-04 00:24
2017-01-31 23:28
  • Update to Graphviz 2.40.1
2017-01-26 23:04
2017-01-17 21:06
2017-01-17 00:35