Spring diagrams
Spring diagrams help you analyze dependencies in your application. You can double-click a bean or a file on a diagram to open it in a dedicated tab in the editor.
Spring Beans Dependencies diagram
Use the Spring Beans Dependencies diagram to view and analyze dependencies between beans in your project.
Open the diagram
Right-click the bean for which you want to build a diagram.
You can also build a diagram for a class to see beans and their dependencies inside this class.
From the context menu, select Diagrams | Show Diagram Command Alt Shift U.
This opens the diagram in a separate editor tab. To open it in a popup window, select Diagrams | Show Diagram Popup Command Alt U.
In the Select Diagram Type popup menu, click Spring Beans Dependencies.
If you want to view only direct dependencies between beans on the diagram, select Show Neighbours of Selected Nodes in the diagram toolbar.
Spring Application Context Dependencies diagram
Use the Spring Application Context Dependencies diagram to view dependencies between multiple configuration files and analyze how they include and reference each other. Red arrows on the diagram mark errors (such as circular dependencies) to easily spot and remove them from your Spring configuration.
Open the diagram
Right-click the configuration file for which you want to build a diagram.
From the context menu, select Diagrams | Show Diagram Command Alt Shift U.
This opens the diagram in a separate editor tab. To open it in a popup window, select Diagrams | Show Diagram Popup Command Alt U.
In the Select Diagram Type popup menu, click Spring Application Context Dependencies.
The Spring application context dependencies diagram uses the following arrows:
A solid blue line stands for | |
A solid yellow line stands for | |
A dashed green line stands for | |
Dotted grey lines stand for other dependencies. | |
| Red lines stand for errors. |