#NEWLINE# def graphviz_layout( G , prog = 'neato' , root = None , args = '' ) : #NEWLINE# #INDENT# "Create node positions for G using Graphviz.\n\n    Parameters\n    ----------\n    G : NetworkX graph\n      A graph created with NetworkX\n    prog : string\n      Name of Graphviz layout program\n    root : string, optional\n      Root node for twopi layout\n    args : string, optional\n      Extra arguments to Graphviz layout program\n\n    Returns : dictionary\n      Dictionary of x,y, positions keyed by node.\n\n    Examples\n    --------\n    >>> G=nx.petersen_graph()\n    >>> pos=nx.graphviz_layout(G)\n    >>> pos=nx.graphviz_layout(G,prog='dot')\n\n    Notes\n    -----\n    This is a wrapper for pygraphviz_layout.\n\n    " #NEWLINE# return pygraphviz_layout ( G , prog = prog , root = prog , args = args )