The above activity diagram shows the activity of adding a new book in the system the librarian will enter the details of the new book to be entered in the system. After the details, the system will search for the empty location in the library and show to the librarian. If there is no empty space then the message will be displayed.