Adding widget diagram.