简体   繁体   English

在visual studio 2010中自动安排UML图表

[英]Auto-arrange UML diagrams in visual studio 2010

I'm creating UML diagrams (use case and class diagrams) in Visual Studio 2010 for a new project. 我正在Visual Studio 2010中为新项目创建UML图(用例和类图)。 Instead of using drag and drop to place all the model elements in a visually pleasing way, I would like to automatically arrange the diagrams, to save time. 我不想使用拖放操作以视觉上令人愉悦的方式放置所有模型元素,而是希望自动排列图表,以节省时间。 Is that possible in Visual Studio 2010 Ultimate? 这在Visual Studio 2010 Ultimate中是否可行? In other VS2010 editions? 在其他VS2010版本中?

Depending on the kind of diagrams you are making, there is often a Rearrange layout icon enabled in the Modelling toolbar. 根据您所制作的图表类型,通常会在“建模”工具栏中启用“ 重新排列”布局图标。 Also, right click on the background of the diagram to be able to find and select that option. 此外,右键单击图表的背景,以便能够找到并选择该选项。 However, I'm not sure if you are going to be satisfied of the result of the auto-arrange capabilities of VS2010. 但是,我不确定您是否会对VS2010的自动排列功能的结果感到满意。

For example, in the sequence diagram, click the layout icon left of Create Work Item : 例如,在序列图中,单击“ 创建工作项”左侧的布局图标: 在此输入图像描述

(this is not available in the Class diagram) (这在类图中不可用)

Only the VS2010 Ultimate edition allows modelling projects, so that answers the second part of your question. 只有VS2010 Ultimate版本允许建模项目,以便回答问题的第二部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM