def networkx_from_pydot(D, create_using=None):
 from warnings import warn
 warn('networkx_from_pydot is replaced by from_pydot', DeprecationWarning)
 return from_pydot(D)

def networkx_from_pydot ( D , create_using = None ) : from warnings import warn warn ( 'networkx_from_pydot is replaced by from_pydot' , DeprecationWarning ) return from_pydot ( D )
create a networkx graph from a pydot graph .