Open rzvxa opened 2 months ago
I hope we can adopt this project for this purpose, It's been my go-to visualizer, and having it in the playground would be a nice to have feature.
We can build this in the new playground https://github.com/oxc-project/playground
Here is biome cfg visualization, https://biomejs.dev/playground/?code=ZgB1AG4AYwB0AGkAbwBuACAAdABlAHMAdAAoACkAIAB7AAoAIAAgAGwAZQB0ACAAYQAgAD0AIAAxADAAOwAKAAoAIAAgAGkAZgAgACgAYQApACAAewAKACAAIAAgACAAYwBvAG4AcwBvAGwAZQAuAGwAbwBnACgAJwB0AGUAcwB0ACcAKQAKACAAIAB9ACAAZQBsAHMAZQAgAHsACgAgACAAIAAgAGMAbwBuAHMAbwBsAGUALgBsAG8AZwAoACcAZABmAGoAYQBpAGYAagBlAGkAbwBhAGoAZgBpAG8AYQB3AGoAaQBvACcAKQAKACAAIAB9AAoAfQA%3D
They use mermaid to display the control flow graph https://github.com/rome/tools/pull/2969/files
mermaid
I hope we can adopt this project for this purpose, It's been my go-to visualizer, and having it in the playground would be a nice to have feature.
I've self-assigned it but if anyone decides to pick it up sooner feel free to do so, and announce it in this issue before starting to work on it.