@squeed/flow-sdk 2.0.30 → 2.0.32

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
@@ -249,6 +249,12 @@ caption below the icon, so paths and arrowheads do not cross wrapped labels or
249
249
  subtitles. Horizontal connectors still attach to the icon surface. Unmarked
250
250
  custom views retain rectangular host bounds.
251
251
 
252
+ Edge-label placement is scoped to each canvas and skips empty label layers.
253
+ The existing placement is reused while node bounds, edge paths, and label
254
+ dimensions are unchanged. Geometry changes and font loading recheck placement;
255
+ unrelated updates do not resample SVG paths. This does not change JSON loading,
256
+ repair streaming, or playback.
257
+
252
258
  For content and custom-shape views, use `<FlowPort id="tools" role="source"
253
259
  side="bottom" position={0.5} />` inside the node. `side` accepts `top`, `right`,
254
260
  `bottom`, or `left`; `position` ranges from 0 to 1 and defaults to the midpoint.
@@ -475,6 +481,13 @@ stays disabled. Individual node-view actions do not change this setting.
475
481
 
476
482
  `NodeViewMode` supports `"default"`, `"properties"` and `"icon-label"`; controlled
477
483
  consumers continue using `config.nodeViewModes` and `onNodeViewModeChange`.
484
+ Dot-triggered selection includes `NodeSelectionModifiers.viewToggle: true`;
485
+ ordinary selections omit it. The dot invokes `onNodeViewToggle` before changing
486
+ the view so a host can queue geometry-aware focus without first focusing the
487
+ compact node. SDK Test centers the opened node using its existing default focus
488
+ padding; ordinary clicks still honor Include children. The layout scheduler
489
+ coalesces measurements and does not restart a pending focus for identical
490
+ destination geometry.
478
491
  Parent changes follow the host's existing collapse persistence behavior. The
479
492
  name `collapsed` remains reserved for child-collapse behavior, not object view
480
493
  modes. `onAllNodesIconLabelChange` reports bulk actions. The bottom toolbar exposes