React bindings for Graphviz using ts-graphviz and Viz.js. This is somewhat similar to @ts-graphviz/react, but supporting react 18.
<Digraph attributes={{ rankdir: 'TB', nodesep: 0.25 }}>
<Node id="A" shape="point" color="forestgreen" />
<Node id="B" />
<Edge targets={['A', 'B']} arrowsize={0.25} />
</Digraph>