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

Update node data #44

Open
renyuneyun opened this issue Jun 16, 2019 · 3 comments
Open

Update node data #44

renyuneyun opened this issue Jun 16, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@renyuneyun
Copy link

Each Node carries some data, and the data is used to generate the view.

How can I update the data and let the view reflect that (i.e. re-draw that particular node [and maybe its edges])?

@GregorBlock
Copy link
Contributor

At the moment there is no possibility to update the graphview without a complete redraw.

@GregorBlock GregorBlock added the enhancement New feature or request label Jun 16, 2019
@renyuneyun
Copy link
Author

Hmm, so creating a custom adapter also won't help?

@DennisBlock
Copy link
Contributor

You can call GraphAdapter.notifyInvalidated() to request a complete redraw. There are other notify* methods, but they all do the same for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
3 participants