Updated UpdatableEdgeExample to still have a label on the updatable edge

This commit is contained in:
thomasmountford
2022-08-30 12:02:43 +02:00
committed by Braks
parent 7732ad9b76
commit 485d7b2dd3

View File

@@ -20,7 +20,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', updatable: 'target' },
{ id: 'e1-2', source: '1', target: '2', label: 'Updatable target', updatable: 'target' },
]
const elements = ref(initialElements)