mumu-evanchen
mumu-evanchen
同样的问题 ``` ./node_modules/@antv/g6/dist/g6.min.js Module not found: Error: Can't resolve 'https://cdn.jsdelivr.net/npm/@webgpu/[email protected]/dist/web-devel/glslang.js' in 'D:\zhuiyi\nlp-platform-web\node_modules\@antv\g6\dist' ```
> 树图不支持哦   请问要在图1的情况下实现图2中的效果,有没有间接实现的思路
> 那可以直接绘制背景,往根图形分组上添加图形 > graph.get('group').addShape('rect', { > ... > }) > > 图形属性参见:https://g6.antv.vision/zh/docs/api/shapeProperties group增加shape可以画出背景,但会让节点范围变大,现考虑用原生svg画这个流程,谢谢解答