This commit is contained in:
asp_ly 2024-12-14 15:16:32 +08:00
parent 13b20224f0
commit 90890c6015

View File

@ -108,6 +108,23 @@ const WorkflowDesign: React.FC = () => {
container: minimapContainerRef.current!,
width: 200,
height: 200,
padding: 10,
scalable: true,
minScale: 0.01,
maxScale: 16,
graphOptions: {
connecting: {
connector: 'rounded',
connectionPoint: 'anchor',
router: {
name: 'manhattan',
},
},
async: false,
frozen: true,
interacting: false,
embedding: false,
},
}));
graph.use(new Clipboard());
graph.use(history);