Jero Soler
Jero Soler
The drag and drop functionality is not part of the library. But the demo of the repository does work on mobiles. Test with android and chrome. You can try with...
The demo code is available here: https://github.com/jerosoler/Drawflow/blob/master/docs/index.html You can use drag and drop libraries like the one discussed above. You can also read about the drag and drop api: https://www.w3schools.com/html/html5_draganddrop.asp
Hello, Thanks! Prevent drag option. And implement your drag option. ```javascript editor.on("clickEnd", (e) => { if(editor.editor_selected === true) { editor.editor_selected = false; //Your code to translate; } }) ``` You...
Simple add in css: ```css .drawflow .connection .main-path { stroke-dasharray: 5; animation: dashdraw .5s linear infinite; } @keyframes dashdraw { 0% { stroke-dashoffset: 10 } } ```
Try: https://github.com/bubkoo/html-to-image react flow uses this library to output the image. On their demo page you can see how they have to calculate the position and zoom before downloading the...
You can add new features with: ```javascript editor.yourname = function () { ... } ``` Or: You can load the drawflow file like this: - https://github.com/jerosoler/Drawflow/issues/526#issuecomment-1250828930
You can update the html, which is exported like so: - https://github.com/jerosoler/Drawflow/issues/40 Or use df-attributes - https://github.com/jerosoler/Drawflow/issues/421
Hello, Thanks for the PR. I study it. Jero
Thanks for your PR. I see more than 1000 changes. I'll try to review it. I like the change from gulp to vite. I can't say the same from javascript...
I think a separate file would be better. Since it is a small library and a single file. I am glad to know that the library is used by other...