added diagram to library