@balkangraph/orgchart.js 8.12.5 → 8.12.6

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/orgchart.d.ts CHANGED
@@ -222,6 +222,15 @@ declare class OrgChart extends OrgChartBase {
222
222
  * Destroys the object.
223
223
  */
224
224
  destroy(): void;
225
+ /**
226
+ * Replaces the id, pid, stpid, ppid and the ids in clinks, slinks, dottedLines, groupDottedLines.
227
+ * After the replacment updates the UI
228
+ * @param old_new_ids dictionary containing old and new ids
229
+ * @param callback called when the replacment completes
230
+ */
231
+ replaceIds(old_new_ids: {
232
+ [key: string]: string | number
233
+ }, callback?: () => void): void;
225
234
  /**
226
235
  * Adds curved link.
227
236
  * @param from from node with id