Skip to content

feat(export): DBML and PDF export of the diagram #1285

Closed

Description

@ZhuchkaTriplesix

Part of #1286.

Problem

The diagram exports to PNG, SVG and Mermaid. DBML is what people paste into dbdiagram / dbdocs and into documentation, and PDF is what they attach to documents.

Scope

  • DBML export of the shown tables: tables, columns with pk, unique, not null, default, increment, note; enums; refs with <, -, >; table groups and sticky notes; header colours.
  • PDF export: the diagram as on screen, one page fitted (and an A3 / A4 choice).
  • Both from the existing Export menu; DBML also Copy to clipboard.

Acceptance

  • The DBML of a sample schema parses in dbdiagram and draws the same tables and refs.
  • PDF matches the screen.
  • Golden tests for the DBML text.

Activity

  1. added
    enhancementNew feature or request
    frontendTheme parser epic label: frontend
    P3Low priority / Polish & Enhancements
    on Oct 10, 2026
  2. added 2 commits that reference this issue on Oct 10, 2026
  3. ZhuchkaTriplesix commented on Oct 10, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    Сделано в #1297, смержено в dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3Low priority / Polish & EnhancementsenhancementNew feature or requestfrontendTheme parser epic label: frontend

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions