Remove all the nodes and edges from the graph.
None
Example
import pyagrum as gum g = gum.fastMarkedGraph("A->B<->C") g.clear() g.empty() # True
Used by
MarkedGraph, PAG
MarkedGraph
PAG