Skip to content

Export the ER diagram to Graphviz DOT #2519

Description

@datlechin

Problem

The ER diagram can be looked at but not taken anywhere. There is no export, so a schema diagram cannot go into documentation, a pull request, or a CI job that renders it.

Proposed solution

  • Export the diagram as DOT, with tables as records, columns as fields, and foreign keys as edges.
  • PNG, PDF and SVG export alongside it, at the current layout and zoom.
  • Include only the tables currently shown, so a filtered diagram exports as filtered.
  • Reachable from the diagram's toolbar and from File > Export.

Alternatives considered

Screenshot the window.

Related database type

N/A / General

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions