@ -37,7 +37,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.0.6",
"@antv/x6": "^0.10.66",
"@antv/x6": "^0.12.0",
"ace-builds": "^1.4.12",
"antd": "^4.5.3",
"react-ace": "^9.1.3",
@ -64,7 +64,11 @@ const createFlowChart = (container: HTMLDivElement, miniMapContainer: HTMLDivEle
container,
rotating: false,
resizing: true,
clipboard: true,
// https://x6.antv.vision/zh/docs/tutorial/basic/clipboard
clipboard: {
enabled: true,
useLocalStorage: true
// https://x6.antv.vision/zh/docs/tutorial/intermediate/connector
connecting: {
snap: true,