% Compile from the repository root:
%   TEXINPUTS=tex/latex//: pdflatex examples/corasdiagram-minimal.tex
\documentclass{article}

\usepackage{corasdiagram}
\pagestyle{empty}

\begin{document}

\begin{corasassetdiagram}[x=1cm,y=1cm]
  \corasstakeholder[
    name=stakeholder,
    scope=minimal-scope,
    order=1,
    title={Stakeholder}
  ]
  \corasasset[
    name=asset,
    scope=minimal-scope,
    order=1,
    title={Asset}
  ]
  \corasindirectasset[
    name=indirect,
    scope=minimal-scope,
    order=2,
    title={Indirect\\Asset}
  ]

  \corasscope[
    name=minimal-box,
    scope=minimal-scope,
    kind=asset-scope,
    stakeholder=stakeholder,
    stakeholder corner=left
  ]

  \corasrelates[from=asset,to=indirect]
\end{corasassetdiagram}

\end{document}
