funkelab / motile

Multi-Object Tracker using Integer Linear Equations
https://funkelab.github.io/motile/
MIT License
22 stars 4 forks source link

Export TrackGraph to networkx #85

Open cmalinmayor opened 4 months ago

cmalinmayor commented 4 months ago

Implementation here (untested for hyperedges): https://github.com/funkelab/motile_toolbox/blob/b8b215f2c33c68a233b3cf1de85e50328a72ae4c/src/motile_toolbox/candidate_graph/graph_to_nx.py

But I think this should go into the TrackGraph class as a convenience to_networkx function, since we have from_networkx functionality.