analogvnn.graph.to_graph_viz_digraph
#
Module Contents#
Functions#
|
Returns a pygraphviz graph from a NetworkX graph N. |
- analogvnn.graph.to_graph_viz_digraph.to_graphviz_digraph(from_graph: networkx.DiGraph, real_label: bool = False) graphviz.Digraph [source]#
Returns a pygraphviz graph from a NetworkX graph N.
- Parameters:
from_graph (networkx.DiGraph) – the graph to convert.
real_label (bool) – True to use the real label.
- Returns:
the converted graph.
- Return type:
graphviz.Digraph
- Raises:
ImportError – if graphviz (https://pygraphviz.github.io/) is not available.