Skip to content

Commit 1cbfd52

Browse files
committed
update
1 parent 9714394 commit 1cbfd52

File tree

1 file changed

+0
-140
lines changed

1 file changed

+0
-140
lines changed

examples/dot/src/index.js

Lines changed: 0 additions & 140 deletions
Original file line numberDiff line numberDiff line change
@@ -33,273 +33,133 @@ const diagram = {
3333
'data': {
3434
'nodes': [
3535
{
36-
'node_name': 'Start',
3736
'node_id': 0,
38-
'node_type': 'start',
39-
'count': null,
40-
'relative_frequency': null
4137
},
4238
{
43-
'node_name': 'Order Received',
4439
'node_id': 6,
45-
'node_type': 'node',
46-
'count': 54567,
47-
'relative_frequency': 10.505
4840
},
4941
{
50-
'node_name': 'Order Validation',
5142
'node_id': 8,
52-
'node_type': 'node',
53-
'count': 66952,
54-
'relative_frequency': 12.889
5543
},
5644
{
57-
'node_name': 'Customer Credit Check',
5845
'node_id': 5,
59-
'node_type': 'node',
60-
'count': 79337,
61-
'relative_frequency': 15.274
6246
},
6347
{
64-
'node_name': 'Order Approval',
6548
'node_id': 3,
66-
'node_type': 'node',
67-
'count': 44016,
68-
'relative_frequency': 8.474
6949
},
7050
{
71-
'node_name': 'Order Confirmation Sent',
7251
'node_id': 9,
73-
'node_type': 'node',
74-
'count': 44016,
75-
'relative_frequency': 8.474
7652
},
7753
{
78-
'node_name': 'Order Rejected',
7954
'node_id': 1,
80-
'node_type': 'node',
81-
'count': 10551,
82-
'relative_frequency': 2.031
8355
},
8456
{
85-
'node_name': 'Prepare Goods for Shipment',
8657
'node_id': 4,
87-
'node_type': 'node',
88-
'count': 44016,
89-
'relative_frequency': 8.474
9058
},
9159
{
92-
'node_name': 'Send Invoice',
9360
'node_id': 7,
94-
'node_type': 'node',
95-
'count': 40472,
96-
'relative_frequency': 7.791
9761
},
9862
{
99-
'node_name': 'Goods Shipped',
10063
'node_id': 11,
101-
'node_type': 'node',
102-
'count': 44016,
103-
'relative_frequency': 8.474
10464
},
10565
{
106-
'node_name': 'Payment Received',
10766
'node_id': 10,
108-
'node_type': 'node',
109-
'count': 40472,
110-
'relative_frequency': 7.791
11167
},
11268
{
113-
'node_name': 'Order Completed',
11469
'node_id': 2,
115-
'node_type': 'node',
116-
'count': 51023,
117-
'relative_frequency': 9.823
11870
},
11971
{
120-
'node_name': 'End',
12172
'node_id': 12,
122-
'node_type': 'end',
123-
'count': null,
124-
'relative_frequency': null
12573
}
12674
],
12775
'edges': [
12876
{
12977
'node_id_from': 5,
13078
'node_id_to': 1,
131-
'count': 10551,
132-
'relative_frequency': 13.299,
133-
'median_throughputtime_sec': 172800.0,
134-
'mean_throughputtime_sec': 173545.0
13579
},
13680
{
13781
'node_id_from': 5,
13882
'node_id_to': 3,
139-
'count': 31588,
140-
'relative_frequency': 39.815,
141-
'median_throughputtime_sec': 172800.0,
142-
'mean_throughputtime_sec': 169737.0
14383
},
14484
{
14585
'node_id_from': 5,
14686
'node_id_to': 5,
147-
'count': 24770,
148-
'relative_frequency': 31.221,
149-
'median_throughputtime_sec': 259200.0,
150-
'mean_throughputtime_sec': 215958.0
15187
},
15288
{
15389
'node_id_from': 5,
15490
'node_id_to': 9,
155-
'count': 12428,
156-
'relative_frequency': 15.665,
157-
'median_throughputtime_sec': 172800.0,
158-
'mean_throughputtime_sec': 193677.0
15991
},
16092
{
16193
'node_id_from': 9,
16294
'node_id_to': 3,
163-
'count': 12428,
164-
'relative_frequency': 28.235,
165-
'median_throughputtime_sec': 86400.0,
166-
'mean_throughputtime_sec': 86400.0
16795
},
16896
{
16997
'node_id_from': 9,
17098
'node_id_to': 4,
171-
'count': 31588,
172-
'relative_frequency': 71.765,
173-
'median_throughputtime_sec': 345600.0,
174-
'mean_throughputtime_sec': 372446.0
17599
},
176100
{
177101
'node_id_from': 10,
178102
'node_id_to': 2,
179-
'count': 40472,
180-
'relative_frequency': 100.0,
181-
'median_throughputtime_sec': 172800.0,
182-
'mean_throughputtime_sec': 199240.0
183103
},
184104
{
185105
'node_id_from': 8,
186106
'node_id_to': 5,
187-
'count': 54567,
188-
'relative_frequency': 81.502,
189-
'median_throughputtime_sec': 432000.0,
190-
'mean_throughputtime_sec': 404058.0
191107
},
192108
{
193109
'node_id_from': 8,
194110
'node_id_to': 8,
195-
'count': 12385,
196-
'relative_frequency': 18.498,
197-
'median_throughputtime_sec': 259200.0,
198-
'mean_throughputtime_sec': 259200.0
199111
},
200112
{
201113
'node_id_from': 1,
202114
'node_id_to': 2,
203-
'count': 10551,
204-
'relative_frequency': 100.0,
205-
'median_throughputtime_sec': 345600.0,
206-
'mean_throughputtime_sec': 345600.0
207115
},
208116
{
209117
'node_id_from': 3,
210118
'node_id_to': 4,
211-
'count': 12428,
212-
'relative_frequency': 28.235,
213-
'median_throughputtime_sec': 259200.0,
214-
'mean_throughputtime_sec': 269962.0
215119
},
216120
{
217121
'node_id_from': 3,
218122
'node_id_to': 9,
219-
'count': 31588,
220-
'relative_frequency': 71.765,
221-
'median_throughputtime_sec': 86400.0,
222-
'mean_throughputtime_sec': 48200.0
223123
},
224124
{
225125
'node_id_from': 6,
226126
'node_id_to': 8,
227-
'count': 54567,
228-
'relative_frequency': 100.0,
229-
'median_throughputtime_sec': 172800.0,
230-
'mean_throughputtime_sec': 206212.0
231127
},
232128
{
233129
'node_id_from': 11,
234130
'node_id_to': 12,
235-
'count': 3544,
236-
'relative_frequency': 8.052,
237-
'median_throughputtime_sec': null,
238-
'mean_throughputtime_sec': null
239131
},
240132
{
241133
'node_id_from': 11,
242134
'node_id_to': 7,
243-
'count': 24900,
244-
'relative_frequency': 56.57,
245-
'median_throughputtime_sec': 0.0,
246-
'mean_throughputtime_sec': 37686.0
247135
},
248136
{
249137
'node_id_from': 11,
250138
'node_id_to': 10,
251-
'count': 15572,
252-
'relative_frequency': 35.378,
253-
'median_throughputtime_sec': 86400.0,
254-
'mean_throughputtime_sec': 95522.0
255139
},
256140
{
257141
'node_id_from': 0,
258142
'node_id_to': 6,
259-
'count': 54567,
260-
'relative_frequency': 100.0,
261-
'median_throughputtime_sec': null,
262-
'mean_throughputtime_sec': null
263143
},
264144
{
265145
'node_id_from': 2,
266146
'node_id_to': 12,
267-
'count': 51023,
268-
'relative_frequency': 100.0,
269-
'median_throughputtime_sec': null,
270-
'mean_throughputtime_sec': null
271147
},
272148
{
273149
'node_id_from': 7,
274150
'node_id_to': 10,
275-
'count': 24900,
276-
'relative_frequency': 61.524,
277-
'median_throughputtime_sec': 172800.0,
278-
'mean_throughputtime_sec': 204726.0
279151
},
280152
{
281153
'node_id_from': 7,
282154
'node_id_to': 11,
283-
'count': 15572,
284-
'relative_frequency': 38.476,
285-
'median_throughputtime_sec': 86400.0,
286-
'mean_throughputtime_sec': 129078.0
287155
},
288156
{
289157
'node_id_from': 4,
290158
'node_id_to': 7,
291-
'count': 15572,
292-
'relative_frequency': 35.378,
293-
'median_throughputtime_sec': 172800.0,
294-
'mean_throughputtime_sec': 165188.0
295159
},
296160
{
297161
'node_id_from': 4,
298162
'node_id_to': 11,
299-
'count': 28444,
300-
'relative_frequency': 64.622,
301-
'median_throughputtime_sec': 172800.0,
302-
'mean_throughputtime_sec': 187520.0
303163
}
304164
]
305165
}

0 commit comments

Comments
 (0)