Fork of Mermaid Starter
• Draft0🔗 Unlisted
This example presents a decision tree that maps file-analysis questions to the appropriate runtime version for the @vizhub/runtime project. The flowchart asks sequential yes/no questions about ES module usage, Svelte components, and dependency bundling, culminating in recommendations for Runtime v1 through v4. It renders the diagram using Mermaid.js, initializing the library with a default theme and basis curve, then calling `mermaid.render()` to convert the text-based flowchart definition into inline SVG placed in the page. The static HTML file displays the resulting diagram centered within a bordered container.
AI-generated descriptionMIT Licensed