@@ -83,8 +83,8 @@ public OrgChart getExample1() {
83
83
OrgChartItem item2 = new OrgChartItem (2 , "Anna Thompson" , "Administration" );
84
84
item2 .
setData (
"mail" ,
"[email protected] " );
85
85
item2 .setClassName ("blue-node" );
86
- OrgChartItem item3 = new OrgChartItem (3 , "Timothy Jones" , "Sub-Director" );
87
- item3 .setData ("mail" , "tjonees @example.com" );
86
+ OrgChartItem item3 = new OrgChartItem (3 , "Timothy Albert Henry Jones " , "Sub-Director of Administration Department " );
87
+ item3 .setData ("mail" , "timothy.albert.jones @example.com" );
88
88
item1 .setChildren (Arrays .asList (item2 , item3 ));
89
89
OrgChartItem item4 = new OrgChartItem (4 , "Louise Night" , "Department 1" );
90
90
item4 .
setData (
"mail" ,
"[email protected] " );
@@ -106,8 +106,8 @@ public OrgChart getExample2() {
106
106
OrgChartItem item2 = new OrgChartItem (2 , "Anna Thompson" , "Administration" );
107
107
OrgChartItem item3 = new OrgChartItem (3 , "Timothy Jones" , "Sub-Director" );
108
108
item1 .setChildren (Arrays .asList (item2 , item3 ));
109
- OrgChartItem item4 = new OrgChartItem (4 , "Louise Night" , "Department 1" );
110
- OrgChartItem item5 = new OrgChartItem (5 , "John Porter" , "Department 2" );
109
+ OrgChartItem item4 = new OrgChartItem (4 , "Louise Night, Louise Night, Louise Night " , "Department 1" );
110
+ OrgChartItem item5 = new OrgChartItem (5 , "John Porter" , "Department 2, Department 2, Department 2, Department 2, Department 2 " );
111
111
item2 .setChildren (Arrays .asList (item4 , item5 ));
112
112
OrgChartItem item6 = new OrgChartItem (6 , "Charles Thomas" , "Department 3" );
113
113
item5 .setChildren (Arrays .asList (item6 ));
0 commit comments