IntelliJ IDEA 2020.3 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.grid.svgClick this button to show grid in the diagram background.
icons.graph.snapToGrid.svgClick this button to align elements against the grid.
icons.general.zoomIn.svgClick this button to increase the scale of the diagram.
icons.general.zoomOut.svgClick this button to decrease the scale of the diagram.
icons.graph.actualZoom.svgClick this button to restore the actual size of the diagram.
icons.graph.fitContent.svgClick this button to change the scale to make the contents fit into the current diagram size.
icons.graph.layout.svgClick this button to apply the current layout, selected on the context menu of the diagram.
icons.toolbarDecorator.export.svgClick 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.
printPreview pngClick 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: 19 August 2020