15 ms·
Meanwhile they could've just bundled mermaid-ascii and run it on wasm. But then again probably took Claude less than an hour to port this to TS. The main algori
by forgotpwd16 8mo ago
Meanwhile they could've just bundled mermaid-ascii and run it on wasm. But then again probably took Claude less than an hour to port this to TS. The main algorithms are 1:1 conversion.
https://github.com/AlexanderGrooff/mermaid-ascii/blob/master/cmd/draw.go#L170-L238 https://github.com/AlexanderGrooff/mermaid-ascii/blob/master...
https://github.com/lukilabs/beautiful-mermaid/blob/main/src/ascii/draw.ts#L30-L80 https://github.com/lukilabs/beautiful-mermaid/blob/main/src/...