pathpy / pathpyG

GPU-accelerated Next-Generation Network Analytics and Graph Learning for Time Series Data on Complex Networks.
https://www.pathpy.net
GNU Affero General Public License v3.0
33 stars 3 forks source link

Improve use of IndexMap in `Graph.from_edge_list` #180

Closed IngoScholtes closed 6 months ago

IngoScholtes commented 6 months ago

Currently, the from_edge_list automatically creates a mapping even if the nodes are integer indices. There is no way to pass an existing node-idx mapping.