support multi group for node
This commit is contained in:
1 parent
9cdc4cee68
commit
7395935e6f
7 files changed
+86
-47
No files matched your search
@@ -150,7 +150,7 @@ G6.registerNode(
|
||||
!nodeDefs.has(data.name) ||
|
||||
(data.path && !data.children?.length) ||
|
||||
!checkTreeData(data) ||
|
||||
(nodeDef.group && !usingGroups[nodeDef.group]) ||
|
||||
(nodeDef.group && !nodeDef.group.some((g) => usingGroups[g])) ||
|
||||
(usingVars &&
|
||||
(data.input?.some((v) => v && usingVars?.[v] === undefined) ||
|
||||
data.output?.some((v) => v && usingVars?.[v] === undefined) ||
|
||||
|
||||
Reference in new issue
Block a user