feat(network): add group/ungroup commands with bounding box calculation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -757,10 +757,10 @@ function DiagramEditorInner() {
|
||||
onDistributeV={diagramCommands.distributeVertically}
|
||||
canAlign={contextMenu.type === 'node' ? diagramCommands.canAlign : false}
|
||||
canDistribute={contextMenu.type === 'node' ? diagramCommands.canDistribute : false}
|
||||
onGroupSelection={() => {}}
|
||||
onUngroupSelection={() => {}}
|
||||
canGroup={false}
|
||||
canUngroup={false}
|
||||
onGroupSelection={diagramCommands.groupSelection}
|
||||
onUngroupSelection={diagramCommands.ungroupSelection}
|
||||
canGroup={contextMenu?.type === 'node' ? diagramCommands.canGroup : false}
|
||||
canUngroup={contextMenu?.type === 'node' ? diagramCommands.canUngroup : false}
|
||||
/>
|
||||
)}
|
||||
{pendingDeleteNodeId && (
|
||||
|
||||
Reference in New Issue
Block a user