1. A method in a data processing system for generating documentation for source code, the method comprising the steps of: generating textual documentation that describes the source code, the textual documentation having portions that correspond to portions of the source code; generating a diagram including diagram elements that visually represent the portions of source code; and correlating the diagram elements to the corresponding portions of the textual documentation.