File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ def _make_graph(self):
301
301
return graph
302
302
303
303
@staticmethod
304
- def _stringify_and_encapsulate_edge_attributes (graph ):
304
+ def _encapsulate_edge_attributes (graph ):
305
305
"""
306
306
Modifies the `nx.Graph`'s edge attribute `attr_map` to be a string representation
307
307
of the attribute map, and encapsulates the string in double quotes.
@@ -315,7 +315,7 @@ def _stringify_and_encapsulate_edge_attributes(graph):
315
315
graph .edges [u , v ]["attr_map" ] = '"{0}"' .format (edgedata ["attr_map" ])
316
316
317
317
@staticmethod
318
- def _stringify_and_encapsulate_node_names (graph ):
318
+ def _encapsulate_node_names (graph ):
319
319
"""
320
320
Modifies the `nx.Graph`'s node names string representations encapsulated in
321
321
double quotes.
@@ -398,8 +398,8 @@ def make_dot(self):
398
398
for node , d in dict (graph .nodes (data = True )).items ()
399
399
}
400
400
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 )
403
403
dot = nx .drawing .nx_pydot .to_pydot (graph )
404
404
for node in dot .get_nodes ():
405
405
node .set_shape ("circle" )
You can’t perform that action at this time.
0 commit comments