@@ -35116,7 +35116,9 @@ const b_ = {
3511635116 "elk.algorithm": "layered",
3511735117 "elk.direction": "DOWN",
3511835118 // This seems to result in a more compact layout
35119- "elk.layered.nodePlacement.strategy": "NETWORK_SIMPLEX",
35119+ // disable to stop stack size error
35120+ // https://github.com/kieler/elkjs/issues/314
35121+ // "elk.layered.nodePlacement.strategy": "NETWORK_SIMPLEX",
3512035122 "elk.layered.mergeEdges": "true"
3512135123 // Can you use spline routing instead which generates non orthogonal edges
3512235124 // "elk.edgeRouting": "SPLINES",
@@ -35220,7 +35222,7 @@ function m_(l, Z, u, s, G, i) {
3522035222 for (const [k, U] of R) {
3522135223 const w = Z(U.op), z = `node-${k}`, D = {
3522235224 id: z,
35223- data: { label: U.op, id: k },
35225+ data: { label: U.op, id: k, ...U.subsumed ? { subsumed: !0 } : {} },
3522435226 width: w.width,
3522535227 height: w.height,
3522635228 ports: [],
@@ -35418,22 +35420,23 @@ function L_({ data: l, selected: Z }) {
3541835420 );
3541935421}
3542035422function GF(l) {
35421- var Z, u, s;
35423+ var u, s, G, i;
35424+ const Z = ((u = l == null ? void 0 : l.data) == null ? void 0 : u.subsumed) || !1;
3542235425 return /* @__PURE__ */ B.jsxs(
3542335426 "div",
3542435427 {
35425- className: `p-1 rounded-md outline bg-white outline-black h-full w-full ${l != null && l.selected ? "outline-2" : "outline-1"}`,
35428+ className: `p-1 rounded-md outline bg-white ${Z ? " outline-gray-300" : "outline- black"} h-full w-full ${l != null && l.selected ? "outline-2" : "outline-1"}`,
3542635429 ref: l == null ? void 0 : l.outerRef,
3542735430 children: [
3542835431 l != null && l.outerRef ? /* @__PURE__ */ B.jsx(B.Fragment, {}) : /* @__PURE__ */ B.jsx(mF, { type: "node", id: l.data.id }),
3542935432 /* @__PURE__ */ B.jsx(
3543035433 "div",
3543135434 {
35432- className: " font-mono text-xs truncate max-w-96 min-w-4 text-center" ,
35433- title: `${(Z = l == null ? void 0 : l.data) == null ? void 0 : Z .id}
35434- ${(u = l == null ? void 0 : l.data) == null ? void 0 : u .label}`,
35435+ className: ` font-mono text-xs truncate max-w-96 min-w-4 text-center ${Z ? "text-gray-300" : ""}` ,
35436+ title: `${(s = l == null ? void 0 : l.data) == null ? void 0 : s .id}
35437+ ${(G = l == null ? void 0 : l.data) == null ? void 0 : G .label}`,
3543535438 ref: l == null ? void 0 : l.innerRef,
35436- children: (s = l == null ? void 0 : l.data) == null ? void 0 : s .label
35439+ children: (i = l == null ? void 0 : l.data) == null ? void 0 : i .label
3543735440 }
3543835441 ),
3543935442 l != null && l.outerRef ? /* @__PURE__ */ B.jsx(B.Fragment, {}) : /* @__PURE__ */ B.jsx(Rm, { type: "source", position: Tl.Bottom, className: "invisible" })
0 commit comments