SilasBerger / teaching-website

My teaching website 👨‍🏫
https://teach.silasberger.ch
1 stars 0 forks source link

Add support for rendering D3 visualizations from GraphViz DOT syntax #31

Open SilasBerger opened 7 months ago

SilasBerger commented 7 months ago

Important links

The idea

For an MDX page such as

# Some graph
Here's a graph:
```dot render
digraph {a -> b}
``

the body of the dot render code block is rendered through and replaced by the result of https://github.com/magjac/d3-graphviz:

image