Skip to content

Template

Login requirements

SysML-style requirements linked to elements with satisfies and verifies relationships.

requirementDiagram
Expand

Use this requirement diagram template when you need SysML-style requirements, risk, verification methods, and links to elements.

It demonstrates contains, satisfies, verifies, and copies relationships so you can adapt the pattern to your specs.

Open in SayDiagram to rearrange on the Arrange canvas or share a link with reviewers.

Mermaid source

requirementDiagram
  direction LR

  requirement parent_req {
    id: 1
    text: the test text.
    risk: high
    verifymethod: test
  }

  functionalRequirement child_req {
    id: 1.1
    text: the second test text.
    risk: low
    verifymethod: inspection
  }

  performanceRequirement perf_req {
    id: 1.2
    text: the third test text.
    risk: medium
    verifymethod: demonstration
  }

  element sim {
    type: simulation
  }

  element suite {
    type: "test suite"
    docref: github.com/all_the_tests
  }

  parent_req - contains -> child_req
  parent_req - contains -> perf_req
  sim - satisfies -> child_req
  suite - verifies -> perf_req
  parent_req <- copies - suite