# AI Code Report — 2025-09-16T15:52:24Z ## Summary - Added plugin-side integration with the diagram format panel to surface a "CSV path" input that persists to the diagram's custom properties using the existing `Graph.setAttributeForCell` API. - Ensured the property reacts to model changes, debounces duplicate UI creation, and keeps the UI trimmed/synchronized while respecting the editor's lifecycle. - Expanded the Bun-based test harness with DOM/graph stubs and a new assertion that the property is rendered, persisted, and listens for model updates. - Installed plugin-local Bun dependencies required by the test harness (including `@xmldom/xmldom`) so automated tests can execute. ## Testing - `bun install` (within `src/main/webapp/plugins/rdfexport`) to materialize dev dependencies. - `bun test src/main/webapp/plugins/rdfexport/tests/rdfexport.test.ts` ## Notes - The format-panel augmentation is guarded so it only applies once per panel instance and cleans up listeners via the panel's existing disposal flow. - The DOM stubs in the test suite are intentionally lightweight; they only implement the pieces exercised by the plugin to keep the dependency footprint minimal. - When the input is cleared the attribute is removed from the diagram, mirroring the native "Edit Data" behavior.