With Rose, my preferred way to create a new diagram that illustrates many model elements is as follows:
- create a new diagram in the tool, be it a class diagram or whatever;
- drag onto the diagram (from the browser) one or more elements that are to be the focus of the diagram (make certain the elements stay selected on the diagram);
- (in Rose) select the Query | Expand Related Elements menu item;
- select the dialog items that control the level of expansion from the focal elements, the types of relationships that are of interest, etc., and
- press the "OK" button.
Rose will populate the diagram with the elements that satisfy the filter criteria that I defined.
XDE works the same way. In this case, once you drag the model elements onto the diagram, you do either of the following:
- right-click and select "Add Related Shapes", or
- select the Diagram | Add Related Shapes menu item.
I think you'll agree that diagrams that are auto-generated from a significant body of source code can be a real mess, with so many element icons on them that the diagrams essentially are impossible to comprehend. The approach that I've outlined above gives you the ability to quickly create custom diagrams that focus on the aspects of the model that are of particular interest to you.
I first was introduced to this diagram creation approach back when I was a maintenance programmer for a previous employer. A third-party consultant delivered a 125,000 line C++ app to us, with no documentation! I reverse engineered the app into Rose. Whenever I needed to understand the piece of the app I was about to work on, I would use the feature described above to quickly create diagrams that laser-focused on the piece of the system that was of immediate interest to me. This Rose capability saved me a boat load of time, because it enabled me to avoid having to deal with extraneous system details.
********************************************************
R a t i o n a l
the software development company(tm)
Todd Dunnavant
Technical Lead, IBM End User Programs
Office Phone #: (281) 431-8751
Fax Phone #: (281) 431-8791
E-mail address: [EMAIL PROTECTED] < mailto:[EMAIL PROTECTED]>
Rational's Mission: "To ensure the success of Customers who
depend on software development and deployment."
********************************************************
-----Original Message-----
From: Seungho Nam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 6:16 PM
To: [EMAIL PROTECTED]
Subject: Re: (ROSE) Rational XDE- Reverse Engg
Dear Harvinder,
When I evaluated XDE for .NET, I got to know we can
draw diagrams by dragging elements on the diagram you
made.
I've seen the function that XDE automatically creates
diagram by getting the elements linked from the
element you selected.
I've not used so XDE for Java so I don't know where
the function is.
Have a look up the manual or evaluation guide.
Best regards,
Nam, Seungho
--- harvinder singh <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I have got a small problem, I have to reverse
> engg a java application
> from code to UML in Rational XDE. When I did that I
> got all the classes and
> its info but no UML diagram, How to get the diagram
> ????
>
> Harvinder Singh
>
************************************************************************
> * Rose Forum is a public venue for ideas and
> discussions.
> * For technical support, visit
> http://www.rational.com/support
> * Only plain-text messages are supported.
> * HTML or Rich-Text messages may be rejected.
> *
> * Post or Reply to: [EMAIL PROTECTED]
> * Subscription Requests: [EMAIL PROTECTED]
> * Archive of messages:
> *
>
http://www.rational.com/support/usergroups/rose/rose_forum.jsp
> * Other Requests: [EMAIL PROTECTED]
> *
> * To unsubscribe from the list, please send email
> * To: [EMAIL PROTECTED]
> * Subject: <BLANK>
> * Body: unsubscribe rose_forum
>
*************************************************************************
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
* Only plain-text messages are supported.
* HTML or Rich-Text messages may be rejected.
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
* http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
* To: [EMAIL PROTECTED]
* Subject: <BLANK>
* Body: unsubscribe rose_forum
*************************************************************************
