mdickinson / refcycle

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

Add attribute reference cleanup to AnnotatedGraph #49

Open rkern opened 10 years ago

rkern commented 10 years ago

To make the dot graphs a little more clear, I would like to collapse __dict__ edges from an instance to a dict that then have value[name] edges to the instance's attribute to just attr.name edges from the instance to its attributes. This will probably help reduce some of the spaghetti that happens when dot feels comfortable putting the dict far away from its instance.