* Configuration options for the mirrorCanvasData function
| 6 | * Configuration options for the mirrorCanvasData function |
| 7 | */ |
| 8 | interface MirrorCanvasOptions { |
| 9 | /** Optional function to process/transform each node during mirroring */ |
| 10 | nodeProcessor?: (node: CanvasNode) => CanvasNode; |
| 11 | /** Optional function to process/transform each edge during mirroring */ |
| 12 | edgeProcessor?: (edge: CanvasEdge) => CanvasEdge; |
| 13 | /** Optional mapping to replace toolsets with new instances during mirroring */ |
| 14 | replaceToolsetMap?: Record<string, GenericToolset>; |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Creates a deep copy of canvas data with new entity IDs while preserving node IDs |
nothing calls this directly
no outgoing calls
no test coverage detected