d2

last updated: Mar 25, 2024

https://d2lang.com/

playground: https://play.d2lang.com/?script=qlDQtVOo5AIEAAD__w%3D%3D&

A modern diagram scripting language that turns text to diagrams.

They made a site for comparing d2 to plantUML, mermaid.js, and graphviz

# 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

↑ up