Skip to content

Commit c45a860

Browse files
committed
Add another organization chart
1 parent 2fbe4ab commit c45a860

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

example/assets/organization_chart.json

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
"id": 2,
3131
"pid": 0,
3232
"name": "testName2",
33-
"children": [
34-
]
33+
"children": []
3534
},
3635
{
3736
"id": 3,
@@ -110,6 +109,38 @@
110109
]
111110
}
112111
]
112+
},
113+
{
114+
"id": 4,
115+
"pid": 0,
116+
"name": "testName4",
117+
"children": [
118+
{
119+
"id": 41,
120+
"pid": 4,
121+
"name": "testName41",
122+
"children": [
123+
{
124+
"id": 411,
125+
"pid": 41,
126+
"name": "testName411",
127+
"children": []
128+
},
129+
{
130+
"id": 412,
131+
"pid": 41,
132+
"name": "testName412",
133+
"children": []
134+
},
135+
{
136+
"id": 413,
137+
"pid": 41,
138+
"name": "testName413",
139+
"children": []
140+
}
141+
]
142+
}
143+
]
113144
}
114145
]
115146
}

0 commit comments

Comments
 (0)