Skip to content
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

Paint is not always complete #19

Closed
jrheisler opened this issue Jan 3, 2021 · 8 comments
Closed

Paint is not always complete #19

jrheisler opened this issue Jan 3, 2021 · 8 comments

Comments

@jrheisler
Copy link

I noticed with some graphs when you zoom you lose part of the painting:

This is with graphview: ^0.6.5
Flutter (Channel beta, 1.24.0-10.2.pre, on Microsoft Windows [Version 10.0.19041.685], locale en-US)

Screenshot (231)

Screenshot (230)

@jrheisler
Copy link
Author

Fyi, this only happens when you pan and zoom are allowed.

@nabil6391
Copy link
Owner

Ok will have a look

@mikeborodin
Copy link

mikeborodin commented Jan 18, 2021

Any updates or fixes for this issue? I have similar black artifacts when zoomin in.

version ^0.6.6
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Android Studio
[✓] VS Code (version 1.52.1)
[✓] Connected device (3 available)

image

@nabil6391
Copy link
Owner

I always had an issue with the Zooming of the libary. Did not come to the reason or ways to solve it.

Was this ok in earlier versions of graphview?

@jrheisler
Copy link
Author

Hopefully Mike knows, as I too have never had much luck with zooming. I have instead gone with changing the size of the nodes and the space between them.

@nabil6391
Copy link
Owner

I am interested to help if someone can put in a working code for me to test out.

@jrheisler
Copy link
Author

It might even have to do with the shadowing on the container that is the node. I have taken to using a slider and resizing the container/node with the slider. It seems like the InteractiveViewer is the issue.

@nabil6391
Copy link
Owner

I am closing this ticket. Hoping this is not relevant anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants