Open danielbinder opened 8 months ago
Maybe this can be done by replacing the graphviz-react
dependency with d3-graphviz
.
It depends on it anyways, but the former does not seem to be maintained actively.
Both seem to be usable in the same way - see: d3-graphviz README
d3.graphviz("#graph").renderDot('digraph {a -> b}');
We want to enable the downloading of graphs, this can be simply done by setting the output type of graphviz to SVG. While you're at it, please also correct the graph size (500x250 iirc) This may destroy some information (e.g. state names on hover), so add the state names to the graph nodes themselves, even when they have a label e.g. name: label