fix: missing node id in node components/slots

This commit is contained in:
Braks
2021-10-22 13:04:33 +02:00
parent ee07affa89
commit cb96b1ab00
5 changed files with 6 additions and 4 deletions
@@ -36,7 +36,7 @@ const initialElements: Elements = [
position: { x: 400, y: 100 },
style: { background: '#D6D5E6', color: '#333', border: '1px solid #222138', width: 180 },
},
{ id: 'e1-2', source: '1', target: '2', label: 'This is a draggable edge' },
{ id: 'e1-2', source: '1', target: '2', label: 'Updateable edge' },
] as Elements
const elements = ref(initialElements)