jerosoler / Drawflow

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

Node connectors issue #708

Closed Co-Maheshh closed 1 year ago

Co-Maheshh commented 1 year ago

Hi Jerosoler, Facing issue for node connectors while updating it shows the saved connections but not connectors if I move the node then only it shows their connectors so I need to every node again. I am importing the data like this.editor.import(forValues); Kindly suggest me solution

With connectors image

Without connectors image

jerosoler commented 1 year ago

Duplicate: View:

roniemartinez commented 1 year ago

FYI: Not related to import but I guess it's the same issue.

I have been creating nodes and connections using editor.addNode() and editor.addConnection().

The only solution I found is using a setTimeout(function() {}, 200) taken from https://github.com/jerosoler/Drawflow/issues/371#issuecomment-1061686102