added visibility preference options to the diagram control view