show node group in inspector
This commit is contained in:
1 parent
170dffb82c
commit
195028b62c
7 files changed
+87
-60
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user