Results 8 issues of mdaines

This may include: - Removing the event listener added by WorkerWrapper. - Terminating a Worker instance.

enhancement

In some cases, Graphviz can produce both output and an error (that is, for some graphs, the command-line program will render output but also exit with an error code). See...

Rendering this graph throws an error, while rendering the same graph with Graphviz 9.0.0 works: ```dot digraph { a [label=" 01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678"] } ``` [long label](https://viz-js.com/?dot=ZGlncmFwaCB7CiAgYSBbbGFiZWw9IgowMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3OCJdCn0K) But these graphs don't: ```dot...

Currently Viz.js bundles its WebAssembly code, which it passes to the Emscripten module for instantiation with `WebAssembly.instantiate`. This means that a user of Viz.js can't call `WebAssembly.instantiate` separately to instantiate...

It's not possible to use WASM in some environments. For example, because of a [Content Security Policy](https://www.w3.org/TR/CSP3/#wasm-integration). Emscripten can build a JavaScript-only version of Viz.js by using the setting `WASM=0`,...

In https://github.com/mdaines/viz-js/commit/69aa8a8b7fd5e1b6ab4d49a72e186b4ff245c683 I had to work around the Graphviz configure script reporting that it couldn't find pkg-config when configuring for Expat. According to the [Emscripten docs](https://emscripten.org/docs/compiling/Building-Projects.html#pkg-config) emconfigure is supposed to...