From fbf81c199c4d0a65ac3cd56269acf33d2a527304 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Tue, 6 Dec 2022 02:03:58 -0800 Subject: [PATCH] docs: Add chess example --- docs/examples/chess/dia.d2 | 21 +++++++++++++++ docs/examples/chess/dia.svg | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 docs/examples/chess/dia.d2 create mode 100644 docs/examples/chess/dia.svg diff --git a/docs/examples/chess/dia.d2 b/docs/examples/chess/dia.d2 new file mode 100644 index 000000000..8c2cedd95 --- /dev/null +++ b/docs/examples/chess/dia.d2 @@ -0,0 +1,21 @@ +# Actors +hans: Hans Niemann + +defendants: { + mc: Magnus Carlsen + playmagnus: Play Magnus Group + chesscom: Chess.com + naka: Hikaru Nakamura + + mc -> playmagnus: Owns majority + playmagnus <-> chesscom: Merger talks + chesscom -> naka: Sponsoring +} + +# Accusations +hans -> defendants: 'sueing for $100M' + +# Offense +defendants.naka -> hans: Accused of cheating on his stream +defendants.mc -> hans: Lost then withdrew with accusations +defendants.chesscom -> hans: 72 page report of cheating diff --git a/docs/examples/chess/dia.svg b/docs/examples/chess/dia.svg new file mode 100644 index 000000000..ed6b0108a --- /dev/null +++ b/docs/examples/chess/dia.svg @@ -0,0 +1,52 @@ + +Hans NiemanndefendantsMagnus CarlsenPlay Magnus GroupChess.comHikaru Nakamura + + +Owns majority + + +Merger talks + + +Sponsoring + + +sueing for $100M + + +Accused of cheating on his stream + + +Lost then withdrew with accusations + + +72 page report of cheating \ No newline at end of file