21 lines
1.3 KiB
Markdown
21 lines
1.3 KiB
Markdown
# DBSyn Phase 73.2 + 73.3 — Diagram management, printing and export
|
|
|
|
## Included
|
|
|
|
- Multiple named diagram layouts for each connection and database, persisted using UserDefaults.
|
|
- Diagram picker, create and delete actions. Deleting a layout does not alter database objects.
|
|
- Professional, print-oriented rendering on a white background with navy headings, blue table cards, violet view cards, alternating row stripes, and subdued relationship lines.
|
|
- PDF export using AppKit's vector PDF generation.
|
|
- PNG export at diagram dimensions.
|
|
- SVG export as scalable editable XML artwork.
|
|
- Native macOS Print dialog, with automatic fit-to-page pagination settings.
|
|
- Full column lists in exports (screen preview still limits to 10 columns per node).
|
|
|
|
## Use
|
|
|
|
Open **Generate Schema Diagram…** from a database context menu. Choose or create a named diagram with the Diagram picker and plus button. Arrange tables, then choose **Export / Print** > **Export PDF…**, **Export PNG…**, **Export SVG…**, or **Print…**.
|
|
|
|
## Notes
|
|
|
|
Diagram exports are read-only and do not modify MySQL schema or data. PDF and SVG are vector-based. Relationship links are generated from MySQL foreign keys, when available. Printing is through the system print dialog. The application must be compiled and exercised on macOS for final validation.
|