-
-
Notifications
You must be signed in to change notification settings - Fork 26
Add class attribute to change the graph direction #90
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
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #90 +/- ##
==========================================
+ Coverage 97.86% 98.01% +0.14%
==========================================
Files 17 17
Lines 703 705 +2
==========================================
+ Hits 688 691 +3
+ Misses 15 14 -1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @peterbaumert,
Thank you for your contribution. I always love, when people come up with excellent improvements to my packages.
Regarding your suggestion, I believe being able to adapt the direction is a splendid idea. However, I am hesitant to add settings for everything. I believe in most cases, inheritance is the more Pythonic approach to adapting behavior changes.
Might I suggest making direction a class attribute? As an added bonus, this would allow you to alter directions per individual workflow.
Best!
Joe
Maybe also go ahead and add a small test to prevent any regression. |
Yeah that would have made sense now that you mention it :D Will look into it those days. The test part will be something that I need to learn about first. Never did it before 🙄 |
Hi @codingjoe I added a test, but I am not 100% sure if that is sufficient since it's my first time with tests :D Would be great if you could have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful, took the liberty and added a commit. I added documentation and a small improvement to your test. Thanks again, for the contribution!
fdb39ab
to
f3051ce
Compare
f3051ce
to
7a6de12
Compare
Solve #33