wangyanshen
2023-02-01 dd6abcc7f7d3c42ef8cf82c545015f4f43379ae7
src/views/main/flow-x6/graph/shape.js
@@ -2,7 +2,16 @@
import { basicPorts, customPorts, bottomPorts, orPorts, andPorts } from './ports'
import '@antv/x6-vue-shape'
console.log(Dom,55555)
const ns = {
  "svg": "http://www.w3.org/2000/svg",
  "xmlns": "http://www.w3.org/2000/xmlns/",
  "xml": "http://www.w3.org/XML/1998/namespace",
  "xlink": "http://www.w3.org/1999/xlink",
  "xhtml": "http://www.w3.org/1999/xhtml"
}
// 基础节点
export const FlowChartRect = Graph.registerNode('flow-chart-rect', {
  inherit: 'rect',
@@ -135,6 +144,7 @@
  },
  ports: { ...orPorts },
})
// 与门节点
export const andNode = Graph.registerNode('andNode', {
  width: 70,