@balkangraph/orgchart.js 8.0.19 → 8.0.23
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/README.md +21 -23
- package/orgchart.d.ts +3 -1
- package/orgchart.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#  Org Chart JS
|
|
2
|
+
Build organizational chart app with BALKAN OrgChartJS JavaScript library. Org Chart JS is a simple, flexible and highly customizable organization chart plugin for presenting the structure of your organization and the relationships in an elegant way.
|
|
3
3
|
|
|
4
|
-

|
|
5
5
|
|
|
6
|
-
## [Demos](https://
|
|
6
|
+
## [Demos](https://balkan.app/OrgChartJS/Demos/BasicUsage) [Docs](https://balkan.app/OrgChartJS/Docs/GettingStarted) [Download](https://balkan.app/OrgChartJS/Download) [Support](https://balkan.app/OrgChartJS/Support)
|
|
7
7
|
|
|
8
8
|
## Features
|
|
9
9
|
- Supports both local data and remote data (JSON)
|
|
@@ -19,10 +19,12 @@ OrgChart JS is a simple, flexible and highly customizable organization chart plu
|
|
|
19
19
|
- Mixed Hierarchy
|
|
20
20
|
- Exporting
|
|
21
21
|
- Assistant
|
|
22
|
+
- Partners
|
|
23
|
+
- Sub Trees
|
|
22
24
|
- Family Tree
|
|
23
25
|
|
|
24
26
|
## Installation
|
|
25
|
-
Option 1 - [standalone build](https://
|
|
27
|
+
Option 1 - [standalone build](https://balkan.app/OrgChartJS/Docs/GettingStarted)
|
|
26
28
|
|
|
27
29
|
Option 2 - NPM
|
|
28
30
|
```
|
|
@@ -34,27 +36,23 @@ Option 3 - Bower
|
|
|
34
36
|
bower install orgchart.js
|
|
35
37
|
```
|
|
36
38
|
|
|
37
|
-
Option 4 - NuGet
|
|
38
|
-
```
|
|
39
|
-
Install-Package OrgChartJS
|
|
40
|
-
```
|
|
41
39
|
|
|
42
40
|
## Usage
|
|
43
41
|
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
42
|
+
<script src="https://balkan.app/js/orgchart.js"></script>
|
|
43
|
+
<div id="tree"/>
|
|
44
|
+
<script>
|
|
45
|
+
var chart = new OrgChart(document.getElementById("tree"), {
|
|
46
|
+
nodeBinding: {
|
|
47
|
+
field_0: "name"
|
|
48
|
+
},
|
|
49
|
+
nodes: [
|
|
50
|
+
{ id: 1, name: "Amber McKenzie" },
|
|
51
|
+
{ id: 2, pid: 1, name: "Ava Field" },
|
|
52
|
+
{ id: 3, pid: 1, name: "Peter Stevens" }
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
</script>
|
|
58
56
|
```
|
|
59
57
|
|
|
60
58
|
## 1 click to talk 2 us
|
package/orgchart.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ declare namespace OrgChart {
|
|
|
2
2
|
|
|
3
3
|
function isTrial(): boolean;
|
|
4
4
|
|
|
5
|
-
function t(templateName: string, minimized?: boolean, scale?: number ) :
|
|
5
|
+
function t(templateName: string, minimized?: boolean, scale?: number ) : any;
|
|
6
6
|
|
|
7
7
|
enum orientation {
|
|
8
8
|
top,
|
|
@@ -155,6 +155,8 @@ declare namespace OrgChart {
|
|
|
155
155
|
const RES: any;
|
|
156
156
|
|
|
157
157
|
const loc: Loc;
|
|
158
|
+
|
|
159
|
+
const grCloseTag: any;
|
|
158
160
|
}
|
|
159
161
|
|
|
160
162
|
interface State {
|