title: How to create class diagram from source code using either Enterprise Architect or Rational Software Architect?
body: <p>I am not fluent in UML, but I would like to create a class diagram based on existing C++ code.  Other StackOverflow questions have indicated that two programs - Enterprise Architect and Rational Software Architect - are fairly good at "reverse engineering" C++ code (i.e., creating UML class diagrams based on existing C++ code).</p>
  
  <p>I have downloaded the trial version for both of these applications.  However, I cannot make any headway into understanding what to do to create a class diagram in either of these applications.</p>
  
  <p>In Rational Software Architect, I have created a UML project, but I cannot find any way within the program to select, and reverse engineer, my existing C++ code.</p>
  
  <p>In Enterprise Architect, I was able to import my C++ code, but all the elements (classes) appeared in a useless, overlapping diagonal line within the diagram.  I attempted other settings, such as circle, but these were equally impossible to read because the diagrams were so large (due to the attributes and methods taking up alot of space) that no amount of panning and zooming was useful.  What I would like is to hide everything except the class names (i.e., not display any methods or attributes) so that all 20 classes appear conveniently and legibly in one screen.</p>
  
  <p>However, I am unable to find a way to hide everything except the class names.  Rather, when I found an option (in Enterprise Architect) that seemed like it might hide everything but the class names, for some reason the elements all vanished in the class diagram, and no amount of repeating the steps &amp; deleting and re-adding packages made the class diagram reappear.</p>
  
  <p>Note: My C++ code (at least those files I selected for import into Enterprise Architect) amount to only about 20 classes.</p>
  
  <p>Sadly, a very careful search of the documentation for both of these programs provides only generalities - no specific instructions are given regarding reverse engineering for either of these programs, so far as I could find.</p>
  
  <p>I would be grateful if someone could tell me the basic steps to create a legible, easy-to-navigate diagram via. reverse engineering (i.e., C++-to-UML) that shows only the class names, so that about 20 classes fit (legibly) on one screen, using either Enterprise Architect, or Rational Software Architect - OR any other tool whatsoever that is capable of doing this (I suggest EA and Rational only because they have been highlighted in other StackOverflow answers as the best programs available for this purpose).</p>