Open cmalinmayor opened 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.
Need to also add the hyper edges to the toolbox implementation
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.