d2
d2 copied to clipboard
D2 is a modern diagram scripting language that turns text to diagrams.
A user on Discord [posted](https://discord.com/channels/976899413542830181/976911454387179531/1304661048389009448) this hack, but ideally we support this without hacks. 
ex. https://play.d2lang.com/?script=UiouqcxJVeLlAgQAAP__& ```d2 "style" ``` err: "style" expected to be set to a map of key-values, or contain an additional keyword like "style.opacity: 0.4" https://play.d2lang.com/?script=UspJrEwtKlbiUipOTs1LLMrMB7NLUguKlbgAAQAA__8%3D& ```d2 "layers" "scenarios" "steps" ```...
e.g. mermaid ```mermaid flowchart TB a --> b c --> d e ---> f g ---------> h ``` ``` flowchart TB a --> b c --> d e ---> f...
When there are two very large containers on the screen, the gap between them becomes very small, almost making them look like they’re stuck together. I know that placing them...
A common way of displaying software concepts is with onion diagrams, e.g below. Especially given d2s focus on software diagrams, I believe this'd be a very useful viz to include
[Feature Request] Add shape:trapezoid to represent multiplexer Thanks !
I want to make a converter for converting plantuml to d2 code and I encountered a difference for the usage of notes. In plantuml you can use notes on actors...
https://play.d2lang.com/?script=Ks5ILEi1UihOLSxNzUtOjU_JTEwvSszl5eLlSszJTE6thigoSC0qzs-zVshIzUzPKLEyNLCu5eVKyk9Cky7PTCnJgMvqZpfqFiXiNAFFNSAAAP__& c.f. https://play.d2lang.com/?script=Ui7OSCxItVIoTi0sTc1LTo1PyUxML0rM5eJKzMlMTrVSqIYqKEgtKs7Ps1bISM1MzyixUjA0qOVKyk_CVFCemVKSAZPXzS7VLUrEZwqKBkAAAAD__w%3D%3D&
```watermark```{ shape : text # shape:image label:DRAFT style.font-size:64; style.font-color: darkgray; style.opacity: 0.5; ```tilt : 45 # 0~(360-1)``` ```tile : true # label label label ..``` }