@ -37,7 +37,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.0.6",
"@antv/x6": "^1.3.0",
"@antv/x6": "^1.7.12",
"@imove/compile-code": "^0.0.1",
"@monaco-editor/react": "^3.7.4",
"antd": "^4.5.3",
@ -32,9 +32,9 @@ const ExportModal: React.FC<IExportModalProps> = (props) => {
});
};
const onExportFlowChart = () => {
flowChart.toJPEG((dataUri: string) => {
flowChart.toPNG((dataUri: string) => {
DataUri.downloadDataUri(dataUri, 'flowChart.png');
}, { padding: 50, ratio: '3.0' });
return (