You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not possible to use WASM in some environments. For example, because of a Content Security Policy.
Emscripten can build a JavaScript-only version of Viz.js by using the setting WASM=0, so this seems to be mainly a matter of how to structure the build, and publish such a package.
The text was updated successfully, but these errors were encountered:
@lborgman Yes, thank you for reminding me. I took another look at this recently.
Emscripten has a setting that will output a fallback JS file for browsers than don't support WebAssembly (WASM=2). I was able to get Graphviz/Viz.js to build using this setting and successfully render graphs with the fallback.
It seems like a reasonable option, but I need to sort out how it would be packaged.
It's not possible to use WASM in some environments. For example, because of a Content Security Policy.
Emscripten can build a JavaScript-only version of Viz.js by using the setting
WASM=0
, so this seems to be mainly a matter of how to structure the build, and publish such a package.The text was updated successfully, but these errors were encountered: