@flowgram.ai/free-auto-layout-plugin 1.0.7 → 1.0.8

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/dist/esm/index.js CHANGED
@@ -2170,7 +2170,7 @@ var LayoutStore = class {
2170
2170
  if (!from || !to || edge.vertical) {
2171
2171
  return;
2172
2172
  }
2173
- const id = `virtual_${groupId}_${to}`;
2173
+ const id = `virtual_${groupId}_from_${from}_to_${to}`;
2174
2174
  const layoutEdge = {
2175
2175
  id,
2176
2176
  entity: edge,
@@ -2189,7 +2189,7 @@ var LayoutStore = class {
2189
2189
  if (!from || !to || edge.vertical) {
2190
2190
  return;
2191
2191
  }
2192
- const id = `virtual_${groupId}_${from}`;
2192
+ const id = `virtual_${groupId}_from_${from}_to_${to}`;
2193
2193
  const layoutEdge = {
2194
2194
  id,
2195
2195
  entity: edge,