@republicroad/seal-editor 1.2.0 → 1.3.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/dist/index.d.ts CHANGED
@@ -393,6 +393,11 @@ declare type DecisionGraphStoreType = {
393
393
  addNodes: (nodes: DecisionNode[]) => void;
394
394
  updateNode: (id: string, updater: DraftUpdateCallback<DecisionNode>) => void;
395
395
  removeNodes: (ids: string[]) => void;
396
+ autoLayout: (options?: {
397
+ ranksep?: number;
398
+ nodesep?: number;
399
+ fitView?: boolean;
400
+ }) => Promise<void>;
396
401
  duplicateNodes: (ids: string[]) => void;
397
402
  copyNodes: (ids: string[]) => void;
398
403
  pasteNodes: () => void;
@@ -1103,6 +1108,7 @@ declare const en: {
1103
1108
  readonly 'vh.compare.entry': "comparing";
1104
1109
  readonly 'dg.toolbar.uploadJson': "Upload JSON";
1105
1110
  readonly 'dg.toolbar.uploadExcel': "Upload Excel";
1111
+ readonly 'dg.toolbar.autoLayout': "Auto layout";
1106
1112
  readonly 'dg.toolbar.downloadJson': "Download JSON";
1107
1113
  readonly 'dg.toolbar.downloadExcel': "Download Excel";
1108
1114
  readonly 'dg.toolbar.searchNodes': "Search nodes";