-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
better info on the graph: parent module #5
Comments
Should definitely add some way to distinguish the parent package of any subclasses. The scope of traversals includes any packages imported in the current python session, so you can actually get graphs including classes from different packages. e.g., if you map |
Illustrating the previous comment: from inheritance_explorer import ClassGraphTree
from collections import defaultdict
cgt = ClassGraphTree(defaultdict)
cgt.show_graph() results in and re-mapping after importing yt: import yt
cgt = ClassGraphTree(defaultdict)
cgt.show_graph() you now get: So adding info on where the classes come from would be super helpful here. And would also be easy to add a keyword argument to |
Improved pop-up tooltips with more than classnames would be cool. possible? maybe?
For the method being tracked, link to code lines?
The text was updated successfully, but these errors were encountered: