()
| 74 | } |
| 75 | |
| 76 | const handleExportWithoutHistory = () => { |
| 77 | if (drawioRef.current) { |
| 78 | // Export without saving to history (for edit_diagram fetching current state) |
| 79 | drawioRef.current.exportDiagram({ |
| 80 | format: "xmlsvg", |
| 81 | }) |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | const loadDiagram = ( |
| 86 | chart: string, |