Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > BOOK: Professional UML with VS.NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional UML with VS.NET
This is the forum to discuss the Wrox book Professional UML Using Visual Studio .Net by Andrew Filev, Tony Loton, Kevin McNeish, Ben Schoellmann, John Slater, Chaur G. Wu; ISBN: 9780764543760
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional UML with VS.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 25th, 2005, 07:10 AM
Authorized User
 
Join Date: Feb 2005
Location: Pune, Maharashtra, India.
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to amitjoshipune Send a message via Yahoo to amitjoshipune
Default How to draw UML diagrams from C# code using Visio

Hi guys,
I am working on C# project. In mid of it I
now need to draw UML diagrams of the code (in C#)
I am using MS Visual Studio 2003 and Visio.
But it does not draw a single diagram on its own.
How to achieve this ?
Regards
Amit Joshi.
Pune
Reply With Quote
  #2 (permalink)  
Old June 10th, 2005, 01:59 AM
Registered User
 
Join Date: Jun 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Amit,

It is common for UML tools -- not just Visio -- to reverse engineer classes from your code into a UML model but not to create diagrams of those classes automatically.

The reason is that class diagrams are merely "views" onto the coded classes and it's up to you to decide which classes to show on which diagrams. If your project has 100 classes you would not want a single diagram showing all of those classes. More likely you would want to draw a diagram for each use case showing the classes that participate in that use case. Or a diagram for each subsystem showing only the classes in that subsystem. Less likely but possible would be a diagram showing all classes begining with letter A, and a separate diagram showing all classes beginning with letter B etc.

[note also that a single class may appear on many diagrams to show its use in different contexts]

Visio cannot possibly know which classes you would wish to place on which diagrams.

I hope that helps,

Tony Loton
Co-author, Professional UML with Visual Studio .NET
www.lotontech.com

Quote:
quote:Originally posted by amitjoshipune
 Hi guys,
I am working on C# project. In mid of it I
now need to draw UML diagrams of the code (in C#)
I am using MS Visual Studio 2003 and Visio.
But it does not draw a single diagram on its own.
How to achieve this ?
Regards
Amit Joshi.
Pune
Reply With Quote
  #3 (permalink)  
Old December 16th, 2005, 06:11 AM
Registered User
 
Join Date: Dec 2005
Location: Bangalore, , India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to roysonalir Send a message via Yahoo to roysonalir
Default

Hi guys,

So if visio cannot help us, do we have some other option ..other
tools available in the net?

Pls let me know.

Thanks & Regards,
Sonali

Reply With Quote
  #4 (permalink)  
Old December 30th, 2005, 05:36 AM
Registered User
 
Join Date: Dec 2005
Location: New Delhi, Delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to gnanforu Send a message via Yahoo to gnanforu
Default

Dear Tony Loton

Thanks for telling about UML in C#. But as per microsoft, we can able to save a Visio Diagram to XML also we can import a valid XML into Visio Diagram which inturn mean using C# we can generate Valid C# Shapes (using Visio SDK also). So please suggest.

Gnan

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write code to draw bouncing circles Bimbo VB How-To 1 November 11th, 2005 02:17 PM
Visio Templates for UML Code Generation location Imar General .NET 1 March 6th, 2005 12:44 PM
diagrams yagiroy SQL Server 2000 6 June 28th, 2003 01:39 PM



All times are GMT -4. The time now is 07:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.