Releases: mdaines/viz-js
Releases · mdaines/viz-js
@viz-js/viz 3.11.0
- Update Emscripten SDK to 3.1.70.
- Update Graphviz to 12.2.0.
@viz-js/viz 3.10.0
-
Add renderFormats() method.
This method accepts an array of formats to render. Using this method avoids redundant parsing and layout when rendering the same graph in multiple formats, similar to specifying multiple formats when using the Graphviz command-line.
The return value is similar to the render() method, but the "output" value is an object keyed by format.
const result = viz.renderFormats("digraph { a -> b [href=\"https://example.com\"] }", ["svg", "cmapx"], { engine: "neato" }); result.output // => { "svg": ..., "cmapx": ... }
@viz-js/viz 3.9.0
- Update Graphviz to 12.1.1.
- Update Expat to 2.6.3.
@viz-js/viz 3.8.0
- Update Graphviz to 12.1.0.
- Update Emscripten SDK to 3.1.64.
@viz-js/viz 3.7.0
- Update Graphviz to 12.0.0.
@viz-js/viz 3.6.0
- Update Expat to 2.6.2.
@viz-js/viz 3.5.0
- Update Graphviz to 11.0.0.
@viz-js/viz 3.4.0
- Update Graphviz to 10.0.1.
@viz-js/viz 3.3.1
- Accept "images" entries with duplicate names.
@viz-js/viz 3.3.0
-
Add support for an images option, similar to the previous version.
Sizes of images referenced by the image attribute can be specified using an "images" render option:
viz.render("graph { a[image=\"test.png\"] }", { images: [ { name: "test.png", width: 300, height: 200 } ] });
The property "name" is used instead of "path" to match the Graphviz documentation.