in pygraphlib.py, around line 82,
if data is not None: self._edge_data[node_pair] = data
should actually read:
if data is not None: self._edge_data[edge] = data
because _edge_data is keyed by the edge_id.
Log in to post a comment.