-
Notifications
You must be signed in to change notification settings - Fork 1
/
database.html
5253 lines (5171 loc) · 705 KB
/
database.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cocoon: RAG for Data Warehouse Tables</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #333;
}
.highlight {
background: #272822;
color: #f8f8f2;
border-radius: 4px;
padding: 1em;
margin: 1em 0;
overflow-x: auto;
font-size: 12px;
}
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #49483e }
.highlight { background: #272822; color: #f8f8f2 }
.highlight .c { color: #959077 } /* Comment */
.highlight .err { color: #ed007e; background-color: #1e0010 } /* Error */
.highlight .esc { color: #f8f8f2 } /* Escape */
.highlight .g { color: #f8f8f2 } /* Generic */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #ff4689 } /* Operator */
.highlight .x { color: #f8f8f2 } /* Other */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #959077 } /* Comment.Hashbang */
.highlight .cm { color: #959077 } /* Comment.Multiline */
.highlight .cp { color: #959077 } /* Comment.Preproc */
.highlight .cpf { color: #959077 } /* Comment.PreprocFile */
.highlight .c1 { color: #959077 } /* Comment.Single */
.highlight .cs { color: #959077 } /* Comment.Special */
.highlight .gd { color: #ff4689 } /* Generic.Deleted */
.highlight .ge { color: #f8f8f2; font-style: italic } /* Generic.Emph */
.highlight .ges { color: #f8f8f2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #f8f8f2 } /* Generic.Error */
.highlight .gh { color: #f8f8f2 } /* Generic.Heading */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .go { color: #66d9ef } /* Generic.Output */
.highlight .gp { color: #ff4689; font-weight: bold } /* Generic.Prompt */
.highlight .gs { color: #f8f8f2; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #959077 } /* Generic.Subheading */
.highlight .gt { color: #f8f8f2 } /* Generic.Traceback */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #ff4689 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #ff4689 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #ff4689 } /* Operator.Word */
.highlight .pm { color: #f8f8f2 } /* Punctuation.Marker */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sa { color: #e6db74 } /* Literal.String.Affix */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #a6e22e } /* Name.Function.Magic */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
.tag {
display: inline-block;
padding: 0.25em 0.6em;
font-size: 75%;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.4rem;
margin-right: 0.5em; /* Adds space between tags */
}
table {
border: none;
border-collapse: collapse;
border-spacing: 0;
color: black;
font-size: 12px;
table-layout: fixed;
}
thead {
border-bottom: 1px solid black;
vertical-align: bottom;
}
tr, th, td {
text-align: right;
vertical-align: middle;
padding: 0.5em 0.5em;
line-height: normal;
white-space: normal;
max-width: none;
border: none;
}
th {
font-weight: bold;
}
tbody tr:nth-child(even) {
background: #f5f5f5;
}
tbody {
display: table-row-group;
vertical-align: middle;
unicode-bidi: isolate;
border-color: inherit;
}
tbody tr:hover {
background: rgba(66, 165, 245, 0.2);
}
.container {
max-width: 1200px;
padding: 40px 20px;
}
.search-form {
display: flex;
margin-bottom: 30px;
}
.search-input {
flex-grow: 1;
padding: 12px;
border: 2px solid #ddd;
border-radius: 4px 0 0 4px;
font-size: 16px;
}
.search-button {
background-color: #000;
color: white;
border: none;
padding: 12px 24px;
border-radius: 0 4px 4px 0;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s;
}
.search-button:hover {
background-color: #333;
}
.recommended {
margin-top: 30px;
}
.recommended a {
display: inline-block;
margin-right: 10px;
margin-bottom: 10px;
padding: 8px 16px;
border: 1px solid #ddd;
border-radius: 20px;
text-decoration: none;
color: #555;
font-size: 14px;
transition: all 0.3s;
}
.recommended a:hover {
background-color: #e9ecef;
color: #333;
}
.header {
margin-bottom: 40px;
}
.logo {
font-size: 24px;
font-weight: bold;
}
.subtitle {
font-size: 16px;
color: #6c757d;
}
.cocoon-info {
background-color: #e9ecef;
padding: 20px;
border-radius: 8px;
margin-bottom: 30px;
}
.video-container {
margin-top: 40px;
text-align: center;
}
.lineage-container {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-top: 30px;
}
</style>
</head>
<body class="bg-light">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="https://cocoon-data-transformation.github.io/page/">
Cocoon: RAG for Large Data Warehouses
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="https://cocoon-data-transformation.github.io/page/database">RAG Tables</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://cocoon-data-transformation.github.io/page/pipeline">RAG Pipelines</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://cocoon-data-transformation.github.io/page/integration">RAG Both</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="researchDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Other Features
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="researchDropdown">
<li><a class="dropdown-item" href="https://cocoon-data-transformation.github.io/page/profile">Profile</a></li>
<li><a class="dropdown-item" href="https://cocoon-data-transformation.github.io/page/clean">Clean</a></li>
<li><a class="dropdown-item" href="https://cocoon-data-transformation.github.io/page/standardize">Standardize</a></li>
<li><a class="dropdown-item" href="https://cocoon-data-transformation.github.io/page/lineage">Lineage</a></li>
<li><a class="dropdown-item" href="https://cocoon-data-transformation.github.io/page/model">Catalog</a></li>
<li><a class="dropdown-item" href="https://cocoon-data-transformation.github.io/page/transform">Transform</a></li>
<li><a class="dropdown-item" href="https://cocoon-data-transformation.github.io/page/genai">GenAI</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="container py-5">
<header class="text-center d-flex align-items-start justify-content-center mb-5">
<div class="bg-white rounded-circle p-2 me-3" style="width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; margin-top: -10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
<img src="https://raw.githubusercontent.com/Cocoon-Data-Transformation/cocoon/main/images/cocoon_icon.png" alt="cocoon icon" width="70">
</div>
<div class="col-lg-8">
<h1 class="fw-bold mb-2">
Cocoon: RAG for Large Data Warehouse
</h1>
<p class="lead mb-2">Cocoon prepares large data warehouse for RAG, enabling cursor-style chatbot functionality: </p>
<div class="recommended mt-1">
<a href="#" class="m-1 text-decoration-none text-center" title="Database Summary" onclick="document.getElementById('question').value='Give me a high-level summary of our database structure and main tables.'; document.querySelector('.search-form').scrollIntoView({behavior: 'smooth', block: 'center'}); return false;">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-database" viewBox="0 0 16 16">
<path d="M4.318 2.687C5.234 2.271 6.536 2 8 2s2.766.27 3.682.687C12.644 3.125 13 3.627 13 4c0 .374-.356.875-1.318 1.313C10.766 5.729 9.464 6 8 6s-2.766-.27-3.682-.687C3.356 4.875 3 4.373 3 4c0-.374.356-.875 1.318-1.313ZM13 5.698V7c0 .374-.356.875-1.318 1.313C10.766 8.729 9.464 9 8 9s-2.766-.27-3.682-.687C3.356 7.875 3 7.373 3 7V5.698c.271.202.58.378.904.525C4.978 6.711 6.427 7 8 7s3.022-.289 4.096-.777A4.92 4.92 0 0 0 13 5.698ZM14 4c0-1.007-.875-1.755-1.904-2.223C11.022 1.289 9.573 1 8 1s-3.022.289-4.096.777C2.875 2.245 2 2.993 2 4v9c0 1.007.875 1.755 1.904 2.223C4.978 15.71 6.427 16 8 16s3.022-.289 4.096-.777C13.125 14.755 14 14.007 14 13V4Zm-1 4.698V10c0 .374-.356.875-1.318 1.313C10.766 11.729 9.464 12 8 12s-2.766-.27-3.682-.687C3.356 10.875 3 10.373 3 10V8.698c.271.202.58.378.904.525C4.978 9.71 6.427 10 8 10s3.022-.289 4.096-.777A4.92 4.92 0 0 0 13 8.698Zm0 3V13c0 .374-.356.875-1.318 1.313C10.766 14.729 9.464 15 8 15s-2.766-.27-3.682-.687C3.356 13.875 3 13.373 3 13v-1.302c.271.202.58.378.904.525C4.978 12.71 6.427 13 8 13s3.022-.289 4.096-.777c.324-.147.633-.323.904-.525Z"/>
</svg>
<small>Database Summary</small>
</a>
<a href="#" class="m-1 text-decoration-none text-center" title="Data Discovery" onclick="document.getElementById('question').value='What information do we have about our customers in the database?'; document.querySelector('.search-form').scrollIntoView({behavior: 'smooth', block: 'center'}); return false;">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16">
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
</svg>
<small>Data Discovery</small>
</a>
<a href="#" class="m-1 text-decoration-none text-center" title="Churn Analysis" onclick="document.getElementById('question').value='What is our customer churn rate over the last 6 months, and what are the top reasons for churn?'; document.querySelector('.search-form').scrollIntoView({behavior: 'smooth', block: 'center'}); return false;">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-x" viewBox="0 0 16 16">
<path d="M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H1s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C9.516 10.68 8.289 10 6 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z"/>
<path fill-rule="evenodd" d="M12.146 5.146a.5.5 0 0 1 .708 0L14 6.293l1.146-1.147a.5.5 0 0 1 .708.708L14.707 7l1.147 1.146a.5.5 0 0 1-.708.708L14 7.707l-1.146 1.147a.5.5 0 0 1-.708-.708L13.293 7l-1.147-1.146a.5.5 0 0 1 0-.708z"/>
</svg>
<small>Data Analysis</small>
</a>
<a href="#" class="m-1 text-decoration-none text-center" title="Report Prototyping" onclick="document.getElementById('question').value='Create a monthly recurring revenue (MRR) report for the last 12 months, broken down by product tier.'; document.querySelector('.search-form').scrollIntoView({behavior: 'smooth', block: 'center'}); return false;">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-bar-graph" viewBox="0 0 16 16">
<path d="M10 13.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v6zm-2.5.5a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1zm-3 0a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-1z"/>
<path d="M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"/>
</svg>
<small>Report Prototyping</small>
</a>
</div>
</div>
</header>
<!-- Video and Notebook CTA Section -->
<section class="bg-white p-4 rounded shadow-sm mb-5">
<div class="row align-items-center">
<div class="col-lg-7 mb-4 mb-lg-0">
<div class="ratio ratio-16x9">
<iframe src="https://www.youtube.com/embed/xdmRXs0UnfE" allowfullscreen></iframe>
</div>
</div>
<div class="col-lg-5 text-center d-flex flex-column justify-content-center">
<h1 class="h3 mb-2">Get Started with Notebook</h1>
<p class="text-muted mb-4">The project is fully open-sourced. You can run Cocoon locally.</p>
<a href="https://colab.research.google.com/github/Cocoon-Data-Transformation/cocoon/blob/main/demo/Cocoon_Genai_Demo.ipynb" target="_blank" class="btn btn-primary btn-lg w-100 mb-3">Try Cocoon</a>
</div>
</div>
</section>
<!-- Live RAG Demo Section -->
<section class="bg-white p-4 rounded shadow-sm mb-5">
<h2 class="h1 mb-5 text-center">Live Demo: RAG Salesforce + Stripe Tables in 2 steps</h1>
<hr>
<div class="text-center mt-5 mb-4">
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="currentColor" class="bi bi-database-check" viewBox="0 0 16 16">
<path d="M12.5 16a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm1.679-4.493-1.335 2.226a.75.75 0 0 1-1.174.144l-.774-.773a.5.5 0 0 1 .708-.708l.547.548 1.17-1.951a.5.5 0 1 1 .858.514Z"/>
<path d="M12.096 6.223A4.92 4.92 0 0 0 13 5.698V7c0 .289-.213.654-.753 1.007a4.493 4.493 0 0 1 1.753.25V4c0-1.007-.875-1.755-1.904-2.223C11.022 1.289 9.573 1 8 1s-3.022.289-4.096.777C2.875 2.245 2 2.993 2 4v9c0 1.007.875 1.755 1.904 2.223C4.978 15.71 6.427 16 8 16c.536 0 1.058-.034 1.555-.097a4.525 4.525 0 0 1-.813-.927C8.5 14.992 8.252 15 8 15c-1.464 0-2.766-.27-3.682-.687C3.356 13.875 3 13.373 3 13v-1.302c.271.202.58.378.904.525C4.978 12.71 6.427 13 8 13h.027a4.552 4.552 0 0 1 0-1H8c-1.464 0-2.766-.27-3.682-.687C3.356 10.875 3 10.373 3 10V8.698c.271.202.58.378.904.525C4.978 9.71 6.427 10 8 10c.262 0 .52-.008.774-.024a4.525 4.525 0 0 1 1.102-1.132C9.298 8.944 8.666 9 8 9c-1.464 0-2.766-.27-3.682-.687C3.356 7.875 3 7.373 3 7V5.698c.271.202.58.378.904.525C4.978 6.711 6.427 7 8 7s3.022-.289 4.096-.777ZM3 4c0-.374.356-.875 1.318-1.313C5.234 2.271 6.536 2 8 2s2.766.27 3.682.687C12.644 3.125 13 3.627 13 4c0 .374-.356.875-1.318 1.313C10.766 5.729 9.464 6 8 6s-2.766-.27-3.682-.687C3.356 4.875 3 4.373 3 4Z"/>
</svg>
</div>
<h3 class="h3 mb-2 text-center">Step 1: Thoroughly Prepare RAG</h3>
<p class="text-muted text-center mb-4"><small>Instead of traditional Vector RAG, Cocoon builds novel RAG based on join relationships among tables.</small></p>
<!-- Preparation Section -->
<div class="mb-5">
<div class="card">
<div class="card-body">
<div class="dropdown mb-3">
<button class="btn btn-dark dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
Explore Table
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_0Content" aria-expanded="true" aria-controls="model_summary_all_0Content">Join Graph</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_1Content" aria-expanded="false" aria-controls="model_summary_all_1Content">1. stg_sf_user_role_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_2Content" aria-expanded="false" aria-controls="model_summary_all_2Content">2. stg_payout_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_3Content" aria-expanded="false" aria-controls="model_summary_all_3Content">3. stg_transfer_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_4Content" aria-expanded="false" aria-controls="model_summary_all_4Content">4. stg_refund_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_5Content" aria-expanded="false" aria-controls="model_summary_all_5Content">5. stg_fee_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_6Content" aria-expanded="false" aria-controls="model_summary_all_6Content">6. stg_balance_transaction_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_7Content" aria-expanded="false" aria-controls="model_summary_all_7Content">7. stg_dispute_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_8Content" aria-expanded="false" aria-controls="model_summary_all_8Content">8. stg_charge_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_9Content" aria-expanded="false" aria-controls="model_summary_all_9Content">9. stg_payment_intent_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_10Content" aria-expanded="false" aria-controls="model_summary_all_10Content">10. stg_payment_method_card_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_11Content" aria-expanded="false" aria-controls="model_summary_all_11Content">11. stg_card_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_12Content" aria-expanded="false" aria-controls="model_summary_all_12Content">12. stg_payment_method_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_13Content" aria-expanded="false" aria-controls="model_summary_all_13Content">13. stg_subscription_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_14Content" aria-expanded="false" aria-controls="model_summary_all_14Content">14. stg_plan_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_15Content" aria-expanded="false" aria-controls="model_summary_all_15Content">15. stg_price_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_16Content" aria-expanded="false" aria-controls="model_summary_all_16Content">16. stg_invoice_line_item_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_17Content" aria-expanded="false" aria-controls="model_summary_all_17Content">17. stg_invoice_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_18Content" aria-expanded="false" aria-controls="model_summary_all_18Content">18. stg_customer_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_19Content" aria-expanded="false" aria-controls="model_summary_all_19Content">19. stg_sf_lead_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_20Content" aria-expanded="false" aria-controls="model_summary_all_20Content">20. stg_sf_opportunity_history_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_21Content" aria-expanded="false" aria-controls="model_summary_all_21Content">21. snapshot_sf_account_history_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_22Content" aria-expanded="false" aria-controls="model_summary_all_22Content">22. stg_sf_task_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_23Content" aria-expanded="false" aria-controls="model_summary_all_23Content">23. snapshot_sf_contact_history_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_24Content" aria-expanded="false" aria-controls="model_summary_all_24Content">24. stg_sf_event_data</a></li><li><a class="dropdown-item" data-bs-toggle="collapse" data-bs-target="#model_summary_all_25Content" aria-expanded="false" aria-controls="model_summary_all_25Content">25. stg_sf_user_data</a></li>
</ul>
</div>
<div id="model_summary_all">
<div class="collapse show" id="model_summary_all_0Content" data-bs-parent="#model_summary_all">
<div style="overflow: auto; border: 1px solid #e0e0e0; border-radius: 12px; background-color: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); max-width: 100%;">
<div style="min-width: min-content; display: inline-block; padding: 16px;">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.43.0 (0)
-->
<!-- Title: %3 Pages: 1 -->
<svg width="880pt" height="610pt"
viewBox="0.00 0.00 880.00 610.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 606)">
<title>%3</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-606 876,-606 876,4 -4,4"/>
<!-- stg_fee_data_0 -->
<g id="node1" class="node">
<title>stg_fee_data_0</title>
<polygon fill="#ffffff" stroke="#000000" points="143.5,-602 90.5,-602 90.5,-580 143.5,-580 143.5,-602"/>
<text text-anchor="middle" x="117" y="-589.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_fee_data</text>
</g>
<!-- stg_balance_transaction_data_22 -->
<g id="node23" class="node">
<title>stg_balance_transaction_data_22</title>
<polygon fill="#ffffff" stroke="#000000" points="206.5,-544 83.5,-544 83.5,-522 206.5,-522 206.5,-544"/>
<text text-anchor="middle" x="145" y="-531.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_balance_transaction_data</text>
</g>
<!-- stg_fee_data_0->stg_balance_transaction_data_22 -->
<g id="edge18" class="edge">
<title>stg_fee_data_0->stg_balance_transaction_data_22</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M122.01,-579.99C126.21,-571.57 132.3,-559.4 137.16,-549.69"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="139.04,-550.61 139.85,-544.3 135.29,-548.73 139.04,-550.61"/>
</g>
<!-- stg_plan_data_1 -->
<g id="node2" class="node">
<title>stg_plan_data_1</title>
<polygon fill="#ffffff" stroke="#000000" points="746,-428 688,-428 688,-406 746,-406 746,-428"/>
<text text-anchor="middle" x="717" y="-415.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_plan_data</text>
</g>
<!-- stg_sf_user_data_2 -->
<g id="node3" class="node">
<title>stg_sf_user_data_2</title>
<polygon fill="#ffffff" stroke="#000000" points="610.5,-80 541.5,-80 541.5,-58 610.5,-58 610.5,-80"/>
<text text-anchor="middle" x="576" y="-67.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_sf_user_data</text>
</g>
<!-- stg_sf_user_data_2->stg_sf_user_data_2 -->
<g id="edge50" class="edge">
<title>stg_sf_user_data_2->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M610.59,-74.42C620.68,-74.23 628.5,-72.43 628.5,-69 628.5,-66.32 623.73,-64.63 616.83,-63.93"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="616.7,-61.82 610.59,-63.58 616.46,-66.02 616.7,-61.82"/>
</g>
<!-- stg_sf_user_data_2->stg_sf_user_data_2 -->
<g id="edge51" class="edge">
<title>stg_sf_user_data_2->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M610.82,-79.43C629.49,-81.2 646.5,-77.72 646.5,-69 646.5,-61.23 633.01,-57.62 616.87,-58.18"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="616.67,-56.09 610.82,-58.57 616.95,-60.28 616.67,-56.09"/>
</g>
<!-- stg_sf_user_role_data_14 -->
<g id="node15" class="node">
<title>stg_sf_user_role_data_14</title>
<polygon fill="#ffffff" stroke="#000000" points="620,-22 532,-22 532,0 620,0 620,-22"/>
<text text-anchor="middle" x="576" y="-9.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_sf_user_role_data</text>
</g>
<!-- stg_sf_user_data_2->stg_sf_user_role_data_14 -->
<g id="edge60" class="edge">
<title>stg_sf_user_data_2->stg_sf_user_role_data_14</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M570.68,-57.99C569.15,-49.81 568.84,-38.08 569.78,-28.51"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="571.9,-28.53 570.63,-22.3 567.74,-27.96 571.9,-28.53"/>
</g>
<!-- stg_payment_intent_data_3 -->
<g id="node4" class="node">
<title>stg_payment_intent_data_3</title>
<polygon fill="#ffffff" stroke="#000000" points="295.5,-428 192.5,-428 192.5,-406 295.5,-406 295.5,-428"/>
<text text-anchor="middle" x="244" y="-415.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_payment_intent_data</text>
</g>
<!-- stg_charge_data_10 -->
<g id="node11" class="node">
<title>stg_charge_data_10</title>
<polygon fill="#ffffff" stroke="#000000" points="278,-486 210,-486 210,-464 278,-464 278,-486"/>
<text text-anchor="middle" x="244" y="-473.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_charge_data</text>
</g>
<!-- stg_payment_intent_data_3->stg_charge_data_10 -->
<g id="edge4" class="edge">
<title>stg_payment_intent_data_3->stg_charge_data_10</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M249.37,-428.3C250.88,-436.57 251.15,-448.31 250.18,-457.83"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="248.07,-457.75 249.32,-463.99 252.23,-458.34 248.07,-457.75"/>
</g>
<!-- stg_customer_data_11 -->
<g id="node12" class="node">
<title>stg_customer_data_11</title>
<polygon fill="#ffffff" stroke="#000000" points="363,-312 285,-312 285,-290 363,-290 363,-312"/>
<text text-anchor="middle" x="324" y="-299.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_customer_data</text>
</g>
<!-- stg_payment_intent_data_3->stg_customer_data_11 -->
<g id="edge7" class="edge">
<title>stg_payment_intent_data_3->stg_customer_data_11</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M251.1,-405.88C265.18,-385.82 296.7,-340.9 313.3,-317.24"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="315.07,-318.38 316.8,-312.26 311.64,-315.96 315.07,-318.38"/>
</g>
<!-- stg_payment_method_data_23 -->
<g id="node24" class="node">
<title>stg_payment_method_data_23</title>
<polygon fill="#ffffff" stroke="#000000" points="501.5,-370 390.5,-370 390.5,-348 501.5,-348 501.5,-370"/>
<text text-anchor="middle" x="446" y="-357.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_payment_method_data</text>
</g>
<!-- stg_payment_intent_data_3->stg_payment_method_data_23 -->
<g id="edge21" class="edge">
<title>stg_payment_intent_data_3->stg_payment_method_data_23</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M280.11,-405.99C314.76,-396.38 367.08,-381.88 403.67,-371.73"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="404.64,-373.65 409.86,-370.02 403.52,-369.6 404.64,-373.65"/>
</g>
<!-- stg_invoice_line_item_data_4 -->
<g id="node5" class="node">
<title>stg_invoice_line_item_data_4</title>
<polygon fill="#ffffff" stroke="#000000" points="508.5,-486 399.5,-486 399.5,-464 508.5,-464 508.5,-486"/>
<text text-anchor="middle" x="454" y="-473.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_invoice_line_item_data</text>
</g>
<!-- stg_invoice_line_item_data_4->stg_plan_data_1 -->
<g id="edge59" class="edge">
<title>stg_invoice_line_item_data_4->stg_plan_data_1</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M507.37,-463.96C553.08,-455.15 620.57,-441.65 679,-428 680,-427.77 681.02,-427.52 682.05,-427.28"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="682.67,-429.29 688,-425.81 681.67,-425.21 682.67,-429.29"/>
</g>
<!-- stg_subscription_data_8 -->
<g id="node9" class="node">
<title>stg_subscription_data_8</title>
<polygon fill="#ffffff" stroke="#000000" points="442,-428 352,-428 352,-406 442,-406 442,-428"/>
<text text-anchor="middle" x="397" y="-415.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_subscription_data</text>
</g>
<!-- stg_invoice_line_item_data_4->stg_subscription_data_8 -->
<g id="edge26" class="edge">
<title>stg_invoice_line_item_data_4->stg_subscription_data_8</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M443.81,-463.99C434.92,-455.26 421.92,-442.48 411.87,-432.61"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="413.24,-431.01 407.49,-428.3 410.3,-434.01 413.24,-431.01"/>
</g>
<!-- stg_payment_method_card_data_5 -->
<g id="node6" class="node">
<title>stg_payment_method_card_data_5</title>
<polygon fill="#ffffff" stroke="#000000" points="669.5,-428 536.5,-428 536.5,-406 669.5,-406 669.5,-428"/>
<text text-anchor="middle" x="603" y="-415.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_payment_method_card_data</text>
</g>
<!-- stg_payment_method_card_data_5->stg_payment_method_data_23 -->
<g id="edge23" class="edge">
<title>stg_payment_method_card_data_5->stg_payment_method_data_23</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M574.93,-405.99C548.33,-396.5 508.34,-382.24 479.96,-372.11"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="480.45,-370.06 474.09,-370.02 479.04,-374.01 480.45,-370.06"/>
</g>
<!-- snapshot_sf_contact_history_data_6 -->
<g id="node7" class="node">
<title>snapshot_sf_contact_history_data_6</title>
<polygon fill="#ffffff" stroke="#000000" points="640.5,-196 501.5,-196 501.5,-174 640.5,-174 640.5,-196"/>
<text text-anchor="middle" x="571" y="-183.1" font-family="Segoe UI" font-size="8.00" fill="#000000">snapshot_sf_contact_history_data</text>
</g>
<!-- snapshot_sf_contact_history_data_6->stg_sf_user_data_2 -->
<g id="edge48" class="edge">
<title>snapshot_sf_contact_history_data_6->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M567.4,-173.88C564.97,-154.16 566.6,-110.4 570.36,-86.45"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="572.48,-86.54 571.48,-80.26 568.35,-85.79 572.48,-86.54"/>
</g>
<!-- snapshot_sf_contact_history_data_6->stg_sf_user_data_2 -->
<g id="edge49" class="edge">
<title>snapshot_sf_contact_history_data_6->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M575.49,-173.88C579.64,-154.16 581.85,-110.4 580.19,-86.45"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="582.26,-86.04 579.62,-80.26 578.08,-86.43 582.26,-86.04"/>
</g>
<!-- snapshot_sf_contact_history_data_6->snapshot_sf_contact_history_data_6 -->
<g id="edge56" class="edge">
<title>snapshot_sf_contact_history_data_6->snapshot_sf_contact_history_data_6</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M640.67,-189.96C651.29,-189.2 658.5,-187.55 658.5,-185 658.5,-182.97 653.92,-181.51 646.69,-180.61"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="646.84,-178.52 640.67,-180.04 646.45,-182.7 646.84,-178.52"/>
</g>
<!-- snapshot_sf_contact_history_data_6->snapshot_sf_contact_history_data_6 -->
<g id="edge57" class="edge">
<title>snapshot_sf_contact_history_data_6->snapshot_sf_contact_history_data_6</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M640.5,-195.84C660.79,-195.47 676.5,-191.85 676.5,-185 676.5,-178.84 663.82,-175.3 646.53,-174.37"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="646.57,-172.27 640.5,-174.16 646.42,-176.47 646.57,-172.27"/>
</g>
<!-- snapshot_sf_account_history_data_9 -->
<g id="node10" class="node">
<title>snapshot_sf_account_history_data_9</title>
<polygon fill="#ffffff" stroke="#000000" points="538.5,-138 397.5,-138 397.5,-116 538.5,-116 538.5,-138"/>
<text text-anchor="middle" x="468" y="-125.1" font-family="Segoe UI" font-size="8.00" fill="#000000">snapshot_sf_account_history_data</text>
</g>
<!-- snapshot_sf_contact_history_data_6->snapshot_sf_account_history_data_9 -->
<g id="edge36" class="edge">
<title>snapshot_sf_contact_history_data_6->snapshot_sf_account_history_data_9</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M552.59,-173.99C535.7,-164.81 510.59,-151.15 492.11,-141.11"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="492.88,-139.13 486.6,-138.11 490.87,-142.82 492.88,-139.13"/>
</g>
<!-- stg_refund_data_7 -->
<g id="node8" class="node">
<title>stg_refund_data_7</title>
<polygon fill="#ffffff" stroke="#000000" points="228.5,-602 161.5,-602 161.5,-580 228.5,-580 228.5,-602"/>
<text text-anchor="middle" x="195" y="-589.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_refund_data</text>
</g>
<!-- stg_refund_data_7->stg_charge_data_10 -->
<g id="edge5" class="edge">
<title>stg_refund_data_7->stg_charge_data_10</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M199.47,-579.78C203.54,-570.46 209.7,-556.32 215,-544 222.66,-526.21 231.36,-505.77 237.22,-491.98"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="239.29,-492.49 239.7,-486.15 235.42,-490.85 239.29,-492.49"/>
</g>
<!-- stg_refund_data_7->stg_balance_transaction_data_22 -->
<g id="edge13" class="edge">
<title>stg_refund_data_7->stg_balance_transaction_data_22</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M180.75,-579.99C171.48,-571.42 160.09,-558.94 152.45,-549.15"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="154.1,-547.85 148.83,-544.3 150.74,-550.37 154.1,-547.85"/>
</g>
<!-- stg_refund_data_7->stg_balance_transaction_data_22 -->
<g id="edge14" class="edge">
<title>stg_refund_data_7->stg_balance_transaction_data_22</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M191.38,-579.99C185.22,-571.26 174.05,-558.48 164.06,-548.61"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="165.35,-546.94 159.57,-544.3 162.44,-549.97 165.35,-546.94"/>
</g>
<!-- stg_subscription_data_8->stg_customer_data_11 -->
<g id="edge9" class="edge">
<title>stg_subscription_data_8->stg_customer_data_11</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M390.52,-405.88C377.73,-385.91 349.15,-341.28 333.95,-317.54"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="335.57,-316.18 330.57,-312.26 332.04,-318.44 335.57,-316.18"/>
</g>
<!-- stg_subscription_data_8->stg_payment_method_data_23 -->
<g id="edge24" class="edge">
<title>stg_subscription_data_8->stg_payment_method_data_23</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M405.76,-405.99C413.33,-397.34 424.38,-384.71 432.98,-374.88"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="434.61,-376.2 436.98,-370.3 431.45,-373.44 434.61,-376.2"/>
</g>
<!-- snapshot_sf_account_history_data_9->stg_sf_user_data_2 -->
<g id="edge41" class="edge">
<title>snapshot_sf_account_history_data_9->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M487.31,-115.99C505.01,-106.81 531.35,-93.15 550.72,-83.11"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="552.13,-84.74 556.49,-80.11 550.2,-81.01 552.13,-84.74"/>
</g>
<!-- stg_charge_data_10->stg_payment_intent_data_3 -->
<g id="edge11" class="edge">
<title>stg_charge_data_10->stg_payment_intent_data_3</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M238.68,-463.99C237.15,-455.81 236.84,-444.08 237.78,-434.51"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="239.9,-434.53 238.63,-428.3 235.74,-433.96 239.9,-434.53"/>
</g>
<!-- stg_charge_data_10->stg_customer_data_11 -->
<g id="edge6" class="edge">
<title>stg_charge_data_10->stg_customer_data_11</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M223.07,-463.85C201.01,-451.64 170.99,-429.78 183,-406 205.81,-360.83 258.53,-330.44 292.64,-314.71"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="293.76,-316.5 298.37,-312.12 292.03,-312.68 293.76,-316.5"/>
</g>
<!-- stg_sf_lead_data_12 -->
<g id="node13" class="node">
<title>stg_sf_lead_data_12</title>
<polygon fill="#ffffff" stroke="#000000" points="358.5,-254 289.5,-254 289.5,-232 358.5,-232 358.5,-254"/>
<text text-anchor="middle" x="324" y="-241.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_sf_lead_data</text>
</g>
<!-- stg_customer_data_11->stg_sf_lead_data_12 -->
<g id="edge27" class="edge">
<title>stg_customer_data_11->stg_sf_lead_data_12</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M324,-289.99C324,-281.81 324,-270.08 324,-260.51"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="326.1,-260.3 324,-254.3 321.9,-260.3 326.1,-260.3"/>
</g>
<!-- stg_sf_lead_data_12->stg_sf_user_data_2 -->
<g id="edge37" class="edge">
<title>stg_sf_lead_data_12->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M289.22,-233.66C256.43,-222.23 216.37,-200.13 232,-174 259.96,-127.24 288.83,-134.7 340,-116 405.33,-92.12 486.43,-79.1 535.16,-73.45"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="535.5,-75.53 541.23,-72.77 535.03,-71.36 535.5,-75.53"/>
</g>
<!-- stg_sf_lead_data_12->stg_sf_user_data_2 -->
<g id="edge38" class="edge">
<title>stg_sf_lead_data_12->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M297.48,-231.91C270.66,-220.07 235.13,-198.86 250,-174 277.96,-127.24 306.83,-134.7 358,-116 417.68,-94.19 490.53,-81.43 535.08,-75.08"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="535.52,-77.14 541.17,-74.23 534.94,-72.98 535.52,-77.14"/>
</g>
<!-- stg_sf_lead_data_12->stg_sf_user_data_2 -->
<g id="edge39" class="edge">
<title>stg_sf_lead_data_12->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M310.57,-231.91C288.66,-220.07 253.13,-198.86 268,-174 295.96,-127.24 324.83,-134.7 376,-116 429.67,-96.38 494,-84.09 535.35,-77.2"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="535.7,-79.27 541.28,-76.22 535.02,-75.12 535.7,-79.27"/>
</g>
<!-- stg_sf_lead_data_12->snapshot_sf_contact_history_data_6 -->
<g id="edge53" class="edge">
<title>stg_sf_lead_data_12->snapshot_sf_contact_history_data_6</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M358.6,-234.15C400.75,-224.6 472.27,-208.38 520.55,-197.44"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="521.23,-199.44 526.61,-196.06 520.3,-195.34 521.23,-199.44"/>
</g>
<!-- stg_sf_lead_data_12->snapshot_sf_account_history_data_9 -->
<g id="edge31" class="edge">
<title>stg_sf_lead_data_12->snapshot_sf_account_history_data_9</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M335.44,-231.88C349.09,-223.19 371.24,-209.88 389,-196 410.41,-179.26 432.47,-156.8 448.18,-142.36"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="449.79,-143.73 452.84,-138.15 446.98,-140.62 449.79,-143.73"/>
</g>
<!-- stg_sf_lead_data_12->snapshot_sf_account_history_data_9 -->
<g id="edge32" class="edge">
<title>stg_sf_lead_data_12->snapshot_sf_account_history_data_9</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M349.9,-231.88C367.09,-223.19 389.24,-209.88 407,-196 427.92,-179.64 449.47,-157.82 460.96,-143.36"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="462.78,-144.44 464.72,-138.39 459.43,-141.91 462.78,-144.44"/>
</g>
<!-- stg_sf_opportunity_history_data_16 -->
<g id="node17" class="node">
<title>stg_sf_opportunity_history_data_16</title>
<polygon fill="#ffffff" stroke="#000000" points="389,-196 259,-196 259,-174 389,-174 389,-196"/>
<text text-anchor="middle" x="324" y="-183.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_sf_opportunity_history_data</text>
</g>
<!-- stg_sf_lead_data_12->stg_sf_opportunity_history_data_16 -->
<g id="edge58" class="edge">
<title>stg_sf_lead_data_12->stg_sf_opportunity_history_data_16</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M318.68,-231.99C317.15,-223.81 316.84,-212.08 317.78,-202.51"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="319.9,-202.53 318.63,-196.3 315.74,-201.96 319.9,-202.53"/>
</g>
<!-- stg_invoice_data_13 -->
<g id="node14" class="node">
<title>stg_invoice_data_13</title>
<polygon fill="#ffffff" stroke="#000000" points="405.5,-544 336.5,-544 336.5,-522 405.5,-522 405.5,-544"/>
<text text-anchor="middle" x="371" y="-531.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_invoice_data</text>
</g>
<!-- stg_invoice_data_13->stg_invoice_line_item_data_4 -->
<g id="edge29" class="edge">
<title>stg_invoice_data_13->stg_invoice_line_item_data_4</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M385.84,-521.99C399.21,-512.97 418.99,-499.62 433.8,-489.63"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="435.21,-491.21 439.01,-486.11 432.86,-487.73 435.21,-491.21"/>
</g>
<!-- stg_invoice_data_13->stg_subscription_data_8 -->
<g id="edge25" class="edge">
<title>stg_invoice_data_13->stg_subscription_data_8</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M373.31,-521.88C377.83,-502.07 387.87,-458.03 393.32,-434.15"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="395.37,-434.57 394.66,-428.26 391.28,-433.64 395.37,-434.57"/>
</g>
<!-- stg_invoice_data_13->stg_customer_data_11 -->
<g id="edge10" class="edge">
<title>stg_invoice_data_13->stg_customer_data_11</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M367.83,-521.76C362.18,-503.22 350.28,-462.77 343,-428 334.84,-389.01 328.76,-342.53 325.87,-318.39"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="327.93,-317.91 325.14,-312.2 323.76,-318.4 327.93,-317.91"/>
</g>
<!-- stg_sf_user_role_data_14->stg_sf_user_data_2 -->
<g id="edge52" class="edge">
<title>stg_sf_user_role_data_14->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M581.37,-22.3C582.88,-30.57 583.15,-42.31 582.18,-51.83"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="580.07,-51.75 581.32,-57.99 584.23,-52.34 580.07,-51.75"/>
</g>
<!-- stg_sf_user_role_data_14->stg_sf_user_role_data_14 -->
<g id="edge61" class="edge">
<title>stg_sf_user_role_data_14->stg_sf_user_role_data_14</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M620.02,-21.66C630.37,-20.78 638,-17.23 638,-11 638,-6.13 633.34,-2.9 626.37,-1.3"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="626.27,0.84 620.02,-0.34 625.64,-3.31 626.27,0.84"/>
</g>
<!-- stg_payout_data_15 -->
<g id="node16" class="node">
<title>stg_payout_data_15</title>
<polygon fill="#ffffff" stroke="#000000" points="179,-486 111,-486 111,-464 179,-464 179,-486"/>
<text text-anchor="middle" x="145" y="-473.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_payout_data</text>
</g>
<!-- stg_payout_data_15->stg_balance_transaction_data_22 -->
<g id="edge15" class="edge">
<title>stg_payout_data_15->stg_balance_transaction_data_22</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M145,-486.3C145,-494.57 145,-506.31 145,-515.83"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="142.9,-515.99 145,-521.99 147.1,-515.99 142.9,-515.99"/>
</g>
<!-- stg_payout_data_15->stg_balance_transaction_data_22 -->
<g id="edge16" class="edge">
<title>stg_payout_data_15->stg_balance_transaction_data_22</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M155.74,-486.3C158.79,-494.65 159.31,-506.54 157.31,-516.1"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="155.26,-515.64 155.63,-521.99 159.3,-516.79 155.26,-515.64"/>
</g>
<!-- stg_sf_opportunity_history_data_16->stg_sf_user_data_2 -->
<g id="edge40" class="edge">
<title>stg_sf_opportunity_history_data_16->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M330.7,-173.97C341.27,-158.98 363.27,-130.89 389,-116 434.87,-89.46 495.64,-78.15 535.26,-73.38"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="535.71,-75.45 541.43,-72.67 535.23,-71.27 535.71,-75.45"/>
</g>
<!-- stg_sf_opportunity_history_data_16->snapshot_sf_account_history_data_9 -->
<g id="edge33" class="edge">
<title>stg_sf_opportunity_history_data_16->snapshot_sf_account_history_data_9</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M349.74,-173.99C373.96,-164.57 410.29,-150.44 436.28,-140.33"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="437.16,-142.25 441.99,-138.11 435.64,-138.33 437.16,-142.25"/>
</g>
<!-- stg_sf_opportunity_history_data_16->stg_sf_lead_data_12 -->
<g id="edge28" class="edge">
<title>stg_sf_opportunity_history_data_16->stg_sf_lead_data_12</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M329.37,-196.3C330.88,-204.57 331.15,-216.31 330.18,-225.83"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="328.07,-225.75 329.32,-231.99 332.23,-226.34 328.07,-225.75"/>
</g>
<!-- stg_sf_task_data_17 -->
<g id="node18" class="node">
<title>stg_sf_task_data_17</title>
<polygon fill="#ffffff" stroke="#000000" points="780,-254 712,-254 712,-232 780,-232 780,-254"/>
<text text-anchor="middle" x="746" y="-241.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_sf_task_data</text>
</g>
<!-- stg_sf_task_data_17->stg_sf_user_data_2 -->
<g id="edge45" class="edge">
<title>stg_sf_task_data_17->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M725.28,-231.84C708.15,-218.32 687.14,-193.81 668,-174 636.15,-141.03 596.64,-104.71 580.38,-84.91"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="581.93,-83.48 576.6,-80.01 578.61,-86.05 581.93,-83.48"/>
</g>
<!-- stg_sf_task_data_17->stg_sf_user_data_2 -->
<g id="edge46" class="edge">
<title>stg_sf_task_data_17->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M737.33,-231.6C725.91,-218.04 705.04,-193.7 686,-174 653.74,-140.61 613.63,-103.79 591.86,-84.16"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="593.11,-82.46 587.25,-80.01 590.3,-85.59 593.11,-82.46"/>
</g>
<!-- stg_sf_task_data_17->stg_sf_user_data_2 -->
<g id="edge47" class="edge">
<title>stg_sf_task_data_17->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M749.68,-231.6C743.91,-218.04 723.04,-193.7 704,-174 671.34,-140.19 630.62,-102.86 602.9,-83.43"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="604.03,-81.65 597.89,-80.01 601.67,-85.12 604.03,-81.65"/>
</g>
<!-- stg_sf_task_data_17->snapshot_sf_contact_history_data_6 -->
<g id="edge55" class="edge">
<title>stg_sf_task_data_17->snapshot_sf_contact_history_data_6</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M714.71,-231.99C684.82,-222.42 639.74,-208 608.06,-197.86"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="608.66,-195.85 602.31,-196.02 607.38,-199.85 608.66,-195.85"/>
</g>
<!-- stg_sf_task_data_17->snapshot_sf_account_history_data_9 -->
<g id="edge35" class="edge">
<title>stg_sf_task_data_17->snapshot_sf_account_history_data_9</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M711.66,-239.92C650.4,-235.54 525.63,-223.44 493,-196 477.67,-183.11 471.74,-159.94 469.44,-144.27"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="471.5,-143.76 468.67,-138.07 467.33,-144.28 471.5,-143.76"/>
</g>
<!-- stg_card_data_18 -->
<g id="node19" class="node">
<title>stg_card_data_18</title>
<polygon fill="#ffffff" stroke="#000000" points="518,-428 460,-428 460,-406 518,-406 518,-428"/>
<text text-anchor="middle" x="489" y="-415.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_card_data</text>
</g>
<!-- stg_card_data_18->stg_payment_method_data_23 -->
<g id="edge22" class="edge">
<title>stg_card_data_18->stg_payment_method_data_23</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M481.31,-405.99C474.73,-397.42 465.15,-384.94 457.63,-375.15"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="459.23,-373.78 453.91,-370.3 455.9,-376.34 459.23,-373.78"/>
</g>
<!-- stg_sf_event_data_19 -->
<g id="node20" class="node">
<title>stg_sf_event_data_19</title>
<polygon fill="#ffffff" stroke="#000000" points="872,-254 798,-254 798,-232 872,-232 872,-254"/>
<text text-anchor="middle" x="835" y="-241.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_sf_event_data</text>
</g>
<!-- stg_sf_event_data_19->stg_sf_user_data_2 -->
<g id="edge42" class="edge">
<title>stg_sf_event_data_19->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M813.8,-231.85C778.9,-209.29 712.37,-153.99 651,-116 630.81,-103.5 606.76,-91.68 590.63,-83.15"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="591.34,-81.15 585.07,-80.16 589.36,-84.85 591.34,-81.15"/>
</g>
<!-- stg_sf_event_data_19->stg_sf_user_data_2 -->
<g id="edge43" class="edge">
<title>stg_sf_event_data_19->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M823.08,-231.68C796.57,-209.01 730.22,-153.9 669,-116 648.46,-103.28 623.91,-91.27 605.2,-82.7"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="605.92,-80.73 599.59,-80.16 604.19,-84.55 605.92,-80.73"/>
</g>
<!-- stg_sf_event_data_19->stg_sf_user_data_2 -->
<g id="edge44" class="edge">
<title>stg_sf_event_data_19->stg_sf_user_data_2</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M832.63,-231.68C814.57,-209.01 748.22,-153.9 687,-116 665.21,-102.51 638.91,-89.81 616.76,-81.18"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="617.28,-79.13 610.92,-78.97 615.79,-83.06 617.28,-79.13"/>
</g>
<!-- stg_sf_event_data_19->snapshot_sf_contact_history_data_6 -->
<g id="edge54" class="edge">
<title>stg_sf_event_data_19->snapshot_sf_contact_history_data_6</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M797.85,-233.9C794.85,-233.26 791.88,-232.62 789,-232 733.19,-220.05 669.29,-206.59 625.17,-197.33"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="625.38,-195.23 619.08,-196.06 624.52,-199.34 625.38,-195.23"/>
</g>
<!-- stg_sf_event_data_19->snapshot_sf_account_history_data_9 -->
<g id="edge34" class="edge">
<title>stg_sf_event_data_19->snapshot_sf_account_history_data_9</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M816.26,-231.81C788.53,-217.12 734.62,-190.01 686,-174 638.28,-158.29 582.86,-146.68 539.84,-139.05"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="540.13,-136.97 533.86,-138 539.4,-141.11 540.13,-136.97"/>
</g>
<!-- stg_transfer_data_20 -->
<g id="node21" class="node">
<title>stg_transfer_data_20</title>
<polygon fill="#ffffff" stroke="#000000" points="72,-602 0,-602 0,-580 72,-580 72,-602"/>
<text text-anchor="middle" x="36" y="-589.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_transfer_data</text>
</g>
<!-- stg_transfer_data_20->stg_payout_data_15 -->
<g id="edge20" class="edge">
<title>stg_transfer_data_20->stg_payout_data_15</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M39.85,-579.8C45.6,-565.58 57.54,-539.57 74,-522 86.68,-508.47 104.12,-497.1 118.54,-489.04"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="119.84,-490.73 124.1,-486.02 117.83,-487.04 119.84,-490.73"/>
</g>
<!-- stg_transfer_data_20->stg_balance_transaction_data_22 -->
<g id="edge17" class="edge">
<title>stg_transfer_data_20->stg_balance_transaction_data_22</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M55.49,-579.99C73.43,-570.77 100.16,-557.04 119.74,-546.98"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="120.94,-548.72 125.31,-544.11 119.02,-544.99 120.94,-548.72"/>
</g>
<!-- stg_dispute_data_21 -->
<g id="node22" class="node">
<title>stg_dispute_data_21</title>
<polygon fill="#ffffff" stroke="#000000" points="317,-602 247,-602 247,-580 317,-580 317,-602"/>
<text text-anchor="middle" x="282" y="-589.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_dispute_data</text>
</g>
<!-- stg_dispute_data_21->stg_charge_data_10 -->
<g id="edge2" class="edge">
<title>stg_dispute_data_21->stg_charge_data_10</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M274.58,-579.88C264.72,-560.16 249.84,-516.4 244.57,-492.45"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="246.57,-491.74 243.35,-486.26 242.45,-492.55 246.57,-491.74"/>
</g>
<!-- stg_dispute_data_21->stg_charge_data_10 -->
<g id="edge3" class="edge">
<title>stg_dispute_data_21->stg_charge_data_10</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M282.67,-579.88C279.36,-559.99 264.85,-515.65 254.12,-491.84"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="255.95,-490.79 251.49,-486.26 252.15,-492.58 255.95,-490.79"/>
</g>
<!-- stg_dispute_data_21->stg_balance_transaction_data_22 -->
<g id="edge12" class="edge">
<title>stg_dispute_data_21->stg_balance_transaction_data_22</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M257.51,-579.99C234.56,-570.61 200.2,-556.56 175.49,-546.46"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="176.09,-544.44 169.74,-544.11 174.5,-548.33 176.09,-544.44"/>
</g>
<!-- stg_balance_transaction_data_22->stg_charge_data_10 -->
<g id="edge1" class="edge">
<title>stg_balance_transaction_data_22->stg_charge_data_10</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M162.7,-521.99C178.93,-512.81 203.07,-499.15 220.83,-489.11"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="221.93,-490.9 226.12,-486.11 219.86,-487.24 221.93,-490.9"/>
</g>
<!-- stg_balance_transaction_data_22->stg_payout_data_15 -->
<g id="edge19" class="edge">
<title>stg_balance_transaction_data_22->stg_payout_data_15</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M134.37,-521.99C131.26,-513.73 130.68,-501.85 132.62,-492.24"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="134.69,-492.65 134.26,-486.3 130.64,-491.53 134.69,-492.65"/>
</g>
<!-- stg_payment_method_data_23->stg_customer_data_11 -->
<g id="edge8" class="edge">
<title>stg_payment_method_data_23->stg_customer_data_11</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M424.19,-347.99C403.93,-338.69 373.67,-324.8 351.71,-314.72"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="352.36,-312.71 346.03,-312.11 350.61,-316.53 352.36,-312.71"/>
</g>
<!-- stg_price_data_24 -->
<g id="node25" class="node">
<title>stg_price_data_24</title>
<polygon fill="#ffffff" stroke="#000000" points="484,-544 424,-544 424,-522 484,-522 484,-544"/>
<text text-anchor="middle" x="454" y="-531.1" font-family="Segoe UI" font-size="8.00" fill="#000000">stg_price_data</text>
</g>
<!-- stg_price_data_24->stg_invoice_line_item_data_4 -->
<g id="edge30" class="edge">
<title>stg_price_data_24->stg_invoice_line_item_data_4</title>
<path fill="none" stroke="#000000" stroke-width="0.6" d="M454,-521.99C454,-513.81 454,-502.08 454,-492.51"/>
<polygon fill="#000000" stroke="#000000" stroke-width="0.6" points="456.1,-492.3 454,-486.3 451.9,-492.3 456.1,-492.3"/>
</g>
</g>
</svg>
</div>
</div>
</div>
<div class="collapse" id="model_summary_all_1Content" data-bs-parent="#model_summary_all">
<h5>1. stg_sf_user_role_data</h5><small class="text-muted mb-3">Table catalog prepared by Cocoon</small><div class="highlight"><pre><span></span><span class="nt">version</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">2</span>
<span class="nt">models</span><span class="p">:</span>
<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">stg_sf_user_role_data</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">The table is about user roles in a system. It contains details like</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">role name, developer name, access levels for different objects (case, contact,</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">opportunity), forecast permissions, parent role, and portal type. Each role has</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">a unique ID and additional flags for deletion and activity status. The table likely</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">represents a hierarchical structure of user roles with varying permissions.</span>
<span class="w"> </span><span class="nt">columns</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">is_deleted</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Indicates if the role has been deleted</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">case_access_level</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Access level for case objects for account owners</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">accepted_values</span><span class="p">:</span>
<span class="w"> </span><span class="nt">values</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">No Access</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Read Only</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Read/Write</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Full Access</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">fc4SIASWnVauLgJFy3VNNQ==</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">contact_access_level</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Access level for contact objects for account owners</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">accepted_values</span><span class="p">:</span>
<span class="w"> </span><span class="nt">values</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">No Access</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Read Only</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Read/Write</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Full Access</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Custom</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">fc4SIASWnVauLgJFy3VNNQ==</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">developer_name</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Unique identifier for developers to reference the role</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">unique</span>
<span class="w"> </span><span class="nt">cocoon_meta</span><span class="p">:</span>
<span class="w"> </span><span class="nt">unique_reason</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">This column represents a unique identifier for developers to</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">reference the role. For this table, each row represents a unique user role.</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">The developer_name appears to be unique across rows in the sample data.</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">role_id</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Unique identifier for the role</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">unique</span>
<span class="w"> </span><span class="nt">cocoon_meta</span><span class="p">:</span>
<span class="w"> </span><span class="nt">unique_reason</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">This column represents a unique identifier for the role. For</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">this table, each row represents a unique user role. The role_id appears to</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">be unique across rows in the sample data and is likely intended to be the</span>
<span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">primary key for this table.</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">can_manager_share_forecast</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Indicates if manager can share forecasts</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">role_name</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Name of the role</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">opportunity_access_level</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Access level for opportunity objects for account owners</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">accepted_values</span><span class="p">:</span>
<span class="w"> </span><span class="nt">values</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">No Access</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Read Only</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Read/Write</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Full Access</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">fc4SIASWnVauLgJFy3VNNQ==</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">parent_role_id</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">ID of the parent role in hierarchy</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">portal_type</span>
<span class="w"> </span><span class="nt">description</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Type of portal associated with the role</span>
<span class="w"> </span><span class="nt">tests</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">not_null</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">accepted_values</span><span class="p">:</span>
<span class="w"> </span><span class="nt">values</span><span class="p">:</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Customer</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Employee</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Partner</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Vendor</span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Supplier</span>