File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ def _make_graph(self):
301301 return graph
302302
303303 @staticmethod
304- def _stringify_and_encapsulate_edge_attributes (graph ):
304+ def _encapsulate_edge_attributes (graph ):
305305 """
306306 Modifies the `nx.Graph`'s edge attribute `attr_map` to be a string representation
307307 of the attribute map, and encapsulates the string in double quotes.
@@ -315,7 +315,7 @@ def _stringify_and_encapsulate_edge_attributes(graph):
315315 graph .edges [u , v ]["attr_map" ] = '"{0}"' .format (edgedata ["attr_map" ])
316316
317317 @staticmethod
318- def _stringify_and_encapsulate_node_names (graph ):
318+ def _encapsulate_node_names (graph ):
319319 """
320320 Modifies the `nx.Graph`'s node names string representations encapsulated in
321321 double quotes.
@@ -398,8 +398,8 @@ def make_dot(self):
398398 for node , d in dict (graph .nodes (data = True )).items ()
399399 }
400400
401- self ._stringify_and_encapsulate_node_names (graph )
402- self ._stringify_and_encapsulate_edge_attributes (graph )
401+ self ._encapsulate_node_names (graph )
402+ self ._encapsulate_edge_attributes (graph )
403403 dot = nx .drawing .nx_pydot .to_pydot (graph )
404404 for node in dot .get_nodes ():
405405 node .set_shape ("circle" )
You can’t perform that action at this time.
0 commit comments