-
Notifications
You must be signed in to change notification settings - Fork 0
/
knowledge_graph.html
857 lines (657 loc) · 84.7 KB
/
knowledge_graph.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
<html>
<head>
<meta charset="utf-8">
<script>function neighbourhoodHighlight(params) {
// console.log("in nieghbourhoodhighlight");
allNodes = nodes.get({ returnType: "Object" });
// originalNodes = JSON.parse(JSON.stringify(allNodes));
// if something is selected:
if (params.nodes.length > 0) {
highlightActive = true;
var i, j;
var selectedNode = params.nodes[0];
var degrees = 2;
// mark all nodes as hard to read.
for (let nodeId in allNodes) {
// nodeColors[nodeId] = allNodes[nodeId].color;
allNodes[nodeId].color = "rgba(200,200,200,0.5)";
if (allNodes[nodeId].hiddenLabel === undefined) {
allNodes[nodeId].hiddenLabel = allNodes[nodeId].label;
allNodes[nodeId].label = undefined;
}
}
var connectedNodes = network.getConnectedNodes(selectedNode);
var allConnectedNodes = [];
// get the second degree nodes
for (i = 1; i < degrees; i++) {
for (j = 0; j < connectedNodes.length; j++) {
allConnectedNodes = allConnectedNodes.concat(
network.getConnectedNodes(connectedNodes[j])
);
}
}
// all second degree nodes get a different color and their label back
for (i = 0; i < allConnectedNodes.length; i++) {
// allNodes[allConnectedNodes[i]].color = "pink";
allNodes[allConnectedNodes[i]].color = "rgba(150,150,150,0.75)";
if (allNodes[allConnectedNodes[i]].hiddenLabel !== undefined) {
allNodes[allConnectedNodes[i]].label =
allNodes[allConnectedNodes[i]].hiddenLabel;
allNodes[allConnectedNodes[i]].hiddenLabel = undefined;
}
}
// all first degree nodes get their own color and their label back
for (i = 0; i < connectedNodes.length; i++) {
// allNodes[connectedNodes[i]].color = undefined;
allNodes[connectedNodes[i]].color = nodeColors[connectedNodes[i]];
if (allNodes[connectedNodes[i]].hiddenLabel !== undefined) {
allNodes[connectedNodes[i]].label =
allNodes[connectedNodes[i]].hiddenLabel;
allNodes[connectedNodes[i]].hiddenLabel = undefined;
}
}
// the main node gets its own color and its label back.
// allNodes[selectedNode].color = undefined;
allNodes[selectedNode].color = nodeColors[selectedNode];
if (allNodes[selectedNode].hiddenLabel !== undefined) {
allNodes[selectedNode].label = allNodes[selectedNode].hiddenLabel;
allNodes[selectedNode].hiddenLabel = undefined;
}
} else if (highlightActive === true) {
// console.log("highlightActive was true");
// reset all nodes
for (let nodeId in allNodes) {
// allNodes[nodeId].color = "purple";
allNodes[nodeId].color = nodeColors[nodeId];
// delete allNodes[nodeId].color;
if (allNodes[nodeId].hiddenLabel !== undefined) {
allNodes[nodeId].label = allNodes[nodeId].hiddenLabel;
allNodes[nodeId].hiddenLabel = undefined;
}
}
highlightActive = false;
}
// transform the object into an array
var updateArray = [];
if (params.nodes.length > 0) {
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
// console.log(allNodes[nodeId]);
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
} else {
// console.log("Nothing was selected");
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
// console.log(allNodes[nodeId]);
// allNodes[nodeId].color = {};
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
}
}
function filterHighlight(params) {
allNodes = nodes.get({ returnType: "Object" });
// if something is selected:
if (params.nodes.length > 0) {
filterActive = true;
let selectedNodes = params.nodes;
// hiding all nodes and saving the label
for (let nodeId in allNodes) {
allNodes[nodeId].hidden = true;
if (allNodes[nodeId].savedLabel === undefined) {
allNodes[nodeId].savedLabel = allNodes[nodeId].label;
allNodes[nodeId].label = undefined;
}
}
for (let i=0; i < selectedNodes.length; i++) {
allNodes[selectedNodes[i]].hidden = false;
if (allNodes[selectedNodes[i]].savedLabel !== undefined) {
allNodes[selectedNodes[i]].label = allNodes[selectedNodes[i]].savedLabel;
allNodes[selectedNodes[i]].savedLabel = undefined;
}
}
} else if (filterActive === true) {
// reset all nodes
for (let nodeId in allNodes) {
allNodes[nodeId].hidden = false;
if (allNodes[nodeId].savedLabel !== undefined) {
allNodes[nodeId].label = allNodes[nodeId].savedLabel;
allNodes[nodeId].savedLabel = undefined;
}
}
filterActive = false;
}
// transform the object into an array
var updateArray = [];
if (params.nodes.length > 0) {
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
} else {
for (let nodeId in allNodes) {
if (allNodes.hasOwnProperty(nodeId)) {
updateArray.push(allNodes[nodeId]);
}
}
nodes.update(updateArray);
}
}
function selectNode(nodes) {
network.selectNodes(nodes);
neighbourhoodHighlight({ nodes: nodes });
return nodes;
}
function selectNodes(nodes) {
network.selectNodes(nodes);
filterHighlight({nodes: nodes});
return nodes;
}
function highlightFilter(filter) {
let selectedNodes = []
let selectedProp = filter['property']
if (filter['item'] === 'node') {
let allNodes = nodes.get({ returnType: "Object" });
for (let nodeId in allNodes) {
if (allNodes[nodeId][selectedProp] && filter['value'].includes((allNodes[nodeId][selectedProp]).toString())) {
selectedNodes.push(nodeId)
}
}
}
else if (filter['item'] === 'edge'){
let allEdges = edges.get({returnType: 'object'});
// check if the selected property exists for selected edge and select the nodes connected to the edge
for (let edge in allEdges) {
if (allEdges[edge][selectedProp] && filter['value'].includes((allEdges[edge][selectedProp]).toString())) {
selectedNodes.push(allEdges[edge]['from'])
selectedNodes.push(allEdges[edge]['to'])
}
}
}
selectNodes(selectedNodes)
}</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/dist/vis-network.min.css" integrity="sha512-WgxfT5LWjfszlPHXRmBWHkV2eceiWTOBvrKCNbdgDYTHrT2AeLCGbF4sZlZw3UMN3WtL0tGUoIAKsu8mllg/XA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.2/dist/vis-network.min.js" integrity="sha512-LnvoEWDFrqGHlHmDD2101OrLcbsfkrzoSpvtSQtxK3RMnRV0eOkhhBN2dXHKRrUU8p2DGRTk35n4O8nWSVe1mQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tom-select/2.0.0-rc.4/css/tom-select.min.css" integrity="sha512-43fHB3GLgZfz8QXl1RPQ8O66oIgv3po9cJ5erMt1c4QISq9dYb195T3vr5ImnJPXuVroKcGBPXBFKETW8jrPNQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/tom-select/2.0.0-rc.4/js/tom-select.complete.js" integrity="sha512-jeF9CfnvzDiw9G9xiksVjxR2lib44Gnovvkv+3CgCG6NXCD4gqlA5nDAVW5WjpA+i+/zKsUWV5xNEbW1X/HH0Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<center>
<h1></h1>
</center>
<!-- <link rel="stylesheet" href="../node_modules/vis/dist/vis.min.css" type="text/css" />
<script type="text/javascript" src="../node_modules/vis/dist/vis.js"> </script>-->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous"
></script>
<center>
<h1></h1>
</center>
<style type="text/css">
#mynetwork {
width: 1000px;
height: 600px;
background-color: black;
border: 1px solid lightgray;
position: relative;
float: left;
}
#loadingBar {
position:absolute;
top:0px;
left:0px;
width: 1000px;
height: 600px;
background-color:rgba(200,200,200,0.8);
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
opacity:1;
}
#bar {
position:absolute;
top:0px;
left:0px;
width:20px;
height:20px;
margin:auto auto auto auto;
border-radius:11px;
border:2px solid rgba(30,30,30,0.05);
background: rgb(0, 173, 246); /* Old browsers */
box-shadow: 2px 0px 4px rgba(0,0,0,0.4);
}
#border {
position:absolute;
top:10px;
left:10px;
width:500px;
height:23px;
margin:auto auto auto auto;
box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
border-radius:10px;
}
#text {
position:absolute;
top:8px;
left:530px;
width:30px;
height:50px;
margin:auto auto auto auto;
font-size:22px;
color: #000000;
}
div.outerBorder {
position:relative;
top:400px;
width:600px;
height:44px;
margin:auto auto auto auto;
border:8px solid rgba(0,0,0,0.1);
background: rgb(252,252,252); /* Old browsers */
background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(237,237,237,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(252,252,252,1) 0%,rgba(237,237,237,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
border-radius:72px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
</style>
</head>
<body>
<div class="card" style="width: 100%">
<div id="select-menu" class="card-header">
<div class="row no-gutters">
<div class="col-10 pb-2">
<select
class="form-select"
aria-label="Default select example"
onchange="selectNode([value]);"
id="select-node"
placeholder="Select node..."
>
<option selected>Select a Node by ID</option>
<option value="Enhancing the impact of behavioral pain management on MAT outcomes">Enhancing the impact of behavioral pain management on MAT outcomes</option>
<option value="Translation of Research to Practice for the Treatment of Opioid Addiction">Translation of Research to Practice for the Treatment of Opioid Addiction</option>
<option value="New">New</option>
<option value="University of Michigan, Ann Arbor">University of Michigan, Ann Arbor</option>
<option value="ILGEN, MARK">ILGEN, MARK</option>
<option value="NCCIH">NCCIH</option>
<option value="1R01AT010797-01">1R01AT010797-01</option>
<option value="Ann Arbor, MI">Ann Arbor, MI</option>
<option value="2019">2019</option>
<option value="Psychosocial pain management to improve opioid use disorder treatment outcomes">Psychosocial pain management to improve opioid use disorder treatment outcomes</option>
<option value="Extension">Extension</option>
<option value="4R33AT010106-02">4R33AT010106-02</option>
<option value="New Strategies to Prevent and Treat Opioid Addiction">New Strategies to Prevent and Treat Opioid Addiction</option>
<option value="1R21AT010106-01">1R21AT010106-01</option>
<option value="2018">2018</option>
<option value="LIN, LEWEI ALLISON">LIN, LEWEI ALLISON</option>
<option value="The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder">The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder</option>
<option value="Maryland Treatment Centers">Maryland Treatment Centers</option>
<option value="FISHMAN, MARC">FISHMAN, MARC</option>
<option value="1R61AT010614-01">1R61AT010614-01</option>
<option value="Baltimore, MD">Baltimore, MD</option>
<option value="Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment">Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment</option>
<option value="Cambridge Health Alliance">Cambridge Health Alliance</option>
<option value="SCHUMAN OLIVIER, Z">SCHUMAN OLIVIER, Z</option>
<option value="1R21AT010125-01">1R21AT010125-01</option>
<option value="Cambridge, MA">Cambridge, MA</option>
<option value="4R33AT010125-02">4R33AT010125-02</option>
<option value="Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction">Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction</option>
<option value="Revision">Revision</option>
<option value="Case Western Reserve University">Case Western Reserve University</option>
<option value="NOCK, NORA L">NOCK, NORA L</option>
<option value="3R61AT010806-01S1">3R61AT010806-01S1</option>
<option value="Cleveland, OH">Cleveland, OH</option>
<option value="2020">2020</option>
<option value="Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders">Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders</option>
<option value="1R61AT010806-01">1R61AT010806-01</option>
<option value="Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD">Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD</option>
<option value="University of Maryland">University of Maryland</option>
<option value="MAGIDSON, JESSICA F">MAGIDSON, JESSICA F</option>
<option value="1R61AT010799-01">1R61AT010799-01</option>
<option value="College Park, MD">College Park, MD</option>
<option value="Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment">Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment</option>
<option value="University of Maryland, College Park">University of Maryland, College Park</option>
<option value="3R61AT010799-01S2">3R61AT010799-01S2</option>
<option value="University of Colorado, Denver">University of Colorado, Denver</option>
<option value="WACHHOLTZ, AMY B">WACHHOLTZ, AMY B</option>
<option value="Denver, CO">Denver, CO</option>
<option value="Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder">Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder</option>
<option value="Dartmouth College">Dartmouth College</option>
<option value="GOODMAN, DAISY J">GOODMAN, DAISY J</option>
<option value="1R21AT010117-01">1R21AT010117-01</option>
<option value="Hanover, NH">Hanover, NH</option>
<option value="LORD, SARAH E">LORD, SARAH E</option>
<option value="4R33AT010117-02">4R33AT010117-02</option>
<option value="Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care">Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care</option>
<option value="Pennsylvania State University, Hershey Medical Center">Pennsylvania State University, Hershey Medical Center</option>
<option value="CAMPBELL, AIMEE N">CAMPBELL, AIMEE N</option>
<option value="4R33AT010118-02">4R33AT010118-02</option>
<option value="Hershey, PA">Hershey, PA</option>
<option value="HOLDEN, DENISE">HOLDEN, DENISE</option>
<option value="KAWASAKI, SARAH S">KAWASAKI, SARAH S</option>
<option value="NUNES, EDWARD V">NUNES, EDWARD V</option>
<option value="Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients">Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients</option>
<option value="University of California, Irvine">University of California, Irvine</option>
<option value="YOUNG, SEAN">YOUNG, SEAN</option>
<option value="3R33AT010606-03S1">3R33AT010606-03S1</option>
<option value="Irvine, CA">Irvine, CA</option>
<option value="2021">2021</option>
<option value="Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design">Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design</option>
<option value="University of Tennessee">University of Tennessee</option>
<option value="DEREFINKO, KAREN J">DEREFINKO, KAREN J</option>
<option value="1R61AT010604-01">1R61AT010604-01</option>
<option value="Knoxville, TN">Knoxville, TN</option>
<option value="OUD Stigma Mechanisms in the Context of Buprenorphine Treatment">OUD Stigma Mechanisms in the Context of Buprenorphine Treatment</option>
<option value="University of California, Los Angeles (UCLA)">University of California, Los Angeles (UCLA)</option>
<option value="GLASNER-EDWARDS, SUZETTE V">GLASNER-EDWARDS, SUZETTE V</option>
<option value="3R61AT010800-02S1">3R61AT010800-02S1</option>
<option value="Los Angeles, CA">Los Angeles, CA</option>
<option value="1R61AT010606-01">1R61AT010606-01</option>
<option value="Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD">Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD</option>
<option value="University of Tennessee, Health Science Center">University of Tennessee, Health Science Center</option>
<option value="3R61AT010604-01S1">3R61AT010604-01S1</option>
<option value="Memphis, TN">Memphis, TN</option>
<option value="Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management">Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management</option>
<option value="Rutgers Biomedical and Health Sciences - Robert Wood Johnson Medical School">Rutgers Biomedical and Health Sciences - Robert Wood Johnson Medical School</option>
<option value="COOPERMAN, NINA">COOPERMAN, NINA</option>
<option value="4R33AT010109-02">4R33AT010109-02</option>
<option value="Piscataway, NJ">Piscataway, NJ</option>
<option value="Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study">Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study</option>
<option value="University of Washington">University of Washington</option>
<option value="MERRILL, JOSEPH O">MERRILL, JOSEPH O</option>
<option value="1R01AT010742-01">1R01AT010742-01</option>
<option value="Seattle, WA">Seattle, WA</option>
<option value="PRICE, CYNTHIA J">PRICE, CYNTHIA J</option>
<option value="A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders">A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders</option>
<option value="University of Alabama">University of Alabama</option>
<option value="MUMBA, MERCY N">MUMBA, MERCY N</option>
<option value="1R61AT010802-01">1R61AT010802-01</option>
<option value="Tuscaloosa, AL">Tuscaloosa, AL</option>
<option value="Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders">Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders</option>
<option value="Brandeis University">Brandeis University</option>
<option value="REIF, SHARON">REIF, SHARON</option>
<option value="NIDA">NIDA</option>
<option value="1R01DA051067-01">1R01DA051067-01</option>
<option value="Waltham, MA">Waltham, MA</option>
</select>
</div>
<div class="col-2 pb-2">
<button type="button" class="btn btn-primary btn-block" onclick="neighbourhoodHighlight({nodes: []});">Reset Selection</button>
</div>
</div>
</div>
<div id="filter-menu" class="card-header">
<div class="row no-gutters">
<div class="col-3 pb-2">
<select
class="form-select"
aria-label="Default select example"
onchange="updateFilter(value, 'item')"
id="select-item"
>
<option value="">Select a network item</option>
<option value="edge">edge</option>
<option value="node">node</option>
</select>
</div>
<div class="col-3 pb-2">
<select
class="form-select"
aria-label="Default select example"
onchange="updateFilter(value, 'property')"
id="select-property"
>
<option value="">Select a property...</option>
</select>
</div>
<div class="col-3 pb-2">
<select
class="form-select"
aria-label="Default select example"
id="select-value"
>
<option value="">Select value(s)...</option>
</select>
</div>
<div class="col-1 pb-2">
<button type="button" class="btn btn-primary btn-block" onclick="highlightFilter(filter);">Filter</button>
</div>
<div class="col-2 pb-2">
<button type="button" class="btn btn-primary btn-block" onclick="clearFilter(true)">Reset Selection</button>
</div>
</div>
</div>
<div id="mynetwork" class="card-body"></div>
</div>
<div id="loadingBar">
<div class="outerBorder">
<div id="text">0%</div>
<div id="border">
<div id="bar"></div>
</div>
</div>
</div>
<script type="text/javascript">
// initialize global variables.
var edges;
var nodes;
var allNodes;
var allEdges;
var nodeColors;
var originalNodes;
var network;
var container;
var options, data;
var filter = {
item : '',
property : '',
value : []
};
new TomSelect("#select-node",{
create: false,
sortField: {
field: "text",
direction: "asc"
}
});
// explicitly using onItemAdd and this function as we need to save multiple values
let updateValueFilter = function() {
return function () {
filter['value'].push(arguments[0])
}
}
let valueControl = new TomSelect("#select-value",{
maxItems: null,
valueField: 'id',
labelField: 'title',
searchField: 'title',
create: false,
sortField: {
field: "text",
direction: "asc"
},
onItemAdd: updateValueFilter()
});
let addValues = function() {
return function () {
// clear the current value options and add the selected attribute values
// tom-select handles duplicates
let selectedProperty = arguments[0];
valueControl.clear();
valueControl.clearOptions();
filter['value'] = []
if (filter['item'] === 'node') {
for (let each in allNodes) {
valueControl.addOption({
id:allNodes[each][selectedProperty],
title:allNodes[each][selectedProperty]
})
}
}
else if (filter['item'] === 'edge') {
for (let each in allEdges) {
valueControl.addOption({
id:allEdges[each][selectedProperty],
title:allEdges[each][selectedProperty]
})
}
}
}
};
let propControl = new TomSelect("#select-property",{
valueField: 'id',
labelField: 'title',
searchField: 'title',
create: false,
sortField: {
field: "text",
direction: "asc"
},
onItemAdd: addValues()
});
let addProperties = function() {
return function () {
// loops through the selected network item and adds the attributes to dropdown
// tom-select handles duplicates
clearFilter(false)
if (arguments[0] === 'edge') {
for (let each in allEdges) {
if (allEdges.hasOwnProperty(each)) {
for (let eachProp in allEdges[each]) {
if (allEdges[each].hasOwnProperty(eachProp)) {
propControl.addOption({id: eachProp, title: eachProp})
}
}
}
}
}
else if (arguments[0] === 'node') {
for (let each in allNodes) {
if (allNodes.hasOwnProperty(each)) {
for (let eachProp in allNodes[each]) {
if (allNodes[each].hasOwnProperty(eachProp)
&& (eachProp !== 'hidden' && eachProp !== 'savedLabel'
&& eachProp !== 'hiddenLabel')) {
propControl.addOption({id: eachProp, title: eachProp})
}
}
}
}
}
}
};
let itemControl = new TomSelect("#select-item",{
create: false,
sortField:{
field: "text",
direction: "asc"
},
onItemAdd: addProperties()
});
function clearFilter(reset) {
// utility function to clear all the selected filter options
// if reset is set to true, the existing filter will be removed
// else, only the dropdown options are cleared
propControl.clear();
propControl.clearOptions();
valueControl.clear();
valueControl.clearOptions();
filter = {
item : '',
property : '',
value : []
}
if (reset) {
itemControl.clear();
filterHighlight({nodes: []})
}
}
function updateFilter(value, key) {
// key could be 'item' or 'property' and value is as selected in dropdown
filter[key] = value
}
// This method is responsible for drawing the graph, returns the drawn network
function drawGraph() {
var container = document.getElementById('mynetwork');
// parsing and collecting nodes and edges from the python
nodes = new vis.DataSet([{"color": "#1f77b4", "font": {"color": "white"}, "id": "Enhancing the impact of behavioral pain management on MAT outcomes", "label": "Enhancing the impact of behavioral pain management on MAT outcomes", "shape": "triangle", "size": 10}, {"color": "#2ca02c", "font": {"color": "white"}, "id": "Translation of Research to Practice for the Treatment of Opioid Addiction", "label": "Translation of Research to Practice for the Treatment of Opioid Addiction", "shape": "square", "size": 18.571428571428573}, {"color": "#ff0000", "font": {"color": "white"}, "id": "New", "label": "New", "shape": "dot", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Michigan, Ann Arbor", "label": "University of Michigan, Ann Arbor", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "ILGEN, MARK", "label": "ILGEN, MARK", "shape": "dot", "size": 10}, {"color": "#9467bd", "font": {"color": "white"}, "id": "NCCIH", "label": "NCCIH", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R01AT010797-01", "label": "1R01AT010797-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Ann Arbor, MI", "label": "Ann Arbor, MI", "shape": "dot", "size": 10}, {"color": "#bcbd22", "font": {"color": "white"}, "id": "2019", "label": "2019", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "label": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "shape": "triangle", "size": 10}, {"color": "#ff0000", "font": {"color": "white"}, "id": "Extension", "label": "Extension", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "4R33AT010106-02", "label": "4R33AT010106-02", "shape": "dot", "size": 10}, {"color": "#2ca02c", "font": {"color": "white"}, "id": "New Strategies to Prevent and Treat Opioid Addiction", "label": "New Strategies to Prevent and Treat Opioid Addiction", "shape": "square", "size": 2.142857142857143}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R21AT010106-01", "label": "1R21AT010106-01", "shape": "dot", "size": 10}, {"color": "#bcbd22", "font": {"color": "white"}, "id": "2018", "label": "2018", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "LIN, LEWEI ALLISON", "label": "LIN, LEWEI ALLISON", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder", "label": "The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "Maryland Treatment Centers", "label": "Maryland Treatment Centers", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "FISHMAN, MARC", "label": "FISHMAN, MARC", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R61AT010614-01", "label": "1R61AT010614-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Baltimore, MD", "label": "Baltimore, MD", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "label": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "Cambridge Health Alliance", "label": "Cambridge Health Alliance", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "SCHUMAN OLIVIER, Z", "label": "SCHUMAN OLIVIER, Z", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R21AT010125-01", "label": "1R21AT010125-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Cambridge, MA", "label": "Cambridge, MA", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "4R33AT010125-02", "label": "4R33AT010125-02", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction", "label": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction", "shape": "triangle", "size": 10}, {"color": "#ff0000", "font": {"color": "white"}, "id": "Revision", "label": "Revision", "shape": "dot", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "Case Western Reserve University", "label": "Case Western Reserve University", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "NOCK, NORA L", "label": "NOCK, NORA L", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "3R61AT010806-01S1", "label": "3R61AT010806-01S1", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Cleveland, OH", "label": "Cleveland, OH", "shape": "dot", "size": 10}, {"color": "#bcbd22", "font": {"color": "white"}, "id": "2020", "label": "2020", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "label": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "shape": "triangle", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R61AT010806-01", "label": "1R61AT010806-01", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD", "label": "Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Maryland", "label": "University of Maryland", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "MAGIDSON, JESSICA F", "label": "MAGIDSON, JESSICA F", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R61AT010799-01", "label": "1R61AT010799-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "College Park, MD", "label": "College Park, MD", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment", "label": "Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Maryland, College Park", "label": "University of Maryland, College Park", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "3R61AT010799-01S2", "label": "3R61AT010799-01S2", "shape": "dot", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Colorado, Denver", "label": "University of Colorado, Denver", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "WACHHOLTZ, AMY B", "label": "WACHHOLTZ, AMY B", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Denver, CO", "label": "Denver, CO", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "label": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "Dartmouth College", "label": "Dartmouth College", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "GOODMAN, DAISY J", "label": "GOODMAN, DAISY J", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R21AT010117-01", "label": "1R21AT010117-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Hanover, NH", "label": "Hanover, NH", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "LORD, SARAH E", "label": "LORD, SARAH E", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "4R33AT010117-02", "label": "4R33AT010117-02", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "label": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "Pennsylvania State University, Hershey Medical Center", "label": "Pennsylvania State University, Hershey Medical Center", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "CAMPBELL, AIMEE N", "label": "CAMPBELL, AIMEE N", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "4R33AT010118-02", "label": "4R33AT010118-02", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Hershey, PA", "label": "Hershey, PA", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "HOLDEN, DENISE", "label": "HOLDEN, DENISE", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "KAWASAKI, SARAH S", "label": "KAWASAKI, SARAH S", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "NUNES, EDWARD V", "label": "NUNES, EDWARD V", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "label": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of California, Irvine", "label": "University of California, Irvine", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "YOUNG, SEAN", "label": "YOUNG, SEAN", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "3R33AT010606-03S1", "label": "3R33AT010606-03S1", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Irvine, CA", "label": "Irvine, CA", "shape": "dot", "size": 10}, {"color": "#bcbd22", "font": {"color": "white"}, "id": "2021", "label": "2021", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design", "label": "Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Tennessee", "label": "University of Tennessee", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "DEREFINKO, KAREN J", "label": "DEREFINKO, KAREN J", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R61AT010604-01", "label": "1R61AT010604-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Knoxville, TN", "label": "Knoxville, TN", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "OUD Stigma Mechanisms in the Context of Buprenorphine Treatment", "label": "OUD Stigma Mechanisms in the Context of Buprenorphine Treatment", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of California, Los Angeles (UCLA)", "label": "University of California, Los Angeles (UCLA)", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "GLASNER-EDWARDS, SUZETTE V", "label": "GLASNER-EDWARDS, SUZETTE V", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "3R61AT010800-02S1", "label": "3R61AT010800-02S1", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Los Angeles, CA", "label": "Los Angeles, CA", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R61AT010606-01", "label": "1R61AT010606-01", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD", "label": "Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Tennessee, Health Science Center", "label": "University of Tennessee, Health Science Center", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "3R61AT010604-01S1", "label": "3R61AT010604-01S1", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Memphis, TN", "label": "Memphis, TN", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management", "label": "Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "Rutgers Biomedical and Health Sciences - Robert Wood Johnson Medical School", "label": "Rutgers Biomedical and Health Sciences - Robert Wood Johnson Medical School", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "COOPERMAN, NINA", "label": "COOPERMAN, NINA", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "4R33AT010109-02", "label": "4R33AT010109-02", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Piscataway, NJ", "label": "Piscataway, NJ", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "label": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Washington", "label": "University of Washington", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "MERRILL, JOSEPH O", "label": "MERRILL, JOSEPH O", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R01AT010742-01", "label": "1R01AT010742-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Seattle, WA", "label": "Seattle, WA", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "PRICE, CYNTHIA J", "label": "PRICE, CYNTHIA J", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders", "label": "A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "University of Alabama", "label": "University of Alabama", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "MUMBA, MERCY N", "label": "MUMBA, MERCY N", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R61AT010802-01", "label": "1R61AT010802-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Tuscaloosa, AL", "label": "Tuscaloosa, AL", "shape": "dot", "size": 10}, {"color": "#1f77b4", "font": {"color": "white"}, "id": "Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders", "label": "Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders", "shape": "triangle", "size": 10}, {"color": "#8c564b", "font": {"color": "white"}, "id": "Brandeis University", "label": "Brandeis University", "shape": "dot", "size": 10}, {"color": "#e377c2", "font": {"color": "white"}, "id": "REIF, SHARON", "label": "REIF, SHARON", "shape": "dot", "size": 10}, {"color": "#9467bd", "font": {"color": "white"}, "id": "NIDA", "label": "NIDA", "shape": "dot", "size": 10}, {"color": "#e07c3e", "font": {"color": "white"}, "id": "1R01DA051067-01", "label": "1R01DA051067-01", "shape": "dot", "size": 10}, {"color": "#7f7f7f", "font": {"color": "white"}, "id": "Waltham, MA", "label": "Waltham, MA", "shape": "dot", "size": 10}]);
edges = new vis.DataSet([{"from": "Enhancing the impact of behavioral pain management on MAT outcomes", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Enhancing the impact of behavioral pain management on MAT outcomes", "to": "New"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "New"}, {"from": "Enhancing the impact of behavioral pain management on MAT outcomes", "to": "University of Michigan, Ann Arbor"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Michigan, Ann Arbor"}, {"from": "Enhancing the impact of behavioral pain management on MAT outcomes", "to": "ILGEN, MARK"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "ILGEN, MARK"}, {"from": "Enhancing the impact of behavioral pain management on MAT outcomes", "to": "NCCIH"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "NCCIH"}, {"from": "ILGEN, MARK", "to": "1R01AT010797-01"}, {"from": "ILGEN, MARK", "to": "Ann Arbor, MI"}, {"from": "ILGEN, MARK", "to": "2019"}, {"from": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "to": "Extension"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Extension"}, {"from": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "to": "University of Michigan, Ann Arbor"}, {"from": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "to": "ILGEN, MARK"}, {"from": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "to": "NCCIH"}, {"from": "ILGEN, MARK", "to": "4R33AT010106-02"}, {"from": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "to": "New Strategies to Prevent and Treat Opioid Addiction"}, {"from": "Psychosocial pain management to improve opioid use disorder treatment outcomes", "to": "New"}, {"from": "New Strategies to Prevent and Treat Opioid Addiction", "to": "New"}, {"from": "New Strategies to Prevent and Treat Opioid Addiction", "to": "University of Michigan, Ann Arbor"}, {"from": "New Strategies to Prevent and Treat Opioid Addiction", "to": "ILGEN, MARK"}, {"from": "New Strategies to Prevent and Treat Opioid Addiction", "to": "NCCIH"}, {"from": "ILGEN, MARK", "to": "1R21AT010106-01"}, {"from": "ILGEN, MARK", "to": "2018"}, {"from": "Enhancing the impact of behavioral pain management on MAT outcomes", "to": "LIN, LEWEI ALLISON"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "LIN, LEWEI ALLISON"}, {"from": "LIN, LEWEI ALLISON", "to": "1R01AT010797-01"}, {"from": "LIN, LEWEI ALLISON", "to": "Ann Arbor, MI"}, {"from": "LIN, LEWEI ALLISON", "to": "2019"}, {"from": "The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder", "to": "New"}, {"from": "The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder", "to": "Maryland Treatment Centers"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Maryland Treatment Centers"}, {"from": "The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder", "to": "FISHMAN, MARC"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "FISHMAN, MARC"}, {"from": "The Youth Opioid Recovery Support (YORS) Intervention: An assertive community treatment model for improving medication adherence in young adults with opioid use disorder", "to": "NCCIH"}, {"from": "FISHMAN, MARC", "to": "1R61AT010614-01"}, {"from": "FISHMAN, MARC", "to": "Baltimore, MD"}, {"from": "FISHMAN, MARC", "to": "2019"}, {"from": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "to": "New"}, {"from": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "to": "Cambridge Health Alliance"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Cambridge Health Alliance"}, {"from": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "to": "SCHUMAN OLIVIER, Z"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "SCHUMAN OLIVIER, Z"}, {"from": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "to": "NCCIH"}, {"from": "SCHUMAN OLIVIER, Z", "to": "1R21AT010125-01"}, {"from": "SCHUMAN OLIVIER, Z", "to": "Cambridge, MA"}, {"from": "SCHUMAN OLIVIER, Z", "to": "2018"}, {"from": "Effect of Mindfulness Training on Opioid Use and Anxiety During Primary Care Buprenorphine Treatment", "to": "Extension"}, {"from": "SCHUMAN OLIVIER, Z", "to": "4R33AT010125-02"}, {"from": "SCHUMAN OLIVIER, Z", "to": "2019"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction", "to": "Revision"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Revision"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction", "to": "Case Western Reserve University"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Case Western Reserve University"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction", "to": "NOCK, NORA L"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "NOCK, NORA L"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction", "to": "NCCIH"}, {"from": "NOCK, NORA L", "to": "3R61AT010806-01S1"}, {"from": "NOCK, NORA L", "to": "Cleveland, OH"}, {"from": "NOCK, NORA L", "to": "2020"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "to": "New"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "to": "Case Western Reserve University"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "to": "NOCK, NORA L"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "to": "NCCIH"}, {"from": "NOCK, NORA L", "to": "1R61AT010806-01"}, {"from": "NOCK, NORA L", "to": "2019"}, {"from": "Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD", "to": "New"}, {"from": "Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD", "to": "University of Maryland"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Maryland"}, {"from": "Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD", "to": "MAGIDSON, JESSICA F"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "MAGIDSON, JESSICA F"}, {"from": "Peer-Delivered Behavioral Activation Intervention to Improve Adherence to MAT Among Low-Income, Minority Individuals With OUD", "to": "NCCIH"}, {"from": "MAGIDSON, JESSICA F", "to": "1R61AT010799-01"}, {"from": "MAGIDSON, JESSICA F", "to": "College Park, MD"}, {"from": "MAGIDSON, JESSICA F", "to": "2019"}, {"from": "Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment", "to": "Revision"}, {"from": "Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment", "to": "University of Maryland, College Park"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Maryland, College Park"}, {"from": "Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment", "to": "MAGIDSON, JESSICA F"}, {"from": "Understanding How Peers Can Shift Stigma to Retain Low-Income, Minority Individuals in Opioid Treatment", "to": "NCCIH"}, {"from": "MAGIDSON, JESSICA F", "to": "3R61AT010799-01S2"}, {"from": "MAGIDSON, JESSICA F", "to": "2020"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "to": "University of Colorado, Denver"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Colorado, Denver"}, {"from": "Enhancing Exercise and Psychotherapy to Treat Comorbid Addiction and Pain for Improving Adherence to Medication Assisted Treatment in Opioid Use Disorders", "to": "WACHHOLTZ, AMY B"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "WACHHOLTZ, AMY B"}, {"from": "WACHHOLTZ, AMY B", "to": "1R61AT010806-01"}, {"from": "WACHHOLTZ, AMY B", "to": "Denver, CO"}, {"from": "WACHHOLTZ, AMY B", "to": "2019"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "New Strategies to Prevent and Treat Opioid Addiction"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "New"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "Dartmouth College"}, {"from": "New Strategies to Prevent and Treat Opioid Addiction", "to": "Dartmouth College"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "GOODMAN, DAISY J"}, {"from": "New Strategies to Prevent and Treat Opioid Addiction", "to": "GOODMAN, DAISY J"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "NCCIH"}, {"from": "GOODMAN, DAISY J", "to": "1R21AT010117-01"}, {"from": "GOODMAN, DAISY J", "to": "Hanover, NH"}, {"from": "GOODMAN, DAISY J", "to": "2018"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "Extension"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Dartmouth College"}, {"from": "Mindful Moms in Recovery: Yoga-based mindfulness relapse prevention for pregnant women with opioid disorder", "to": "LORD, SARAH E"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "LORD, SARAH E"}, {"from": "LORD, SARAH E", "to": "4R33AT010117-02"}, {"from": "LORD, SARAH E", "to": "Hanover, NH"}, {"from": "LORD, SARAH E", "to": "2019"}, {"from": "New Strategies to Prevent and Treat Opioid Addiction", "to": "LORD, SARAH E"}, {"from": "LORD, SARAH E", "to": "1R21AT010117-01"}, {"from": "LORD, SARAH E", "to": "2018"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "Extension"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "Pennsylvania State University, Hershey Medical Center"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Pennsylvania State University, Hershey Medical Center"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "CAMPBELL, AIMEE N"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "CAMPBELL, AIMEE N"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "NCCIH"}, {"from": "CAMPBELL, AIMEE N", "to": "4R33AT010118-02"}, {"from": "CAMPBELL, AIMEE N", "to": "Hershey, PA"}, {"from": "CAMPBELL, AIMEE N", "to": "2019"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "HOLDEN, DENISE"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "HOLDEN, DENISE"}, {"from": "HOLDEN, DENISE", "to": "4R33AT010118-02"}, {"from": "HOLDEN, DENISE", "to": "Hershey, PA"}, {"from": "HOLDEN, DENISE", "to": "2019"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "KAWASAKI, SARAH S"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "KAWASAKI, SARAH S"}, {"from": "KAWASAKI, SARAH S", "to": "4R33AT010118-02"}, {"from": "KAWASAKI, SARAH S", "to": "Hershey, PA"}, {"from": "KAWASAKI, SARAH S", "to": "2019"}, {"from": "Comprehensive CBT via reSET for a Hub and Spoke MAT System of Care", "to": "NUNES, EDWARD V"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "NUNES, EDWARD V"}, {"from": "NUNES, EDWARD V", "to": "4R33AT010118-02"}, {"from": "NUNES, EDWARD V", "to": "Hershey, PA"}, {"from": "NUNES, EDWARD V", "to": "2019"}, {"from": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "to": "Revision"}, {"from": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "to": "University of California, Irvine"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of California, Irvine"}, {"from": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "to": "YOUNG, SEAN"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "YOUNG, SEAN"}, {"from": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "to": "NCCIH"}, {"from": "YOUNG, SEAN", "to": "3R33AT010606-03S1"}, {"from": "YOUNG, SEAN", "to": "Irvine, CA"}, {"from": "YOUNG, SEAN", "to": "2021"}, {"from": "Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design", "to": "New"}, {"from": "Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design", "to": "University of Tennessee"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Tennessee"}, {"from": "Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design", "to": "DEREFINKO, KAREN J"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "DEREFINKO, KAREN J"}, {"from": "Testing the Effects of Contingency Management and Behavioral Economics on Buprenorphine-Naloxone Treatment Adherence Using a Sequential Multiple Assignment Randomized Trial (SMART) Design", "to": "NCCIH"}, {"from": "DEREFINKO, KAREN J", "to": "1R61AT010604-01"}, {"from": "DEREFINKO, KAREN J", "to": "Knoxville, TN"}, {"from": "DEREFINKO, KAREN J", "to": "2019"}, {"from": "OUD Stigma Mechanisms in the Context of Buprenorphine Treatment", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "OUD Stigma Mechanisms in the Context of Buprenorphine Treatment", "to": "Revision"}, {"from": "OUD Stigma Mechanisms in the Context of Buprenorphine Treatment", "to": "University of California, Los Angeles (UCLA)"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of California, Los Angeles (UCLA)"}, {"from": "OUD Stigma Mechanisms in the Context of Buprenorphine Treatment", "to": "GLASNER-EDWARDS, SUZETTE V"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "GLASNER-EDWARDS, SUZETTE V"}, {"from": "OUD Stigma Mechanisms in the Context of Buprenorphine Treatment", "to": "NCCIH"}, {"from": "GLASNER-EDWARDS, SUZETTE V", "to": "3R61AT010800-02S1"}, {"from": "GLASNER-EDWARDS, SUZETTE V", "to": "Los Angeles, CA"}, {"from": "GLASNER-EDWARDS, SUZETTE V", "to": "2020"}, {"from": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "to": "New"}, {"from": "Adapting the HOPE Online Support Intervention to Increase MAT Uptake Among OUD Patients", "to": "University of California, Los Angeles (UCLA)"}, {"from": "YOUNG, SEAN", "to": "1R61AT010606-01"}, {"from": "YOUNG, SEAN", "to": "Los Angeles, CA"}, {"from": "YOUNG, SEAN", "to": "2019"}, {"from": "Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD", "to": "Revision"}, {"from": "Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD", "to": "University of Tennessee, Health Science Center"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Tennessee, Health Science Center"}, {"from": "Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD", "to": "DEREFINKO, KAREN J"}, {"from": "Behavioral Economics based stigma reduction intervention for low income, African American individuals with OUD", "to": "NCCIH"}, {"from": "DEREFINKO, KAREN J", "to": "3R61AT010604-01S1"}, {"from": "DEREFINKO, KAREN J", "to": "Memphis, TN"}, {"from": "DEREFINKO, KAREN J", "to": "2020"}, {"from": "Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management", "to": "Extension"}, {"from": "Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management", "to": "Rutgers Biomedical and Health Sciences - Robert Wood Johnson Medical School"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Rutgers Biomedical and Health Sciences - Robert Wood Johnson Medical School"}, {"from": "Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management", "to": "COOPERMAN, NINA"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "COOPERMAN, NINA"}, {"from": "Mindfulness Oriented Recovery Enhancement as an Adjunct to Methadone Treatment for Opioid Use and Chronic Pain Management", "to": "NCCIH"}, {"from": "COOPERMAN, NINA", "to": "4R33AT010109-02"}, {"from": "COOPERMAN, NINA", "to": "Piscataway, NJ"}, {"from": "COOPERMAN, NINA", "to": "2019"}, {"from": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "to": "New"}, {"from": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "to": "University of Washington"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Washington"}, {"from": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "to": "MERRILL, JOSEPH O"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "MERRILL, JOSEPH O"}, {"from": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "to": "NCCIH"}, {"from": "MERRILL, JOSEPH O", "to": "1R01AT010742-01"}, {"from": "MERRILL, JOSEPH O", "to": "Seattle, WA"}, {"from": "MERRILL, JOSEPH O", "to": "2019"}, {"from": "Mindful Body Awareness Training as an Adjunct to Medication Assisted Treatment for Opioid Use Disorder: An ancillary study", "to": "PRICE, CYNTHIA J"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "PRICE, CYNTHIA J"}, {"from": "PRICE, CYNTHIA J", "to": "1R01AT010742-01"}, {"from": "PRICE, CYNTHIA J", "to": "Seattle, WA"}, {"from": "PRICE, CYNTHIA J", "to": "2019"}, {"from": "A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders", "to": "New"}, {"from": "A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders", "to": "University of Alabama"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "University of Alabama"}, {"from": "A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders", "to": "MUMBA, MERCY N"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "MUMBA, MERCY N"}, {"from": "A Mindfulness and Peer Mentoring Program to Improve Adherence to Medication Assisted Treatment for Opioid Use Disorders", "to": "NCCIH"}, {"from": "MUMBA, MERCY N", "to": "1R61AT010802-01"}, {"from": "MUMBA, MERCY N", "to": "Tuscaloosa, AL"}, {"from": "MUMBA, MERCY N", "to": "2019"}, {"from": "Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders", "to": "Translation of Research to Practice for the Treatment of Opioid Addiction"}, {"from": "Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders", "to": "New"}, {"from": "Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders", "to": "Brandeis University"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "Brandeis University"}, {"from": "Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders", "to": "REIF, SHARON"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "REIF, SHARON"}, {"from": "Hub and Spoke Opioid Treatment Networks: 2nd Generation Approaches to Improve Medication Treatment for Opioid Use Disorders", "to": "NIDA"}, {"from": "Translation of Research to Practice for the Treatment of Opioid Addiction", "to": "NIDA"}, {"from": "REIF, SHARON", "to": "1R01DA051067-01"}, {"from": "REIF, SHARON", "to": "Waltham, MA"}, {"from": "REIF, SHARON", "to": "2019"}]);
nodeColors = {};
allNodes = nodes.get({ returnType: "Object" });
for (nodeId in allNodes) {
nodeColors[nodeId] = allNodes[nodeId].color;
}
allEdges = edges.get({ returnType: "Object" });
// adding nodes and edges to the graph
data = {nodes: nodes, edges: edges};
var options = {"nodes": {"borderWidth": 1, "borderWidthSelected": 2, "font": {"size": 14, "color": "white"}}, "edges": {"color": {"inherit": true}, "smooth": {"type": "continuous"}}, "physics": {"enabled": true, "stabilization": {"enabled": true, "iterations": 2000, "updateInterval": 100}, "barnesHut": {"gravitationalConstant": -65500, "centralGravity": 0.08, "springLength": 230, "springConstant": 0.04, "damping": 0.4}}, "interaction": {"navigationButtons": true, "keyboard": true}};
network = new vis.Network(container, data, options);
network.on("selectNode", neighbourhoodHighlight);
network.on("stabilizationProgress", function(params) {
document.getElementById('loadingBar').removeAttribute("style");
var maxWidth = 496;
var minWidth = 20;
var widthFactor = params.iterations/params.total;
var width = Math.max(minWidth,maxWidth * widthFactor);
document.getElementById('bar').style.width = width + 'px';
document.getElementById('text').innerHTML = Math.round(widthFactor*100) + '%';
});
network.once("stabilizationIterationsDone", function() {
document.getElementById('text').innerHTML = '100%';
document.getElementById('bar').style.width = '496px';
document.getElementById('loadingBar').style.opacity = 0;
// really clean the dom element
setTimeout(function () {document.getElementById('loadingBar').style.display = 'none';}, 500);
});
return network;
}
drawGraph();
</script>
<script type="text/javascript">
var color_name_map = {
"#e07c3e": "Project #",
"#ff0000": "Application Type",
"#1f77b4": "Project Title",
"#2ca02c": "Research Focus Area",
"#9467bd": "Administering IC(s)",
"#8c564b": "Institution",
"#e377c2": "Investigator",
"#7f7f7f": "Location",
"#bcbd22": "Year Awarded"
};
function populateColorDropdown() {
var dropdowns = document.querySelectorAll('select[data-id="filter"]');
dropdowns.forEach(function(dropdown) {
for (var i = 0; i < dropdown.options.length; i++) {
var option = dropdown.options[i];
if (color_name_map[option.value]) {
option.text = color_name_map[option.value];
}
}
});
}
window.onload = function() {
populateColorDropdown();
};
</script>
</body>
</html>