beautiful-react-diagrams icon indicating copy to clipboard operation
beautiful-react-diagrams copied to clipboard

How is "inputs" & "outputs" are different?

Open adityakumarsingh900 opened this issue 3 years ago • 1 comments

I am able to connect two nodes irrespective of that they both have only "input" nodes.

Bug - Now if I have a link: { input: "port-4138", output: "port-4076" } And a node with inputs: {id: "port-4076", alignment: "left"}

Try to delete this node.. you will get an error as removeNode function doesn't delete the link.

adityakumarsingh900 avatar Jun 12 '21 21:06 adityakumarsingh900

Have same problem. Don't use delete node functionality provided by library. Remove connected link first, then remove node

andriy-kdp avatar Jun 15 '21 15:06 andriy-kdp