Flow chart in ionic

Hello everyone,

I want to build an application that features an editable flow chart to create rules for a home automation system. I imagine it to work/look something like this:

This example is using ngFlowchart, which is using AngularJS. Would this work with Ionic 3 or 4? Or do you know about any library that would work better and does not cost me about 3-4k like yFiles or jsPlumb?

I am completely new to Ionic, so it should be as easy to integrate as possible.

Any help would be very much appreciated!