Split the rendering phase into two; one common, and one graphviz-specific.
As explained in the Haddock, the new RenderGraph is not actually all that different from the previous CallGraph.
Both GraphViz and Mermaid support the style of having a tree/hierarchy of nodes, and then listing a flat list of edges at the bottom, which was already very close to Callgraph.
My goal for this change was to make adding a new backend trivial. I think #24 took about 15 minutes to implement, so in that sense, this change is a success.
Split the rendering phase into two; one common, and one graphviz-specific. As explained in the Haddock, the new
RenderGraph
is not actually all that different from the previousCallGraph
. Both GraphViz and Mermaid support the style of having a tree/hierarchy of nodes, and then listing a flat list of edges at the bottom, which was already very close toCallgraph
.My goal for this change was to make adding a new backend trivial. I think #24 took about 15 minutes to implement, so in that sense, this change is a success.