1

I want to draw connections between types and methods showing the using relationship between them, i.e:

GlobalExecutor -> (uses) -> EndEffect -> (uses) -> RealTimeEffect

... in a tree-like manner.

Joan Venge
  • 315,713
  • 212
  • 479
  • 689
  • Do you mean the Class Designer, or the UML Class Diagram? – John Saunders Mar 22 '11 at 02:23
  • I mean the class designer. Is there a uml class diagram in VS? I use mine by selecting some code files and selecting -> view class diagram from solution explorer. – Joan Venge Mar 22 '11 at 03:59
  • @Joan: there's a UML Class Diagram in VS2010 Ultimate - maybe in some of the other versions, I don't know. It's real UML, unlike the class designer. – John Saunders Mar 22 '11 at 05:14
  • I see what you mean. I use the pro version, so likely don't have it. I guess that thing you mention can only be done using the uml not the class designer right? – Joan Venge Mar 22 '11 at 16:42
  • @Joan: right. Note how a "uses" connection does not imply any change in the actual class. Hence, a "class designer" wouldn't "use" "uses". – John Saunders Mar 22 '11 at 22:09
  • Thanks John, I didn't know the class designer is used to actually design classes. I thought it's to make some diagram using your existing types, to make some sort of showcase. – Joan Venge Mar 22 '11 at 22:13
  • @Joan: nope - that's why they call it the "Class Designer". Another unrelated FYI - when you right-click a project and choose "Properties", that's called the "Project Designer". They like the word "Designer" - :-) – John Saunders Mar 22 '11 at 23:03
  • I didn't know that. I guess that makes sense since that also changes the properties of the project. Thanks man. Btw should I close this question then? – Joan Venge Mar 22 '11 at 23:05
  • No. I'll add my comments as an answer. If you like it, then accept it. This will help others asking the same question later. – John Saunders Mar 22 '11 at 23:06

1 Answers1

2

The Visual Studio Class Designer is not meant to create complete UML Class Diagrams. It's meant to design classes.

No part of the text of a class changes because of "uses" connections, so that functionality is not present in the Class Designer.

The Ultimate Edition of Visual Studio 2010 (and maybe other editions) has a new UML Modeling feature, including UML Class Models. This feature allows you to create Dependency connections between classes.

John Saunders
  • 160,644
  • 26
  • 247
  • 397