Skip to content

How to use it with OnChange? #385

Open
@vatsalpande

Description

@vatsalpande

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions