Create a class diagram for the widgets.