Jero Soler

Results 367 comments of Jero Soler

If you modify the class in the node, it is not updated in the view automatically. Or you modify it before importing. Or you modify the node as well.

If you modify the variable before importing. When importing, it loads the node correctly. If not you will have to modify the node class by javascript. Since when updating the...

So you can get the height and width of element resized. ```javascript let resizeElement = false; editor.on("clickEnd", (e) => { if(editor.node_selected) { const diffClick = 20; const height = editor.node_selected.getBoundingClientRect().height/editor.zoom...

Uncomment this line. ```javascript // editor.drawflow.drawflow[editor.module].data[editor.node_selected.id].width = ...; ``` Create the line for the height. Use the on "import" event method. To set width and height.

@apmkstudio view example: - https://github.com/jerosoler/Drawflow/issues/267

Event import only return one parameter. you have to loop through the array and modify the class...

You can loop through the same object that you passed in when importing. Or editor.drawflow. Or editor.export();

First of all does it save the height and width of the node? Where in?. Second, editor.updateConnectionNodes updates connections, not nodes. Understand what you are doing at each moment.

I study it! It doesn't seem simple but I think it can be done. have not worked with unreal, but it only allows a one reconnection? I think I have...

Okey. I look with calm.