@skydesign/tf 0.3.4 → 0.3.5

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/index.d.ts CHANGED
@@ -350,6 +350,12 @@ export declare interface RenderOptions {
350
350
  selectedEdgeId: number | null;
351
351
  /** Edge selection callback; undefined disables click-to-select. */
352
352
  onEdgeSelect: ((edgeIndex: number | null) => void) | undefined;
353
+ /**
354
+ * Edge label click callback, fired even when the edge is already selected
355
+ * (the consumer typically re-centers the label via its navigation API).
356
+ * undefined = label clicks fall through to the edge's select handler.
357
+ */
358
+ onEdgeLabelClick: ((edgeIndex: number) => void) | undefined;
353
359
  /** Node box width in points; null keeps the graphviz-computed width. */
354
360
  nodeWidth: number | null;
355
361
  /** Node box height in points; null keeps the graphviz-computed height. */