How to use the vis-network.min.css function in vis-network

To help you get started, we’ve selected a few vis-network examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rabix / benten / vscode-client / src / extension.ts View on Github external
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>

vis-network

A dynamic, browser-based visualization library.

Apache-2.0
Latest version published 6 months ago

Package Health Score

88 / 100
Full package analysis