diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-03-22 16:30:35 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2020-03-22 16:30:35 +0100 |
commit | 87f75ea2869629fedf893942b767765eff40c597 (patch) | |
tree | db32952c6c15beb48ae45bb73c687d7baa60b330 /app/view | |
parent | d1e35a91b70c88a888cb3a3cfb849b6ddd70bb22 (diff) | |
download | wcms-87f75ea2869629fedf893942b767765eff40c597.tar.gz wcms-87f75ea2869629fedf893942b767765eff40c597.zip |
very first graph displayed using cytoscape
Diffstat (limited to 'app/view')
-rw-r--r-- | app/view/templates/map.php | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/app/view/templates/map.php b/app/view/templates/map.php index 236ff8e..83e6004 100644 --- a/app/view/templates/map.php +++ b/app/view/templates/map.php @@ -1,5 +1,15 @@ -<pre> +<style> + #graph { + height: 100%; + width: 100%; + } +</style> - <?= $json ?> +<div id="graph"></div> -</pre>
\ No newline at end of file +<script> + var data = <?= $json ?>; + console.log(data); +</script> + +<script src="<?= Wcms\Model::jspath() ?>map.bundle.js"></script>
\ No newline at end of file |