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

How to use it with OnChange? #385

Open
vatsalpande opened this issue Jan 9, 2020 · 0 comments
Open

How to use it with OnChange? #385

vatsalpande opened this issue Jan 9, 2020 · 0 comments

Comments

@vatsalpande
Copy link

This is more of a question because I couldn't find any example for this. My graph updates consistently and on clicking of any node appends new node. However, I cannot place code in ngOnChange as it fails with " Network with networkId not found" because network is not initialized til it reaches ngOnInit. Since ngOnInit is only called once I can't use that as well for my use case. If there is any demo example using ngOnChange or any suggestion, that will be highly appreciated.

I am sure many others will face similar issue.

Appreciate your help on this.

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

1 participant