added diagram for components view.