1
This commit is contained in:
parent
f3058cd7c9
commit
13297f25dd
@ -107,6 +107,22 @@ const WorkflowDesign: React.FC = () => {
|
||||
width: 200,
|
||||
height: 150,
|
||||
padding: 10,
|
||||
scalable: true,
|
||||
minScale: 0.01,
|
||||
maxScale: 16,
|
||||
graphOptions: {
|
||||
async: true,
|
||||
getCellView(cell) {
|
||||
if (cell.isNode()) {
|
||||
return graph.findViewByCell(cell);
|
||||
}
|
||||
},
|
||||
createCellView(cell) {
|
||||
if (cell.isEdge()) {
|
||||
return null;
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user