VizHub Runtime Web Worker and Iframe Concept
✓ Published0🌍 Public
This example visualizes the build process of a VizHub runtime by showing a flowchart where code changes feed into the runtime, which sends build inputs to a web worker, receives the build result, and then sets the `srcdoc` for an iframe. The diagram is rendered using the Mermaid.js library, which is configured with custom styling through CSS variables and the `mermaid.initialize` API with theme variables for fonts and colors. The Mermaid diagram definition is written in flowchart syntax and rendered as SVG via the `mermaid.render` method.
AI-generated descriptionMIT Licensed