Docs/How To/Export an SRS

Export an SRS

The same spec that drives the diagrams, rendered as a formatted document you can hand to a client.

The SRS view

Switch to the Spec document view and kratai renders your Use Case Model, Data Model, and NFRs as a formatted Software Requirements Specification — the same underlying data as the diagrams, laid out as a document a non-technical reader can follow without implementation detail getting in the way.

Downloading the SRS

Use the Download SRS button in the document view to export it. A save dialog asks where to put the file and which type you want: Word (a .docx you or your client can edit) or PDF (the finished document, ready to send). Both keep the same section structure as the on-screen document. The PDF adds pagination rules that keep headings and entity blocks from getting orphaned across a page break; the Word file carries real headings, tables and lists, with each diagram as a picture and its caption as editable text.

The Word file is a copy, not a second source of truth: changes you make in Word do not flow back into your spec. To change the spec itself, edit it in kratai (or ask the chat) and download again.

What's in it

Every generated SRS includes:

  • An overview of the project and who it's for.
  • The Use Case Diagram, with its actors.
  • Each use case, numbered (UC-1, UC-2, ...), with its goal, preconditions, main flow, postconditions, and any use-case-scoped NFRs.
  • Project-wide NFRs.
  • The Data Model, with entities, attributes, and relationships.

Next: Generate a Class Diagram

The SRS covers what the system does and the data it works with — the Class Diagram covers how the code is actually structured. See Generate a Class Diagram for how it's generated and what it's useful for.