Viz.js Versions Save

A hack to put Graphviz on the web.

v2.1.2

5 years ago
  • Fix redeclared variable (#160)

v2.1.2-pre.1

5 years ago
  • Fix redeclared variable (#160)

v2.1.1

5 years ago
  • Add support for -n (Nop) option (#151)
  • Specify --libdir option (#153)
  • Correctly forward errors not derived from Error (#145)

v2.0.0

5 years ago
  • 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.

v2.0.0-pre.8

5 years ago
  • 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.

v1.8.2

5 years ago
  • Make sure the Emscripten module isn't exported when Viz.js is loaded in an AMD environment. (#130)

v2.0.0-pre.7

5 years ago
  • Remove TypeScript declarations.
  • Build with Rollup.
  • Include ES6 module in npm release.

v2.0.0-pre.6

5 years ago
  • Fix TypeScript declarations.

v2.0.0-pre.5

6 years ago
  • 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".

v2.0.0-pre.4

6 years ago
  • Don't wait for onload to resolve image elements.