3

我有一个很大的遗留项目。

我加载了整个项目:Project->Source Code Engineering->Import Source Directory:(c++) & (path)

有没有一种简单的方法可以在 Enterprise Architect 中安排箭头的意大利面条混乱布线......或仅手动。


我发现以下内容可以显着清理...但仍然有点混乱

 - View->Show Grid
 - View->Snap to Grid->Smart Placement
 - Diagram->Layout Diagram 
 - Diagram->Zoom->Fit to Window
4

1 回答 1

2

The first thing to consider is that a diagram is not "the model" but a view of the model. Only create diagrams that communicate specific aspects of the model that are important to you.

The "spaghetti mess wiring" diagram that shows every class in your system can only communicate one thing: that your model is complex. As such, you don't need to tidy up the wiring; I'm sure the diagram communicates the complexity fine as it is ;)

If you want useful diagrams though, I would suggest identifying the most important classes in your model, create a diagram for each, drop the class onto the diagram and right-click->Add->Related Elements (I think that's what the command is called). You will end up with more diagrams, but they will be focused on what is important.

于 2012-08-13T23:42:17.447 回答