IntelliJ IDEA 2018.2 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.


icons graph grid Click this button to show grid in the diagram background.
icons graph snapToGrid Click this button to align elements against the grid.
artwork icons zoomIn Click this button to increase the scale of the diagram.
artwork icons zoomOut Click this button to decrease the scale of the diagram.
icons graph actualZoom svg Click this button to restore the actual size of the diagram.
icons graph fitContent svg Click this button to change the scale to make the contents fit into the current diagram size.
icons graph layout svg Click this button to apply the current layout, selected on the context menu of the diagram.
icons toolbarDecorator export svg Click this button to save the diagram in an image file with the specified name and path. The possible formats are: jpeg, png and gif.
icon print Click this button to print the diagram.
printPreview Click this button to open the diagram preview in a separate frame, where you can configure the page layout, scale, and headings information.

Context menu

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: 4 September 2018

See Also