| | |
| | | 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', |
| | |
| | | }, |
| | | ports: { ...orPorts }, |
| | | }) |
| | | |
| | | // 与门节点 |
| | | export const andNode = Graph.registerNode('andNode', { |
| | | width: 70, |