@balkangraph/orgchart.js 8.14.66 → 8.14.68

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
@@ -13,6 +13,12 @@ declare class OrgChart extends OrgChartBase {
13
13
 
14
14
 
15
15
  /**
16
+ * ```typescript
17
+ * var chart = new OrgChart('#tree', {});
18
+ * ...
19
+ * chart.update({ id: 1, name: "Updated Name", title: "Updated Title" });
20
+ * chart.draw();
21
+ * ```
16
22
  * Updates the node data
17
23
  * @param newData node data
18
24
  */