graph-viz-d3-js
graph-viz-d3-js copied to clipboard
How to clean the past graph rendered?
Hello
The library is very good, it works fine. But i can't find now how to clean the canvas to render a new graph. Right now the new graph is added to the right.
That's all
Best regards°!
On my page http://graphviz.it website graph is cleared by setting string digraph G {\n\t\n}
as a diagram source. Maybe it will be more convenient to add clear()
method.