Skip to content

Commit

Permalink
imgImports: Update
Browse files Browse the repository at this point in the history
From #25
  • Loading branch information
alixander authored and nhooyr committed Dec 13, 2022
1 parent 708ab00 commit 0d69d89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/imgImports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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':
Expand Down

0 comments on commit 0d69d89

Please sign in to comment.