Leon
Leon
``` const g = new dagre.graphlib.Graph({compound: true }); g.setGraph({ rankdir: isHorizontal ? "LR" : "TB", nodesep: 12, ranksep: 80 }); g.setDefaultEdgeLabel(() => ({})); ```
Its child nodes will affect each other and divide the spacing between them equally
``` if (isNode(element)) { const { data,id } = element if(id!=="0"){ const {parentId} = data if(parentId===0||parentId){ g.setParent(id, parentId+""); } } g.setNode(element.id, { width: element.__rf?.width, height: element.__rf?.height, }); } else {...
> > 还在评估方案,预计要下个月 > > 从架构上来看,应该是vue3和vue2都会支持? 23年3月份了,你最后用的什么方案,vuepress?
I'm looking forward to it, too