True if the graph has no node
bool
Example
import pyagrum as gum mag = gum.MAG.fromDAG(gum.fastDAG("A->B")) mag.empty() # False
Class
MAG