Skip to content

corasdiagram

corasdiagram is a semantic-first LaTeX package for CORAS asset, threat, risk, and treatment diagrams plus the high-level CORAS tables.

The preferred public API mirrors the formal English-prose semantics of the CORAS language:

  • semantic node names such as \party, \threatscenario, \unwantedincident, and \treatmentscenario
  • semantic relation names such as \assigns, \harms, \initiates, \leadsto, \impacts, and \treats
  • treatment overview expressed with corastreatmentdiagram[mode=overview]

Start here

  • Getting Started: install, minimal example, and local build commands.
  • Semantic-First DSL: family-by-family canonical syntax.
  • Complete Examples: download the full example sources and PDFs for every diagram and table family.
  • Migration Guide: move from the retained compatibility aliases to the canonical surface.
  • Manual PDF: printable reference manual with full compilable examples.

Diagram and table families

  • Asset diagrams: corasassetdiagram
  • Threat diagrams: corasthreatdiagram
  • Risk diagrams: corasriskdiagram
  • Treatment diagrams: corastreatmentdiagram
  • Treatment overview: corastreatmentdiagram[mode=overview]
  • Tables: corashighlevelanalysistable and corashighlevelrisktable