The Spring Tool Suite has an editor (Spring Configuration Editor) for editing xml Spring context files. This editor can also draw a beans diagram (the Beans Graph tab of this editor - see image below.).
When I remember correctly, this functionality is also included in the Eclipse Spring IDE plugin.

Ralph source share