@pipelex/mthds-ui 0.32.0 → 0.34.0

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/README.md CHANGED
@@ -94,6 +94,7 @@ Without `pipeIoContracts` and `outputForm` the panel shows each concept's struct
94
94
  | `graphStyle` | `GraphStyleId` | `"detailed"` | The style the graph is drawn in: `detailed` or `simple` |
95
95
  | `styleMenu` | `boolean \| GraphStyleId[]` | — | Offer a style menu in the toolbar (opt-in) |
96
96
  | `onGraphStyleChange` | `(style: GraphStyleId) => void` | — | Called when the style changes, so the host can keep the choice |
97
+ | `interactive` | `boolean` | `true` | `false` draws a still picture sized to its content |
97
98
 
98
99
  The `simple` style draws the method as a flowchart in plain words: steps titled by their descriptions, only the method's inputs and final output as data, decisions with their outcomes, and loops as "for each". See [docs/graph-styles.md](docs/graph-styles.md).
99
100
 
@@ -101,6 +102,8 @@ The `simple` style draws the method as a flowchart in plain words: steps titled
101
102
 
102
103
  The graph container uses `position: absolute; inset: 0` to fill its parent. Make sure the parent element has `position: relative` and a defined height (e.g. `h-full`, `flex-1`, or an explicit height).
103
104
 
105
+ The still presentation (`interactive={false}`) is the exception: its container flows in its parent and takes the height the drawing needs, so the parent gives it a width and no height. See [docs/still-presentation.md](docs/still-presentation.md).
106
+
104
107
  ## GraphSpec
105
108
 
106
109
  GraphSpec is the data format that describes a pipeline execution graph. It's generated by Pipelex when running or validating MTHDS method bundles.
@@ -2855,7 +2855,7 @@ function simpleEdge(id, source, target, label) {
2855
2855
  fontWeight: 600,
2856
2856
  fill: "var(--ctrl-condition-text)"
2857
2857
  };
2858
- edge.labelBgStyle = { fill: "var(--color-bg)", fillOpacity: 0.92 };
2858
+ edge.labelBgStyle = { fill: "var(--simple-edge-label-bg, var(--color-bg))", fillOpacity: 0.92 };
2859
2859
  edge.labelBgPadding = [...EDGE_LABEL_PADDING];
2860
2860
  edge.labelBgBorderRadius = 4;
2861
2861
  edge.labelSize = simpleEdgeLabelSize(label);
@@ -3010,4 +3010,4 @@ export {
3010
3010
  applySimpleFrames,
3011
3011
  GRAPH_STYLE_PIPELINES
3012
3012
  };
3013
- //# sourceMappingURL=chunk-T5Y7KNCZ.js.map
3013
+ //# sourceMappingURL=chunk-ABUDTHWF.js.map