Skip to content

Releases: mdaines/viz-js

v1.5.0

16 Jan 16:40
Compare
Choose a tag to compare
  • Introduced viz-lite.js, a smaller build that omits Expat and the NEATO layout plugin for a savings of about 700 KB over the regular version. b8370ad
  • Changed build settings to ensure that the -Os optimization setting is used for Graphviz and Expat as well as Viz.js. This results in a smaller build for both the regular and lite versions. 416776e
  • A new Module instance is now created for every call of the Viz JavaScript function. This avoids errors that could occur when freeing memory from the Viz.js C code and when Graphviz would encounter a syntax error. See issues #65 and #59. 2257a40
  • Memory growth is now allowed. b1df4a9
  • Introduce Viz.svgXmlToPngBase64 and add a callback API for Viz.svgXmlToPngImageElement. 1b317da

v1.4.1

21 Nov 17:34
Compare
Choose a tag to compare
  • Correct license in package.json.
  • Expand pre.js to include more information about the software distributed as part of Viz.js.

v1.4.0

18 Nov 20:32
Compare
Choose a tag to compare
  • Added "scale" option for use with the "png-image-element" format. Previously, window.devicePixelRatio or 1 would be used for this value, which is still the default if no scale factor is specified.
  • Optional support for the "png-image-element" format in IE 10 and 11. Viz.js will check for Fabric.js, and if present, use its SVG parser. This works around a CORS issue with data URIs in these browsers.
  • Fixes for building with the latest emscripten SDK.
  • More tests, and added support for cross-browser testing with Sauce Labs.
  • Switch to MIT license.

v1.3.0

13 Nov 02:12
Compare
Choose a tag to compare
  • Add Viz.svgXmlToPngImageElement and "png-image-element" format.

v1.2.1

31 Oct 02:21
Compare
Choose a tag to compare
  • Fix that a previous error would cause an exception to be thrown on valid input.

v1.2.0

27 Oct 00:28
Compare
Choose a tag to compare
  • Add node export and use this.namespace-style global

v1.1.0

23 Oct 21:23
Compare
Choose a tag to compare
  • Fixed that line numbers for errors were reported incorrectly, and that some kinds of syntax errors were not reported
  • Viz.js will now throw exceptions on syntax errors rather than logging to the console

v1.0.0

01 Sep 19:38
Compare
Choose a tag to compare
Remove web workers example.

Viz.js 0.0.3

12 Apr 14:47
Compare
Choose a tag to compare
Viz.js 0.0.3 Pre-release
Pre-release

Includes recent fixes from vmarkovtsev.

Viz.js 0.0.2

04 Mar 12:29
Compare
Choose a tag to compare
Viz.js 0.0.2 Pre-release
Pre-release

Add support for layout engines other than dot via a third parameter, update to Graphviz 2.36, other fixes.

Thanks to vmarkovtsev.