AntV X6
antdv X6
璐瑶知码li
世上无难事,只怕有心人
展开
-
Antd X6 Edge
Edge动态样式设置.x6-edge { &.edge-processing { path:nth-child(2) { stroke: rgba(57, 202, 116, 0.8); stroke-width: 3px; stroke-dasharray: 8px, 2px; animation: processing-line 30s infinite linear; }}原创 2022-01-12 18:34:30 · 1145 阅读 · 0 评论 -
流程图拖拽效果
/*e: 鼠标事件 部分代码*/ import { Addon } from '@antv/x6'initShape=(e)=> { // 拖拽添加节点 const dnd = new Addon.Dnd({ target: this.graph, //目标画布(必传) animation: true }) const node= this.graph.createNode({ width: 100, .原创 2022-01-12 16:00:33 · 1865 阅读 · 0 评论