@graphysdk/viz-engine 1.9.0-beta.1791444651663 → 1.9.0-beta.1791458483540

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
@@ -4568,7 +4568,7 @@ export declare interface EditOutlinePartStyle {
4568
4568
  cornerRadius: number;
4569
4569
  }
4570
4570
 
4571
- /** Both resolved edit outlines, by part. */
4571
+ /** Both resolved edit outlines. Annotation selection and the menu icon read the selected stroke. */
4572
4572
  export declare type EditOutlineStyle = Record<EditOutlinePart, EditOutlinePartStyle>;
4573
4573
 
4574
4574
  /**
@@ -12339,6 +12339,24 @@ declare type SetLegendDisplayParams = {
12339
12339
  display: LegendDisplay;
12340
12340
  };
12341
12341
 
12342
+ /**
12343
+ * Sets the legend's side and its alignment along it as one edit. Its revert restores both, even where only one
12344
+ * changed, so a held gesture folded into one undo step returns to where it began.
12345
+ */
12346
+ export declare class SetLegendPlacementCommand implements Command<SetLegendPlacementParams> {
12347
+ readonly type: "set-legend-placement";
12348
+ readonly metadata: CommandMetadata;
12349
+ readonly params: SetLegendPlacementParams;
12350
+ readonly target: EditTarget;
12351
+ constructor(params: SetLegendPlacementParams, metadata?: Partial<CommandMetadata>);
12352
+ apply(spec: ResolvedSpec): CommandApplyResult | null;
12353
+ }
12354
+
12355
+ export declare type SetLegendPlacementParams = {
12356
+ position: LegendPosition;
12357
+ align: LegendAlign;
12358
+ };
12359
+
12342
12360
  /**
12343
12361
  * Sets the legend placement relative to the chart (e.g. auto, top, bottom, left, right, none).
12344
12362
  * 'auto' lets the renderer choose the best position; 'none' hides the legend entirely.