The `clear` function in `graphviz.Digraph` is a method used to remove all nodes and edges from the graph. It clears the graph, making it empty and ready to be populated with new nodes and edges.
Python Digraph.clear - 24 examples found. These are the top rated real world Python examples of graphviz.Digraph.clear extracted from open source projects. You can rate examples to help us improve the quality of examples.