UPDATE: VERSION-20260313
This commit is contained in:
@@ -79,7 +79,7 @@ export const createGraphConnectingAttributes = (): Partial<Connecting> => {
|
||||
const targetData = targetCell.getData() as ModelElement;
|
||||
|
||||
// 根节点不能作为子节点
|
||||
if (targetData.type === 'startEvent') {
|
||||
if (targetData.category === 'root') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user