def frozen(*args):
 raise nx.NetworkXError("Frozen graph can't be modified")

def frozen ( * args ) : raise nx . NetworkXError ( "Frozen graph can't be modified" )
dummy method for raising errors when trying to modify frozen graphs .