Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus committed Feb 8, 2024
1 parent 9714394 commit 1cbfd52
Showing 1 changed file with 0 additions and 140 deletions.
140 changes: 0 additions & 140 deletions examples/dot/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,273 +33,133 @@ const diagram = {
'data': {
'nodes': [
{
'node_name': 'Start',
'node_id': 0,
'node_type': 'start',
'count': null,
'relative_frequency': null
},
{
'node_name': 'Order Received',
'node_id': 6,
'node_type': 'node',
'count': 54567,
'relative_frequency': 10.505
},
{
'node_name': 'Order Validation',
'node_id': 8,
'node_type': 'node',
'count': 66952,
'relative_frequency': 12.889
},
{
'node_name': 'Customer Credit Check',
'node_id': 5,
'node_type': 'node',
'count': 79337,
'relative_frequency': 15.274
},
{
'node_name': 'Order Approval',
'node_id': 3,
'node_type': 'node',
'count': 44016,
'relative_frequency': 8.474
},
{
'node_name': 'Order Confirmation Sent',
'node_id': 9,
'node_type': 'node',
'count': 44016,
'relative_frequency': 8.474
},
{
'node_name': 'Order Rejected',
'node_id': 1,
'node_type': 'node',
'count': 10551,
'relative_frequency': 2.031
},
{
'node_name': 'Prepare Goods for Shipment',
'node_id': 4,
'node_type': 'node',
'count': 44016,
'relative_frequency': 8.474
},
{
'node_name': 'Send Invoice',
'node_id': 7,
'node_type': 'node',
'count': 40472,
'relative_frequency': 7.791
},
{
'node_name': 'Goods Shipped',
'node_id': 11,
'node_type': 'node',
'count': 44016,
'relative_frequency': 8.474
},
{
'node_name': 'Payment Received',
'node_id': 10,
'node_type': 'node',
'count': 40472,
'relative_frequency': 7.791
},
{
'node_name': 'Order Completed',
'node_id': 2,
'node_type': 'node',
'count': 51023,
'relative_frequency': 9.823
},
{
'node_name': 'End',
'node_id': 12,
'node_type': 'end',
'count': null,
'relative_frequency': null
}
],
'edges': [
{
'node_id_from': 5,
'node_id_to': 1,
'count': 10551,
'relative_frequency': 13.299,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 173545.0
},
{
'node_id_from': 5,
'node_id_to': 3,
'count': 31588,
'relative_frequency': 39.815,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 169737.0
},
{
'node_id_from': 5,
'node_id_to': 5,
'count': 24770,
'relative_frequency': 31.221,
'median_throughputtime_sec': 259200.0,
'mean_throughputtime_sec': 215958.0
},
{
'node_id_from': 5,
'node_id_to': 9,
'count': 12428,
'relative_frequency': 15.665,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 193677.0
},
{
'node_id_from': 9,
'node_id_to': 3,
'count': 12428,
'relative_frequency': 28.235,
'median_throughputtime_sec': 86400.0,
'mean_throughputtime_sec': 86400.0
},
{
'node_id_from': 9,
'node_id_to': 4,
'count': 31588,
'relative_frequency': 71.765,
'median_throughputtime_sec': 345600.0,
'mean_throughputtime_sec': 372446.0
},
{
'node_id_from': 10,
'node_id_to': 2,
'count': 40472,
'relative_frequency': 100.0,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 199240.0
},
{
'node_id_from': 8,
'node_id_to': 5,
'count': 54567,
'relative_frequency': 81.502,
'median_throughputtime_sec': 432000.0,
'mean_throughputtime_sec': 404058.0
},
{
'node_id_from': 8,
'node_id_to': 8,
'count': 12385,
'relative_frequency': 18.498,
'median_throughputtime_sec': 259200.0,
'mean_throughputtime_sec': 259200.0
},
{
'node_id_from': 1,
'node_id_to': 2,
'count': 10551,
'relative_frequency': 100.0,
'median_throughputtime_sec': 345600.0,
'mean_throughputtime_sec': 345600.0
},
{
'node_id_from': 3,
'node_id_to': 4,
'count': 12428,
'relative_frequency': 28.235,
'median_throughputtime_sec': 259200.0,
'mean_throughputtime_sec': 269962.0
},
{
'node_id_from': 3,
'node_id_to': 9,
'count': 31588,
'relative_frequency': 71.765,
'median_throughputtime_sec': 86400.0,
'mean_throughputtime_sec': 48200.0
},
{
'node_id_from': 6,
'node_id_to': 8,
'count': 54567,
'relative_frequency': 100.0,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 206212.0
},
{
'node_id_from': 11,
'node_id_to': 12,
'count': 3544,
'relative_frequency': 8.052,
'median_throughputtime_sec': null,
'mean_throughputtime_sec': null
},
{
'node_id_from': 11,
'node_id_to': 7,
'count': 24900,
'relative_frequency': 56.57,
'median_throughputtime_sec': 0.0,
'mean_throughputtime_sec': 37686.0
},
{
'node_id_from': 11,
'node_id_to': 10,
'count': 15572,
'relative_frequency': 35.378,
'median_throughputtime_sec': 86400.0,
'mean_throughputtime_sec': 95522.0
},
{
'node_id_from': 0,
'node_id_to': 6,
'count': 54567,
'relative_frequency': 100.0,
'median_throughputtime_sec': null,
'mean_throughputtime_sec': null
},
{
'node_id_from': 2,
'node_id_to': 12,
'count': 51023,
'relative_frequency': 100.0,
'median_throughputtime_sec': null,
'mean_throughputtime_sec': null
},
{
'node_id_from': 7,
'node_id_to': 10,
'count': 24900,
'relative_frequency': 61.524,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 204726.0
},
{
'node_id_from': 7,
'node_id_to': 11,
'count': 15572,
'relative_frequency': 38.476,
'median_throughputtime_sec': 86400.0,
'mean_throughputtime_sec': 129078.0
},
{
'node_id_from': 4,
'node_id_to': 7,
'count': 15572,
'relative_frequency': 35.378,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 165188.0
},
{
'node_id_from': 4,
'node_id_to': 11,
'count': 28444,
'relative_frequency': 64.622,
'median_throughputtime_sec': 172800.0,
'mean_throughputtime_sec': 187520.0
}
]
}
Expand Down

0 comments on commit 1cbfd52

Please sign in to comment.