jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.65k stars 722 forks source link

hi, is there a way to drop a component inside the canvas using angular? #547

Open polei155 opened 1 year ago

polei155 commented 1 year ago

I am very happy to use this library it is amazing and has a lot of capability. I am using it with angular version14 and i was trying to use a component as a node. pls let me know if how can i achieve it thank you so much!!

jerosoler commented 1 year ago

Hi!

Thanks!

There is currently no wrapper for angular.

But maybe you can modify the library, this is where the vue wrapper runs.

https://github.com/jerosoler/Drawflow/blob/300c9efda3bf8820131b3e93ea50cd9b76c892d3/src/drawflow.js#L1231

The addNode and addNodeImport function would have to be modified