Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return;
}
const graph_name = Md5.hashStr(activeEditor.document.uri.toString()) + ".json"
const data_uri = path.join(preview_scratch_directory, graph_name);
var graph_data = JSON.parse(fs.readFileSync(data_uri, "utf8"));
panel.webview.html = `
<title>Benten: ${activeEditor.document.uri.toString()}</title>
<style type="text/css">
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
font-family: sans-serif;
background-color: white;
}
#cwl-graph {
width: 100%;
height: 100%;</style>