@balkangraph/orgchart.js 8.13.35 → 8.14.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/orgchart.d.ts CHANGED
@@ -1481,7 +1481,8 @@ declare namespace OrgChart {
1481
1481
  treeLeftOffset,
1482
1482
  treeRightOffset,
1483
1483
  treeLeft,
1484
- treeRight
1484
+ treeRight,
1485
+ grid
1485
1486
  }
1486
1487
 
1487
1488
  enum align {
@@ -1514,7 +1515,7 @@ declare namespace OrgChart {
1514
1515
  boundary
1515
1516
  }
1516
1517
 
1517
- enum draggable {
1518
+ enum movable {
1518
1519
  node,
1519
1520
  tree
1520
1521
  }
@@ -1780,9 +1781,9 @@ declare namespace OrgChart {
1780
1781
  */
1781
1782
  showXScroll?: boolean ,
1782
1783
  /**
1783
- * Draggable node, drag the node anywhere on the canvas
1784
+ * movable node, move the node anywhere on the canvas
1784
1785
  */
1785
- draggable?: OrgChart.draggable,
1786
+ movable?: OrgChart.movable,
1786
1787
  /**
1787
1788
  * Shows vertical scrollbar. Default value - *false*.
1788
1789
  * ```typescript
@@ -2137,6 +2138,11 @@ declare namespace OrgChart {
2137
2138
  * ```
2138
2139
  */
2139
2140
  layout?: OrgChart.layout | number,
2141
+ /**
2142
+ * Sets the maximum number of columns in grid layout, it has to be even nymber or 'dynamic' string
2143
+ * The default id 'dynamic', that means that the maximum colomn numbers are dinamicly calculated
2144
+ */
2145
+ layoutGridColumns?: string | number,
2140
2146
  /**
2141
2147
  * The scale factor determines what fraction of the entire scale is visible at one time.
2142
2148
  * - OrgChart.match.height
@@ -2590,7 +2596,7 @@ declare class OrgChartBase {
2590
2596
  /**
2591
2597
  * array of node ids
2592
2598
  *
2593
- * this property is initialized only if draggable option is set
2599
+ * this property is initialized only if movable option is set
2594
2600
  */
2595
2601
  nodeIds: Array<string | number>
2596
2602
  }) => void): OrgChart;