Return a pygraphviz graph from a NetworkX graph N.
If N is a Graph or DiGraph, graphviz attributes can be supplied through the arguments
node_attr: dictionary keyed by node to node attribute dictionary
If N has an dict N.graph_attr an attempt will be made first to copy properties attached to the graph (see from_agraph) and then updated with the calling arguments if any.