For example, to view protected methods, click on the diagram toolbar and select protected from the list. The lists are displayed based on the selected visibility level, which you can change. To see the list of methods, fields, and other code elements, select the appropriate icon on the diagram toolbar located on top of the diagram editor. Similarly, if you collapse a class, all elements in the containing folder (but not the child folders) will be collapsed.
Note that expanding/collapsing nodes works on the class containing folder level: expanding a folder will display only its content, but not the content of its child folders. Analyze class diagramĪfter you have generated a diagram, press E to expand the nodes and see classes and their connections. To view changes in revisions as a UML Class diagram, in the History tab of the Version Control tool window, select the desired revision and select Show Diff as UML from the context menu or press Command Shift D. You can double-click a node to view changes in a Differences Viewer. You can use the UML Class diagram to evaluate how your local code changes affect the model.įrom the context menu of the code editor, the Project tool window, or the Changes view, select Show Local Changes as UML, or press Command Alt Shift D.