funkelab / motile

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

Export TrackGraph to networkx #85

Open cmalinmayor opened 8 months ago

cmalinmayor commented 8 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.

cmalinmayor commented 4 months ago

Need to also add the hyper edges to the toolbox implementation