Is there any tools that can automatically create a diagram of class structure and interaction?

I've got one in IDX, but it doesn't show the interactions of the classes.

I need to create something like this: