<html> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.16.1/vis.css" type="text/css" /> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.16.1/vis-network.min.js"> </script> <center> <h1>None</h1> </center> <!-- <link rel="stylesheet" href="../node_modules/vis/dist/vis.min.css" type="text/css" /> <script type="text/javascript" src="../node_modules/vis/dist/vis.js"> </script>--> <style type="text/css"> #mynetwork { width: 100%; height: 750px; background-color: #333333; border: 1px solid lightgray; position: relative; float: left; } </style> </head> <body> <div id = "mynetwork"></div> <script type="text/javascript"> // initialize global variables. var edges; var nodes; var network; var container; var options, data; // This method is responsible for drawing the graph, returns the drawn network function drawGraph() { var container = document.getElementById('mynetwork'); // parsing and collecting nodes and edges from the python nodes = new vis.DataSet([{"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u51fa\u8def", "label": "\u5916\u8a9e\u7cfb\u51fa\u8def", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "label": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u51fa\u8defdcard", "label": "\u5916\u8a9e\u7cfb\u51fa\u8defdcard", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb", "label": "\u5916\u8a9e\u7cfb", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "label": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "label": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb \u82f1\u6587", "label": "\u5916\u8a9e\u7cfb \u82f1\u6587", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "label": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "label": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "label": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "label": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "shape": "dot", "size": 10}, {"font": {"color": "white"}, "id": "\u5916\u8a9e\u7cfb\u5b78\u6821", "label": "\u5916\u8a9e\u7cfb\u5b78\u6821", "shape": "dot", "size": 10}]); edges = new vis.DataSet([{"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u51fa\u8defdcard", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb \u82f1\u6587", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u51fa\u8defdcard", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb \u82f1\u6587", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u5b78\u6821", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u51fa\u8defptt", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb \u82f1\u6587", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb\u5b78\u6821", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "to": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "to": "\u5916\u8a9e\u7cfb \u82f1\u6587", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "to": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "to": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u6392\u540d2021", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "to": "\u5916\u8a9e\u7cfb \u82f1\u6587", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "to": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "to": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "to": "\u5916\u8a9e\u7cfb\u5b78\u6821", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5927\u5b78\u6392\u540d", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb \u82f1\u6587", "to": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb \u82f1\u6587", "to": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb \u82f1\u6587", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb \u82f1\u6587", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "to": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u9ad8\u4e2d", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "to": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u5b78\u4ec0\u9ebc", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u7562\u696d\u51fa\u8def", "to": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "weight": 1}, {"from": "\u5916\u8a9e\u7cfb\u4ecb\u7d39", "to": "\u5916\u8a9e\u7cfb\u5b78\u6821", "weight": 1}]); // adding nodes and edges to the graph data = {nodes: nodes, edges: edges}; var options = { "configure": { "enabled": false }, "edges": { "color": { "inherit": true }, "smooth": { "enabled": false, "type": "continuous" } }, "interaction": { "dragNodes": true, "hideEdgesOnDrag": false, "hideNodesOnDrag": false }, "physics": { "enabled": true, "stabilization": { "enabled": true, "fit": true, "iterations": 1000, "onlyDynamicEdges": false, "updateInterval": 50 } } }; network = new vis.Network(container, data, options); return network; } drawGraph(); </script> </body> </html>