funkelab / motile

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

TrackGraph.add_node / add_edge different to TrackGraph(networkx_graph) #41

Closed funkey closed 3 months ago

funkey commented 1 year ago

prev_edges and next_edges are not set in add_edge. add_node seems to do the same as when constructing from a networkx graph, except that hyperedge nodes are not supported. This might be okay (hyperedges can be added using add_edge), but then it would make sense to check for the frame attribute in add_node.

funkey commented 1 year ago

Also, _graph_changed is not set when calling add_node/add_edge.