Graph.update_default_edge_attributes

Graph.update_default_edge_attributes(attr_dict=None, **kwattr)[source]

Update the default edge attributes.

Parameters
  • attr_dict (dict, optional) – A dictionary of attributes with their default values. Defaults to an empty dict.

  • kwattr (dict) – A dictionary compiled of remaining named arguments. Defaults to an empty dict.