ngx-vis icon indicating copy to clipboard operation
ngx-vis copied to clipboard

How to use it with OnChange?

Open vatsalpande opened this issue 5 years ago • 0 comments

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.

vatsalpande avatar Jan 09 '20 07:01 vatsalpande