cleanup
cleanup: () => void
handleCopyClick
handleCopyClick: () => void
handleCopyEnter
handleCopyEnter: () => void
handleCopyLeave
handleCopyLeave: () => void
resetPanZoom
resetPanZoom: () => void
setActiveTab
setActiveTab: (tab: "view" | "editor") => void
setEditModeEnabled
setEditModeEnabled: (enabled: boolean) => void
setEditorText
setEditorText: (text: string | null) => void
setElements
setElements: (elements: DiagramControlsElements | null) => void
setSourceText
setSourceText: (text: string | null) => void
startPan
startPan: (event: PointerEvent) => void
updateCopyLayout
updateCopyLayout: () => void
updateCopyTheme
updateCopyTheme: (theme: "light" | "dark") => void
updateZoomTheme
updateZoomTheme: (theme: "light" | "dark") => void
zoomBy
zoomBy: (delta: number) => void
UI control handlers for panning, zooming, and copy actions in the popup.
Remarks
The controller keeps internal state and must be cleaned up when the popup is dismissed.