balkan-orgchart-js-community 9.1.2
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 +61 -0
- package/orgchart.d.ts +5982 -0
- package/orgchart.js +1 -0
- package/package.json +59 -0
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
#  OrgChart JS
|
|
2
|
+
Build organizational chart app with BALKAN OrgChart JS JavaScript library. **OrgChart 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
|
+
|
|
4
|
+

|
|
5
|
+
|
|
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
|
+
|
|
8
|
+
## Features
|
|
9
|
+
- Supports both local data and remote data (JSON)
|
|
10
|
+
- Smooth expand/collapse effects
|
|
11
|
+
- Align the chart in 8 orientations
|
|
12
|
+
- Allows user to change orgchart structure by drag/drop nodes
|
|
13
|
+
- Supports pan and zoom
|
|
14
|
+
- Edit Form
|
|
15
|
+
- Node Customization
|
|
16
|
+
- Search
|
|
17
|
+
- Scroll Bars
|
|
18
|
+
- Lazy Loading
|
|
19
|
+
- Mixed Hierarchy
|
|
20
|
+
- Exporting
|
|
21
|
+
- Assistant
|
|
22
|
+
- Partners
|
|
23
|
+
- Sub Trees
|
|
24
|
+
- Family Tree
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
Option 1 - [standalone build](https://balkan.app/OrgChartJS/Docs/GettingStarted)
|
|
28
|
+
|
|
29
|
+
Option 2 - NPM
|
|
30
|
+
```
|
|
31
|
+
npm i @balkangraph/orgchart.js
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Option 3 - Bower
|
|
35
|
+
```
|
|
36
|
+
bower install orgchart.js
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
```
|
|
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>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## 1 click to talk 2 us
|
|
60
|
+
|
|
61
|
+
[](https://webcall.me/BALKANGraph)
|