move graph components to common/view/graph/