How to build project-wide UML diagram in IntelliJ IDEA?

前端 未结 1 634
萌比男神i
萌比男神i 2021-02-02 08:49

Trying to reverse-engineer existing project and it would be of great help to see how classes collaborate/depend on each other. Is there a way to build project-wide UML diagram (

1条回答
  •  -上瘾入骨i
    2021-02-02 09:16

    Right click on your package no matter which. Click Diagrams > Show Diagram (Ctrl+Alt+Shift+U). You will see your package in diagram editor.

    Now:

    • You can expand (E) or collapse (C) all nodes.
    • You can show dependencies
    • You can show many attributes of nodes (constructors, methods, properties...)
    • You can drag&drop other packages from project explorer.

    So, play with it a bit and i think you will achieve what you need.

    This is how it could looks like: enter image description here

    0 讨论(0)
提交回复
热议问题