mdickinson / refcycle

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

Add 'export_image' method to 'ObjectGraph'. #19

Closed mdickinson closed 10 years ago

mdickinson commented 10 years ago

This PR allows direct export of a graph to an image.

@sjagoe: You mentioned that you might find this feature useful. Are you interested in a quick review before I merge?

sjagoe commented 10 years ago

Other than the possibility of avoiding a temporary directory, looks good.

mdickinson commented 10 years ago

Thanks; I'll look into the stdin idea.

Another issue with this PR: I really want to be able to export AnnotatedGraph instances as well as ObjectGraph instances.

mdickinson commented 10 years ago

Travis is happy; I'm happy. I don't know whether @sjagoe is happy, but I'm merging anyway...