Code
How jgraph/drawio-desktop is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Declared package entry
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new CLI argument
- Define argument schema and parser logic
- Add unit tests covering the new argument and edge cases
- Convert argument to URL parameter if needed for the web editor
- Pass the parsed value to electron.js for window creation or IPC
Add support for a new export format
- Implement format handler in export-files.js with mime type and extension
- Call renderer process via IPC to render the diagram in the new format
- Add unit test validating the format is recognized and file is written
Add a new build platform or installer type
- Create new electron-builder JSON config (e.g., electron-builder-linux-arm.json)
- Add corresponding release script in package.json scripts
- Create GitHub Actions workflow to build and publish the new variant
- Update DEVELOPMENT.md and RELEASE_PROCESS.md with build instructions
Add a new file system operation with backup and watching
- Implement the operation as an IPC handler in electron.js
- Call backup-file.js to create a backup before writing
- Register the file path with file-watcher.js to detect external changes
- Write tests covering backup, watch, and conflict scenarios
Change the public API
- Declared by package.json (main). Follow its exports or calls to find the implementation.
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.