removed list of connected widgets from Diagram class