Closed runrevben closed 2 years ago
Hello,
You can use with angular, as it is vanilla javascript. There is currently no wrapped.
You can see more information: https://github.com/jerosoler/Drawflow/issues/160
Jero
I've tried doing it on Angular Check out my project here https://github.com/RoyaghRamo/angular-drawflow-example Maybe it can be of help
Doesn't work for node 18.15.0
What error? The lib is for frotend.
I'm using node 14.16.0 and the https://github.com/RoyaghRamo/angular-drawflow-example doesn't work for me. The npm install is ok if a choose Angular CLI 13.1.2 as specified but => the ng serve is KO
=> problem of missing component (draw-board/draw-board.component) => problem of bootstrap if i try to suppress link to draw-board.component in code: [Cannot find module '@ng-bootstrap/ng-bootstrap']
So I it's not easy to know the level of incompatibility with my node.js, I search a good example of use of drawflow as i has been attempted by RoyaghRamo :(
My goal is to be able to manage DrawFlow to :
for example a block with fields that define the number of input or output ports => so when set the block show different input/output ports numbers linked to the values set (as for "telegram bot" define a field to set)
So I think angular is needed to refer your project and to add a "layer" to be able to do all that complex things. But perhaps I have to derivate directly from the Drawflow project ....
So a good example can help to understand what solution to choose.
Regards
Uncaught TypeError: Cannot read properties of null (reading 'clientWidth') at addNodeToDrawFlow ((index):137:41) at drop ((index):128:9) at HTMLDivElement.ondrop ((index):336:9)
Thank you for your draflow @jerosoler , its really helpfull, im facing issue drawflow using Angular , im using Angular , when i drag in and drag out the node im getting this error, can anyone tell me where i mistake , Thanks in advance , Pls check attached snap below , Thank you
I've tried doing it on Angular Check out my project here https://github.com/RoyaghRamo/angular-drawflow-example Maybe it can be of help
when run project show nothing only show empty canvas
I've tried doing it on Angular Check out my project here https://github.com/RoyaghRamo/angular-drawflow-example Maybe it can be of help
I tried to run your project but they show errors like An unhandled exception occurred: Cannot find module 'node: util' Require stack:
I use angular 13 and node 14
I'm creating a project in Angular based on drawflow, to create conversation scripts on WhatsApp if you want to take a look, it's still public, maybe when it's ready I'll launch the repository
@lucasguarasp, thank you!!! made just a few minor tweaks to make it a standalone component, works perfectly.
Hi! I was wondering if anyone managed to register Angular components as custom nodes. Thanks!
Hi, I'm looking into using this library in an Angular project. Has anyone wrapped it yet or in the process of doing that? If not, I would be up for taking that on.
Cheers,
B