Docsity

srs document is software too required, Study Guides, Projects, Research of Software Engineering

Partial preview of the text

Download srs document is software too required and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

Software Requirements

Specification

For

Graphics Editor

Prepared by Bimlendra Kumar Yadav

116CS

NIT Rourkela

Software Requirements Specification for Graphics Editor Page ii Table of Contents

**1. Introduction 1

  1. Overall Description 2
  2. Functional Requirements 3
  3. External interface requirements 5
  4. Performance Requirements 6
  5. Other Nonfunctional Requirement 6
  6. Other requirements 7**

2. Overall Description

2.1 Product Perspective

While preparing a presentation or document for a particular topic, we need flow chart diagrams to represent a particular concept in easily understandable way. Currently, we use paint, and many other software s for this purpose. But this software mainly concentrates on creating flowcharts in effort less way.

2.2 Product Functions

User should be able to do following functions:

 Drawing lines, circles, ellipses, rectangles, polygons.  Insert text in the geometrical shapes.  Select object with the help of mouse.  Modify the shape, size, location, color, fill style, line style, line width.  Change the context in text.  Copy or move the selected object to a different location, or deleting a selected object.  Saving the created graphics under user specified name and loading previously created graphics from the disk.  Defining a rectangular area on the screen and zooming the area to fill the entire screen.  Import bitmap pictures into specified position in the drawing.  Shift the displayed drawing along any direction by a specified amount.

2.3 User Characteristics

No special knowledge or skills shall be assumed on the part of the users. Users shall not be expected to learn a set of commands in order to start using the application. Users shall not be expected to remember a list of commands while using the software – these shall be provided via menus, tool palettes, or help screens. Users shall be protected from data loss, such as closing a drawing without saving it first.

2.1 General Constraints

Operating system : windows 10 Database: SQL database Language : English Platform : java

3. Functional Requirements

3.1 Graphic Editing Interface

The external interface shall provide a user interface for viewing and editing. It shall provide a view of the current file we are working on, along with the ability to zoom in and out, and to scroll to any parts of the figure not visible in the current view. It shall also provide a set of tools for editing, including the ability to draw different shapes and to add texts, and to set various parameters concerning the visual appearance of the figure. All user interaction with the software shall be handled by external interface. Hence the external interface shall also provide user commands for opening and saving to files, for navigating the file system. It shall not store any data about the current figure. The external interface shall also be able to select a particular figure and move it as per the user command. 3.1.1 Internal Data The external interface shall store information about the past sequence of edit actions, so that it can provide a multi-level undo. It shall allow the user to undo an entire sequence of edits, back to the last time the figure was saved to a file. The saved list of edit actions shall be cleared each time the current figure is saved. The external interface shall store a list of recently opened files to allow the user instant access to these files. It shall store user preferences, including the size, position and zoom level of the current view, so that these can be restored if the software is closed and reopened. 3.1.2 User Commands The external interface shall make the following commands available to the user. These commands shall be provided by whatever interface mechanisms are appropriate, (ex: pull-down or pop-up menus, tool palettes, keyboard shortcuts, etc…). A combination of such mechanisms may be used if usability testing suggests they are helpful.

  • New: initializes the current empty page to draw the figure on. This command must give the user a warning (and a chance to cancel the operation) if the previous figure has not been saved since the last edit
  • Open: allows the user to browse the directory structure to select a file to open. This command must give the user a warning (and a chance to cancel the operation) if the previous figure has not been saved since the last edit.
  • Save: saves the figure to the most recent file associated with this figure. If the current graph has been initialized and not yet saved to a file, this command functions the same as the “save as” command.
  • Zoom out: allows the user to zoom out from the current view. Enough levels of magnification shall be provided to allow the user to zoom out such that the entire drawing is visible (even if much of the detail is lost).
  • Draw circle: the user shall be able to draw a circular shaped figure on the screen using the mouse.
  • Draw line: the user shall be able to draw a straight line on the screen using the mouse.
  • Draw rectangle: The user shall be able to draw rectangle on screen at any coordinates.
  • Draw ellipse: user shall be able to ellipse shaped figure on screen with the help of mouse.
  • Draw polygon: the user shall be able to draw a polygon upon specifying the number of edges..
  • Add text: this command forms a selected rectangular region on the screen where any text can be entered and can be moved around the drawing. . 3.1.3 Pan function Pan function to shift the displayed drawing along any direction by a specified amount. 3.1.4 Fit screen function A fit screen function to make the entire created graphics fit the screen by automatically adjusting the zoom and pan values. 3.1.5 Grouping function A grouping function to handle complex drawings. A group can be formed by selecting a set of objects. A group can include other groups as well. A drawing object can be a member of at most one group. A Group behaves as a single entity for move, copy and delete operations 4. External interface requirements 4.1. User Interfaces

All interaction with the user shall be via the GEI CSCI. The interface provided by the GEI may be graphical or textual. The interface shall always give a view of the current graph. If the current graph is too large to display on the screen, the GEI shall display part of it, and provide controls for scrolling to the hidden parts. The GEI shall also provide a mechanism for zooming out, to allow the user to see the entire graph in a single view (without necessarily seeing all the detail). The GEI shall also provide an interface for loading and saving files. It shall provide a visual reminder if the current graph has been edited but not yet saved, and in this state, shall warn the user if she attempts to close the graph (or open a different one) without saving the current graph first. It shall also provide a warning if the user attempts to overwrite an existing file. For ease of use, the GEI shall allow the user to browse the file system when opening or saving files, and the GEI shall remember the name and location of the last file opened. 4.2 Hardware Interfaces None 4.3 Software Interfaces The system shall make use of the operating system calls to the file management system to store and retrieve files containing drawings and images.

5. Performance Requirements The system shall respond to each user input within 2 seconds. The system shall be able to handle large diagrams, as would be generated from typical reverse engineering tools. When laying out large diagrams, speed is important. If the layout will take more than a few seconds, the user shall be warned of this, and given a progress indicator. There are no other performance requirements. 6. Other Nonfunctional Requirement 6.1 Standards compliance The input and output file formats should conform to the JPEG, PNG formats. All language used in the software (including manuals and documentation) should comply with current University of Toronto guidelines for decency and equal opportunities