diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map.js b/src/map.js new file mode 100644 index 0000000..5561250 --- /dev/null +++ b/src/map.js @@ -0,0 +1,9 @@ +import cytoscape from 'cytoscape'; + +let options = { + container: document.getElementById('graph'), +}; + +Object.assign(options, data); + +let cy = cytoscape(options); |