You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For subclasses of the primary graph classes, it doesn't look like we allow the developer to specify a factory for the values of G.nodes. The code does:
self._node[node_for_adding] = attr
instead of calling a user-provided factory to create the object and then doing obj.update(attr). Similarly for the code in add_edge etc. This seems like an unintended omission given that we allow developers to specify a edge_attr_dict_factory.
Similarly, it doesn't look like we allow the developer to control self.graph.
The text was updated successfully, but these errors were encountered:
For subclasses of the primary graph classes, it doesn't look like we allow the developer to specify a factory for the values of
G.nodes
. The code does:instead of calling a user-provided factory to create the object and then doing
obj.update(attr)
. Similarly for the code inadd_edge
etc. This seems like an unintended omission given that we allow developers to specify aedge_attr_dict_factory
.Similarly, it doesn't look like we allow the developer to control
self.graph
.The text was updated successfully, but these errors were encountered: