Custom Diagrams

Custom Diagrams

https://github.com/dbeaver/dbeaver/wiki/Custom-Diagrams

 

You can create custom ER diagrams that can contain any tables, relations and notes.
However, even custom diagrams may contain only real existing database entities (tables).

Custom Diagrams_第1张图片

You can create a custom diagram in one of the ways:

  1. On the DBeaver main menu, click File -> New. Then in the new diagram wizard, click DBeaver -> ER Diagram, and then Next:

    Custom Diagrams_第2张图片

  2. In the Project Explorer view, right-click the ER Diagrams node and then click Create New ER Diagram on the context menu.

    Custom Diagrams_第3张图片

In both cases, in the Diagram Create Wizard, specify the diagram name and (optionally) choose initial diagram contents (set of tables):

Custom Diagrams_第4张图片

The new diagram appears in a separate editor. Now you can drag-n-drop any number of tables onto it. You can add tables from different connections and even different database type (for example, combine Oracle and MySQL tables in one and the same diagram).

You can also add notes and custom relations (associations) using the ERD palette on the left side of diagram tab, see details in ER Diagrams article. For example, to create a diagram similar to the one shown at the beginning of this article, you need to:

  1. Add required tables and relationships between them and move them around to create a well-shaped structure (see Structure Adjustment section of the ER Diagrams article).
  2. Add notes (see the Notes section of the ER Diagrams article).
  3. Stretch the notes to cover the intended tables, then send the notes to back, and then set color to the tables and notes (see the View Adjustment section of the ER Diagrams article).

Undo/redo functions are fully supported in diagram editing.

你可能感兴趣的:(Custom Diagrams)