-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Remove default graph edge z_index of -1 #3588
base: main
Are you sure you want to change the base?
Conversation
Simply removing the non-default When a new Setting the |
Could we keep track of the vertex count and insert new vertices in the middle of |
Sounds like a good approach. It would make sense to check at which points submobjects are |
insert and remove graph vertices between existing vertices and edges to ensure the correct rendering order
Any progress on this? |
If you made progress on this, you might want to comment it! |
I went through and ensured methods that add vertices to the Graph insert them before all the edges, so removing z index shouldn't break anything. The test scene from the issue renders properly now. |
Overview: What does this pull request change?
Motivation and Explanation: Why and how do your changes improve the library?
Links to added or changed documentation pages
Further Information and Comments
Trying to create graph edges individually in an
AnimationGroup
results in the animation not playing and the finished state just popping on screen after the animation duration ends (#3584). Looking around, #2594 introduced a defaultz_index
of-1
for all edges in graphs. This was brought up in #3132 but was never resolved. I've reintroduced the changes, removing the defaultz_index
from theGraph
class and its inheritors.Reviewer Checklist