show node group in inspector

This commit is contained in:
codetypes committed 2025-03-20 23:19:42 +08:00
1 parent 170dffb82c
commit 195028b62c
7 files changed
+87 -60

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ export const initWorkdir = (path: string, handler: typeof alertError) => {
const group = v.type.match(/\(([\w|]+)\)/)?.[1];
if (group) {
v.type = v.type.match(/^\w+/)![0] as NodeDef["type"];
v.group = group.split("|");
v.group.forEach((g) => groups.add(g));
}