vue-wiring-diagram 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-wiring-diagram",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "A Vue 3.x component for wiring diagram",
5
5
  "type": "module",
6
6
  "main": "dist/vue-wiring-diagram.umd.js",
@@ -124,6 +124,7 @@ const initGraph = () => {
124
124
  panning: true,
125
125
  mousewheel: true,
126
126
  connecting: {
127
+ allowEdge: true,
127
128
  router: 'orth',
128
129
  connectionPoint: {
129
130
  name: 'anchor',
@@ -312,9 +313,6 @@ const initStencil = () => {
312
313
  }
313
314
  return copyNode
314
315
  },
315
- getDropNode: (node) => {
316
- return node.clone({keepId: true})
317
- },
318
316
  })
319
317
  const text = graph.value.createNode({
320
318
  ...textOptions