graphlib icon indicating copy to clipboard operation
graphlib copied to clipboard

如何在jointjs中实现自动生成无向布局呢?

Open yajunfan opened this issue 5 years ago • 0 comments

So how do we automatically generate an undirected layout in JoinJS? let graph = joint.layout.DirectedGraph.layout(this.graph, { dagre: dagre, graphlib:graphlib, ranker:"tight-tree", directed:false, setVertices:false, // setLinkVertices: true, rankDir: "TB",//LR align:"DL", rankSep: 100, marginX: 10, marginY: 10, nodeSep: 50, edgeSep: 50, // clusterPadding:10, resizeClusters:false, });

yajunfan avatar Feb 26 '21 07:02 yajunfan