some changes in the diagram editor