From 0d69d896dec73a8e42183d21e7129db2a92f9fe6 Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Tue, 13 Dec 2022 01:31:18 -0800 Subject: [PATCH] imgImports: Update From https://github.com/terrastruct/text-to-diagram-site/pull/25 --- src/lib/imgImports.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/imgImports.ts b/src/lib/imgImports.ts index 2d8eeed..a7db3c9 100644 --- a/src/lib/imgImports.ts +++ b/src/lib/imgImports.ts @@ -71,6 +71,7 @@ import d2_wiiu_dagre from '@/examples/10_wiiu/render/d2_dagre.svg'; import d2_wiiu_elk from '@/examples/10_wiiu/render/d2_elk.svg'; import graphviz_wiiu_dot from '@/examples/10_wiiu/render/graphviz_dot.svg'; import graphviz_wiiu_neato from '@/examples/10_wiiu/render/graphviz_neato.svg'; +import mermaid_wiiu_dagre from '@/examples/10_wiiu/render/mermaid_dagre.svg'; import plantuml_wiiu_dot from '@/examples/10_wiiu/render/plantuml_dot.svg'; export function getImage(id: string) { @@ -203,6 +204,8 @@ export function getImage(id: string) { return d2_wiiu_elk; case 'plantuml-wiiu-dot': return plantuml_wiiu_dot; + case 'mermaid-wiiu-dagre': + return mermaid_wiiu_dagre; case 'graphviz-wiiu-dot': return graphviz_wiiu_dot; case 'graphviz-wiiu-neato':