Bug Description
DBCode crashes or causes VS Code to become unresponsive when I try to export an ERD to PNG or another image format. The export process fails, and the application stops responding unexpectedly.
Repro Steps
- Open VS Code.
- Open DBCode extension.
- Connect to the database.
- Open or generate ERD from the database/schema.
- Click the export option.
- Select PNG or another available export format.
- The export process fails and DBCode/VS Code force closes or crashes.
Expected Behavior
ERD should be exported successfully to PNG or another selected format without crashing.
Actual Behavior
DBCode crashes or force closes when exporting the ERD. The export file is not generated.
Environment
- DBCode version:
- VS Code version:
- OS:
- Database:
- Connection: direct
Error Messages (if applicable)

Bug Description
DBCode crashes or causes VS Code to become unresponsive when I try to export an ERD to PNG or another image format. The export process fails, and the application stops responding unexpectedly.
Repro Steps
Expected Behavior
ERD should be exported successfully to PNG or another selected format without crashing.
Actual Behavior
DBCode crashes or force closes when exporting the ERD. The export file is not generated.
Environment
Error Messages (if applicable)