@balkangraph/orgchart.js 8.15.20 → 8.15.21
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 +86 -0
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/orgchart.d.ts
CHANGED
|
@@ -3173,13 +3173,99 @@ declare namespace OrgChart {
|
|
|
3173
3173
|
*/
|
|
3174
3174
|
enum orientation {
|
|
3175
3175
|
|
|
3176
|
+
/**
|
|
3177
|
+
* top orientation (default)
|
|
3178
|
+
* OrgChart.orientation.top = 0;
|
|
3179
|
+
* ```typescript
|
|
3180
|
+
* let chart = new OrgChart('#tree', {
|
|
3181
|
+
* orientation: OrgChart.orientation.left,
|
|
3182
|
+
* tags: {
|
|
3183
|
+
* "tag1": {
|
|
3184
|
+
* subTreeConfig: {
|
|
3185
|
+
* orientation: OrgChart.orientation.top
|
|
3186
|
+
* }
|
|
3187
|
+
* }
|
|
3188
|
+
* }
|
|
3189
|
+
* });
|
|
3190
|
+
* ```
|
|
3191
|
+
*/
|
|
3176
3192
|
top,
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* Bottom orientation
|
|
3196
|
+
* OrgChart.orientation.bottom = 1;
|
|
3197
|
+
* ```typescript
|
|
3198
|
+
* let chart = new OrgChart('#tree', {
|
|
3199
|
+
* orientation: OrgChart.orientation.bottom,
|
|
3200
|
+
* });
|
|
3201
|
+
* ```
|
|
3202
|
+
*/
|
|
3177
3203
|
bottom,
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Right orientation
|
|
3207
|
+
* OrgChart.orientation.right = 2;
|
|
3208
|
+
* ```typescript
|
|
3209
|
+
* let chart = new OrgChart('#tree', {
|
|
3210
|
+
* orientation: OrgChart.orientation.right,
|
|
3211
|
+
* });
|
|
3212
|
+
* ```
|
|
3213
|
+
*/
|
|
3178
3214
|
right,
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* Left orientation
|
|
3218
|
+
* OrgChart.orientation.left = 3;
|
|
3219
|
+
* ```typescript
|
|
3220
|
+
* let chart = new OrgChart('#tree', {
|
|
3221
|
+
* orientation: OrgChart.orientation.left,
|
|
3222
|
+
* });
|
|
3223
|
+
* ```
|
|
3224
|
+
*/
|
|
3179
3225
|
left,
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* Top lrft orientation
|
|
3229
|
+
* OrgChart.orientation.top_left = 4;
|
|
3230
|
+
* ```typescript
|
|
3231
|
+
* let chart = new OrgChart('#tree', {
|
|
3232
|
+
* orientation: OrgChart.orientation.top_left,
|
|
3233
|
+
* });
|
|
3234
|
+
* ```
|
|
3235
|
+
*/
|
|
3180
3236
|
top_left,
|
|
3237
|
+
|
|
3238
|
+
/**
|
|
3239
|
+
* Bottom lrft orientation
|
|
3240
|
+
* OrgChart.orientation.bottom_left = 5;
|
|
3241
|
+
* ```typescript
|
|
3242
|
+
* let chart = new OrgChart('#tree', {
|
|
3243
|
+
* orientation: OrgChart.orientation.bottom_left,
|
|
3244
|
+
* });
|
|
3245
|
+
* ```
|
|
3246
|
+
*/
|
|
3181
3247
|
bottom_left,
|
|
3248
|
+
|
|
3249
|
+
/**
|
|
3250
|
+
* Right top orientation
|
|
3251
|
+
* OrgChart.orientation.right_top = 6;
|
|
3252
|
+
* ```typescript
|
|
3253
|
+
* let chart = new OrgChart('#tree', {
|
|
3254
|
+
* orientation: OrgChart.orientation.right_top,
|
|
3255
|
+
* });
|
|
3256
|
+
* ```
|
|
3257
|
+
*/
|
|
3182
3258
|
right_top,
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
* Left top orientation
|
|
3262
|
+
* OrgChart.orientation.left_top = 7;
|
|
3263
|
+
* ```typescript
|
|
3264
|
+
* let chart = new OrgChart('#tree', {
|
|
3265
|
+
* orientation: OrgChart.orientation.left_top,
|
|
3266
|
+
* });
|
|
3267
|
+
* ```
|
|
3268
|
+
*/
|
|
3183
3269
|
left_top
|
|
3184
3270
|
}
|
|
3185
3271
|
|