@flowgram.ai/free-auto-layout-plugin 0.4.19 → 0.5.1

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
@@ -2183,7 +2183,7 @@ var LayoutStore = class {
2183
2183
  };
2184
2184
  return layoutEdge;
2185
2185
  }).filter(Boolean);
2186
- const groupToEdges = edges.filter((edge) => blockIdSet.has(edge.from.id ?? "")).map((edge) => {
2186
+ const groupToEdges = edges.filter((edge) => blockIdSet.has(edge.from?.id ?? "")).map((edge) => {
2187
2187
  const { from, to } = edge.info;
2188
2188
  if (!from || !to || edge.vertical) {
2189
2189
  return;