Hello. I have linked your library to my project like this:
<connect-it>
<nodes>
<div class="rs" id="node_0">
<span class="view-element-text">First</span>
</div>
<div class="rs" id="node_1">
<span class="view-element-text">Second</span>
</div>
</nodes>
<shapes>
<shape name="shape_triangle" type="triangle" size="10" color="#333"></shape>
</shapes>
<edges>
<edge from="node_0" to="node_1" color="#333" marker-end="shape_triangle"></edge>
</edges>
</connect-it>
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'x')
at d (Calc.js:76:14)
at f (Calc.js:87:10)
at VDOM.js:30:22
at Array.forEach (<anonymous>)
at VDOM.js:29:22
at Array.forEach (<anonymous>)
at l.getLinks (VDOM.js:28:16)
at new l (VDOM.js:10:23)
at Main.js:13:19
at Main.js:32:7
d @ Calc.js:76
f @ Calc.js:87
(анонимная) @ VDOM.js:30
(анонимная) @ VDOM.js:29
getLinks @ VDOM.js:28
l @ VDOM.js:10
(анонимная) @ Main.js:13
(анонимная) @ Main.js:32
Объект Promise.then (асинхронный)
onLoad @ Main.js:31
m @ Main.js:11
(анонимная) @ Main.js:42
(анонимная) @ Main.js:42