We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642c03e commit 0426458Copy full SHA for 0426458
src/html.ts
@@ -24,10 +24,9 @@ export function getHtmlContent(dot?:string){
24
const vscode = acquireVsCodeApi()
25
const dot='${dot}'
26
vscode.setState(dot)
27
- const res =await (await fetch(dot)).text()
+ const res = await (await fetch(dot)).text()
28
const gv = d3.select('#app').graphviz().renderDot(res, restyleSvg)
29
d3.select('#hide').graphviz({zoom:false}).renderDot(res)
30
- const gv = d3.select('#app').graphviz().renderDot(res)
31
32
d3.select('#downloadSvg').on('click',()=>{
33
const serializer = new XMLSerializer()
@@ -150,4 +149,4 @@ export function getHtmlContent(dot?:string){
150
149
}
151
<style/>
152
</html>`
153
-}
+}
0 commit comments