IntelliJ IDEA 2021.1 Help

EJB ER diagram

An EJB ER diagram opens on a separate editor tab when you select ER Diagram in the context menu for a module in the EJB tool window.

Use this diagram to view entity beans defined in your module, and also to create and change relationships between them.

Toolbar

ItemDescription
Icons graph gridClick this button to show grid in the diagram background.
Icons graph snap to gridClick this button to align elements against the grid.
Icons general zoom inClick this button to increase the scale of the diagram.
Icons general zoom outClick this button to decrease the scale of the diagram.
Icons graph actual zoomClick this button to restore the actual size of the diagram.
Icons graph fit contentClick this button to change the scale to make the contents fit into the current diagram size.
Icons graph layoutClick this button to apply the current layout, selected on the context menu of the diagram.
Icons toolbar decorator exportClick this button to save the diagram in an image file with the specified name and path. The possible formats are: jpeg, png and gif.
PrintClick this button to print the diagram.
Print previewClick this button to open the diagram preview in a separate frame, where you can configure the page layout, scale, and headings information.

Context menu

ItemDescription
NewUse this node to add new EJBs to a module with the EJB facet and configure relationships between CMP Entity Beans.
LayoutChoose this command to select the desired layout from the list.
Show edge labelsChoose this command to show multiplicities of the relationship links in diagram.
Last modified: 23 April 2021