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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering issue for very small nodes #2
Comments
It seems the bug is caused by the margins being larger than the arc width, causing Changing
But it's not an optimal solution since it creates gaps as seen in the gif. Ideally there should be some functionality that can be shared with the implementation of a |
Oh, thank you for pointing this out! Yes this is exactly right, the margin is creating some issues as it is "taking away" the size from the arc itself (half on each side). I ran into this same issue when reducing the inner radius close to 0. I'll look at this more in depth this week to see what could be the best option here. |
I updated for Xcode 11 beta 4. And the wrapping all the way around (because start > end, with the margins) should be fixed too. Can you confirm that it is fixed on your side too ? |
Thanks @lludo. I've just tried it out and it seems some functionality has been lost. |
Just noticed this too, looks like changes are now delayed after the following event. This is probably due to the change in beta 4 where |
Everything should be behaving as expected now! 馃帀 |
First off, really great work! This component is awesome and it captures many advantages of using SwiftUI vs CA/CG 馃檶
I'm having an issue when rendering data sets where some nodes are a lot larger than others.
Consider the demo project with this data set:
The expected behaviour would be to see 2 arcs, Walking and Restaurant, and a third Home that is so thin it should almost not be visible. However, the result is this:
This behaviour seems to be related to the start angle, as changing it seems to affect the behaviour:
If the
ArcMinimumAngle
setting was implemented, this effect could be mitigated. But it might still be worth trying to figure out the source of this issue.The text was updated successfully, but these errors were encountered: