Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add text into decision node UML in visual studio 2012

I try to use activity diagram in Visual studio. When I add a decision node to diagram, there is no way to add text to display true or false condition. I searched in connector properties but it doesn't help.
Look at this, I want to add true and false text into decision node:
enter image description here

Another way is using comment node, but the problem is comment doesn't link with connector.
How can I do that? Any help would be greatly appreciated.

like image 759
ductran Avatar asked Feb 21 '13 10:02

ductran


People also ask

How do you add text in decision box in Staruml?

You can enter multiline text by double clicking the Text Box view element. If you want to add a newline character, press Shift-Enter .

Does Visual Studio have UML diagram?

In Visual Studio, in the Solution Explorer, select a solution. On the Project menu, click Add New Item. In the Add New Solution Item dialog box, click Visio Files, and then click UML. Under Templates, click a UML diagram, and then click Open.


1 Answers

Click on the connector and Right click->Properties. In the Properties you can name the Guard on each connector.

like image 109
allen Avatar answered Oct 20 '22 01:10

allen