mdickinson / refcycle

Support for displaying and analyzing reference graphs of Python objects.
Apache License 2.0
15 stars 1 forks source link

Add shortest path algorithm. #52

Closed mdickinson closed 6 years ago

mdickinson commented 7 years ago

When trying to figure out what's keeping an object alive, it's often helpful to be able to compute a shortest path from a suspected source. It would be useful to have an ObjectGraph.shortest_path(source, target) method.

mdickinson commented 6 years ago

Duplicate of #46 (and already done in #61).