Skip to content

Commit e4a7687

Browse files
authored
fix(demo-free-layout): group node cannot add from node-panel (#723)
1 parent 1367a03 commit e4a7687

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • apps/demo-free-layout/src/nodes/group

apps/demo-free-layout/src/nodes/group/index.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ export const GroupNodeRegistry: FlowNodeRegistry = {
3838
return !transform.bounds.contains(mousePos.x, mousePos.y);
3939
},
4040
expandable: false,
41+
/**
42+
* It cannot be added through the panel
43+
* 不能通过面板添加
44+
*/
45+
nodePanelVisible: false,
4146
},
4247
formMeta: {
4348
render: () => <></>,

0 commit comments

Comments
 (0)