Fill page with chart.

This commit is contained in:
Sergio Martínez Portela 2022-08-19 19:36:42 +02:00
parent cf524ecee4
commit f5e8fb25f7

View File

@ -269,6 +269,8 @@ function ForceGraph({
linkLabel: (d) => { const e = edges[d.index]; if (e.relation) { return e.relation; } else { return ''; } }, linkLabel: (d) => { const e = edges[d.index]; if (e.relation) { return e.relation; } else { return ''; } },
}); });
holder.appendChild(chart); holder.appendChild(chart);
chart.height = '100vh';
chart.width = '100vw';
</script> </script>
</body> </body>
</html> </html>