How can I view a graphical representation of source code in the CodeWarrior IDE using Dot and Doxygen?

You need to install doxygen, dot/Graphiz, and Eclox eclipse plugins from the following locations respectively:

www.doxygen.org

www.graphviz.org

http://download.gna.org/eclox/update

While working with Dot+Doxygen, you can view graphical representation of the source code. For example, if you have a state machine, describe the state machine (as shown in the figure, State Machine Description listed below) in the source file.

Dot+Doxygen will then display the graphical representation of the state machine, as shown in the figure Graphical Representation of State Machine listed below.

Figure 1. State Machine Description

State Machine Description

Figure 2. Graphical Representation of State Machine

Graphical Representation of State Machine

Dot+Doxygen also gives you a graphical view of all include file in the source file.

Figure 3. Graphical View of Include Files

Graphical View of Include Files