@balkangraph/orgchart.js 8.15.17 → 8.15.19

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
@@ -3189,10 +3189,40 @@ declare namespace OrgChart {
3189
3189
  grid
3190
3190
  }
3191
3191
 
3192
+ /**
3193
+ * Specifies the alignment of the nodes inside OrgChart JS
3194
+ */
3192
3195
  enum align {
3196
+
3197
+ /**
3198
+ * Centered
3199
+ * ```typescript
3200
+ * var chart = new OrgChart('#tree', {
3201
+ * align: OrgChart.align.center
3202
+ * });
3203
+ * ```
3204
+ */
3193
3205
  center,
3206
+
3207
+ /**
3208
+ * According to the orientation option
3209
+ * ```typescript
3210
+ * let chart = new OrgChart('#tree', {
3211
+ * align: OrgChart.align.orientation
3212
+ * });
3213
+ * ```
3214
+ */
3194
3215
  orientation
3195
3216
  }
3217
+
3218
+ /**
3219
+ * Animations for the transition of the nodes
3220
+ * ```typescript
3221
+ * let chart = new OrgChart('#tree', {
3222
+ * anim: {func: OrgChart.anim.outBack, duration: 500}
3223
+ * });
3224
+ * ```
3225
+ */
3196
3226
  enum anim {
3197
3227
  inPow,
3198
3228
  outPow,