ForceGraph3D 3D 图表库:如何将图表高度设置为页面高度
// DOM初始化及数据挂载 const elm = document.getElementById('3d-graph') this.Graph = ForceGraph3D()(elm) .graphData(this.data) // 设置画布样式、节点及关系样式、事件绑定等 this.Graph.height(window.innerHeight).width(1920)
原文地址: https://www.cveoy.top/t/topic/nxpD 著作权归作者所有。请勿转载和采集!