-
Notifications
You must be signed in to change notification settings - Fork 0
/
LeoVue.leo
7513 lines (7018 loc) · 422 KB
/
LeoVue.leo
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
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by Leo: http://leoeditor.com/leo_toc.html -->
<leo_file xmlns:leo="http://leoeditor.com/namespaces/leo-python-editor/1.1" >
<leo_header file_format="2"/>
<globals/>
<preferences/>
<find_panel_settings/>
<vnodes>
<v t="josephorr.20181002174010.1"><vh>@cover</vh></v>
<v t="josephorr.20170228222411.2"><vh>LeoVue</vh></v>
<v t="josephorr.20170326174500.1"><vh>More About Leo</vh>
<v t="josephorr.20170327233137.1"><vh>[Feature Introduction](feature-introduction.md)</vh></v>
<v t="josephorr.20170327233223.1"><vh>[Chunking](chunking.md)</vh></v>
<v t="josephorr.20170327233236.1"><vh>Additional Features</vh></v>
<v t="josephorr.20181202130523.1"><vh>[Screenshots](https://leoeditor.com/screen-shots.html)</vh></v>
<v t="josephorr.20170327233257.1"><vh>Installing Leo</vh></v>
</v>
<v t="josephorr.20170327233126.1"><vh>More About LeoVue</vh>
<v t="josephorr.20181006112633.1"><vh>[LeoVue Quick Look](QuickLook.md)</vh></v>
<v t="josephorr.20180304203537.1"><vh>[LeoVue README](LeoVueREADME.md)</vh></v>
<v t="josephorr.20171116064625.1"><vh>Current Feature List</vh></v>
<v t="josephorr.20180326061144.1"><vh>Bookmarks, URLs and Links</vh></v>
<v t="josephorr.20170331200411.1"><vh>Installing and Using LeoVue</vh>
<v t="josephorr.20171103103421.1"><vh><< Running LeoVue from Github >></vh></v>
<v t="josephorr.20181013124816.1"><vh><< Using LeoVue for your Github Project >></vh>
<v t="josephorr.20181013125750.1"><vh><< A simple outlining example >></vh></v>
</v>
</v>
<v t="josephorr.20170421082838.1"><vh>Configuring</vh></v>
<v t="josephorr.20181105183604.1"><vh>Navigating</vh></v>
<v t="josephorr.20181120155646.1"><vh>@page Directives</vh>
<v t="josephorr.20181120155705.1"><vh>Leo Directives</vh></v>
<v t="josephorr.20181120155718.1"><vh>LeoVue Directives</vh></v>
<v t="josephorr.20190420142344.1"><vh>LeoVue Content Directives</vh></v>
<v t="josephorr.20181120155733.1"><vh>URL Links in LeoVue</vh></v>
</v>
<v t="josephorr.20181007134257.1"><vh>Example Sites</vh></v>
</v>
<v t="josephorr.20170326174511.1"><vh>Sample Content</vh>
<v t="josephorr.20170304113011.1"><vh>Code</vh>
<v t="josephorr.20170304113024.1"><vh>Javascript</vh></v>
<v t="josephorr.20170304115429.1"><vh>Coffeescript</vh></v>
</v>
<v t="josephorr.20170326071708.1"><vh>Cloned Nodes</vh>
<v t="josephorr.20170304115429.1"></v>
<v t="josephorr.20170421082838.1"></v>
</v>
<v t="josephorr.20170511082833.1"><vh>Subtrees</vh>
<v t="josephorr.20170511083006.1"><vh>[Top](static/example.leo)</vh></v>
</v>
<v t="josephorr.20170326072340.1"><vh>File Nodes </vh>
<v t="josephorr.20170408092907.1"><vh>@clean src/services/leo.js</vh></v>
<v t="josephorr.20170328225527.1"><vh>@clean src/components/TreeViewer.vue</vh>
<v t="josephorr.20170328225654.1"><vh><< template >></vh></v>
<v t="josephorr.20170328225718.1"><vh><< script >></vh></v>
<v t="josephorr.20170328225741.1"><vh><< style >></vh></v>
</v>
</v>
<v t="josephorr.20170401144849.1"><vh>URL Nodes</vh>
<v t="josephorr.20180402061306.1"><vh>Basic Web Content</vh>
<v t="josephorr.20170401114539.1"><vh>[Interstellar on Wikipedia](https://en.wikipedia.org/wiki/Interstellar_(film))</vh></v>
<v t="josephorr.20170327233137.1"></v>
</v>
<v t="josephorr.20180331164142.1"><vh>RSS</vh>
<v t="josephorr.20180331164148.1"><vh>@rss [NYT New York Region](https://rss.nytimes.com/services/xml/rss/nyt/NYRegion.xml)</vh></v>
<v t="josephorr.20180401123839.1"><vh>@rss [Slashdot](xttp://rss.slashdot.org/Slashdot/slashdotMain)</vh></v>
<v t="josephorr.20180403094722.1"><vh>@rss [The New Yorker](https://www.newyorker.com/feed/everything)</vh></v>
<v t="josephorr.20181020180335.1"><vh>@rss [NYT Columns of Paul Krugman](https://www.nytimes.com/svc/collections/v1/publish/https://www.nytimes.com/column/paul-krugman/rss.xml)</vh></v>
</v>
<v t="josephorr.20180402071948.1"><vh>XML</vh>
<v t="josephorr.20180402071950.1"><vh>@xml [New York Weather](xttp://w1.weather.gov/xml/current_obs/display.php?stid=KLGA)</vh></v>
</v>
<v t="josephorr.20180407102550.1"><vh>JSON</vh>
<v t="josephorr.20190101125029.1"><vh>@json [NYC Weather](https://www.treebased.io/weather/new%20york)</vh></v>
<v t="josephorr.20190101130116.1"><vh>@json [Math Book](https://openlibrary.org/api/books?format=json&jscmd=data&bibkeys=ISBN:0201558025)</vh></v>
<v t="josephorr.20181028132300.1"><vh>Lists from JSON data</vh>
<v t="josephorr.20181020175246.1"><vh>@json [Papers of Paul Krugman](static/repec-krugman.json)</vh></v>
<v t="josephorr.20181016191554.1"><vh>@json [Research of Jordan Peterson](static/articles-Jordan_Peterson2.json)</vh></v>
</v>
</v>
<v t="josephorr.20180414204138.1"><vh>Book (ISBN)</vh>
<v t="josephorr.20180414204148.1"><vh>@book [Concrete Mathematics](0201558025)</vh></v>
<v t="josephorr.20180414205753.1"><vh>@book [Evolution of Civilizations](0913966576)</vh></v>
</v>
<v t="josephorr.20190103202205.1"><vh>[Import with JSON Nodes - Export to Leo](static/Export.md)</vh></v>
</v>
</v>
<v t="josephorr.20170605184042.1"><vh>Vue.js Components</vh>
<v t="josephorr.20170602132642.1"><vh>Youtube Video</vh></v>
<v t="josephorr.20171104210116.1"><vh>Leaflet Map</vh></v>
<v t="josephorr.20181121183647.1"><vh>@board Leaflet Map Board View</vh></v>
<v t="josephorr.20171104212406.1"><vh>InfoCard</vh></v>
<v t="josephorr.20180909120438.1"><vh>@page Bootstrap Vue</vh>
<v t="josephorr.20180909142644.1"><vh>Alerts</vh></v>
<v t="josephorr.20180909142750.1"><vh>Badges</vh></v>
<v t="josephorr.20181117215156.1"><vh>Card</vh></v>
<v t="josephorr.20180909144649.1"><vh>Carousel</vh></v>
<v t="josephorr.20181117215222.1"><vh>Collapse</vh></v>
<v t="josephorr.20180909144412.1"><vh>Modal</vh></v>
<v t="josephorr.20180909143556.1"><vh>Popovers and Tooltips</vh></v>
<v t="josephorr.20180923194344.1"><vh>Tabs</vh></v>
</v>
<v t="josephorr.20171107100246.1"><vh>Math</vh>
<v t="josephorr.20171108082557.1"><vh>Math Example</vh></v>
<v t="josephorr.20171109060334.1"><vh>More Math</vh></v>
</v>
<v t="josephorr.20171116140935.1"><vh>Tables</vh>
<v t="josephorr.20171115100638.1"><vh>Simple Table</vh></v>
<v t="josephorr.20171116140922.1"><vh>Vue-Table</vh></v>
<v t="josephorr.20171117082339.1"><vh>Vue-Table from dataTable</vh></v>
</v>
<v t="josephorr.20171118020637.1"><vh>Diagrams</vh>
<v t="josephorr.20171120081455.1"><vh>SVG</vh></v>
<v t="josephorr.20171118025718.1"><vh>Simple Graph</vh></v>
<v t="josephorr.20171209143344.1"><vh>Test graph</vh></v>
<v t="josephorr.20171118141254.1"><vh>Subgraphs</vh></v>
<v t="josephorr.20171118025629.1"><vh>Sequence Diagram</vh></v>
<v t="josephorr.20171118030227.1"><vh>Gantt</vh></v>
</v>
<v t="josephorr.20171105173610.1"><vh>Charts</vh>
<v t="josephorr.20171113063513.1"><vh>Charts from dataSets</vh>
<v t="josephorr.20171107074208.1"><vh>@board Line Chart from dataSet</vh></v>
<v t="josephorr.20171107082534.1"><vh>Bar Chart from dataSet</vh></v>
</v>
<v t="josephorr.20171113063533.1"><vh>Charts from dataTables</vh>
<v t="josephorr.20171111182810.1"><vh>@board Line Chart from dataTable</vh></v>
<v t="josephorr.20171111235348.1"><vh>@board Bar Chart from dataTable</vh></v>
<v t="josephorr.20171112004405.1"><vh>@board Pie Chart from dataTable</vh></v>
<v t="josephorr.20171112201003.1"><vh>@board Doughnut Chart from dataTable</vh></v>
<v t="josephorr.20171113062955.1"><vh>@board Polar Chart from dataTable</vh></v>
</v>
</v>
<v t="josephorr.20171109061104.1"><vh>Data</vh>
<v t="josephorr.20171107074219.1"><vh>Data Sets</vh>
<v t="josephorr.20171105192448.1"><vh>@dataSet set1 Some Sample Data (set 1)</vh></v>
<v t="josephorr.20171107081559.1"><vh>@dataSet set2 Some Sample Data (set 2)</vh></v>
</v>
<v t="josephorr.20171109061151.1"><vh>Data Tables</vh>
<v t="josephorr.20171109061229.1"><vh>@dataTable worldpop World historical and predicted populations (in millions)</vh></v>
</v>
<v t="josephorr.20171113063513.1"></v>
<v t="josephorr.20171113063533.1"></v>
</v>
<v t="josephorr.20171104211357.1"><vh>Other Vue Components</vh></v>
</v>
<v t="josephorr.20171120183447.1"><vh>Presentations</vh>
<v t="josephorr.20171120183454.1"><vh>@presentation LeoVue</vh>
<v t="josephorr.20171121003417.1"><vh>LeoVue</vh></v>
<v t="josephorr.20171125133856.1"><vh>Leo</vh></v>
<v t="josephorr.20171125133910.1"><vh>Vue</vh></v>
<v t="josephorr.20171121003459.1"><vh>Reveal</vh>
<v t="josephorr.20171130193113.1"><vh><< Reveal.js >></vh>
<v t="josephorr.20171130193243.1"><vh>Title</vh></v>
<v t="josephorr.20171130193424.1"><vh>Hello</vh></v>
<v t="josephorr.20171130193455.1"><vh>Vertical Slides</vh></v>
<v t="josephorr.20171130193533.1"><vh>Zoom.js</vh></v>
<v t="josephorr.20171130193634.1"><vh>Fragments</vh></v>
<v t="josephorr.20171130193755.1"><vh>Transitions</vh></v>
<v t="josephorr.20171130193909.1"><vh>Themes</vh></v>
<v t="josephorr.20171206184322.1"><vh>Backgrounds</vh></v>
<v t="josephorr.20171208074617.1"><vh>Transitions</vh></v>
<v t="josephorr.20171208074735.1"><vh>Override Transitions</vh></v>
<v t="josephorr.20171208074819.1"><vh>Speaker View</vh></v>
<v t="josephorr.20171208074939.1"><vh>Pause</vh></v>
<v t="josephorr.20171208075016.1"><vh>And More</vh></v>
<v t="josephorr.20171208075048.1"><vh>End</vh></v>
</v>
</v>
<v t="josephorr.20171125133949.1"><vh>Vue in Presentations</vh></v>
<v t="josephorr.20171125134128.1"><vh>Charts</vh></v>
<v t="josephorr.20171125174856.1"><vh>Tables</vh></v>
<v t="josephorr.20171221182256.1"><vh>Infocard</vh></v>
<v t="josephorr.20171221182359.1"><vh>Infocard with Graph</vh></v>
<v t="josephorr.20171125175250.1"><vh>Sortable Table</vh></v>
<v t="josephorr.20171121003503.1"><vh>SVG Diagrams</vh></v>
<v t="josephorr.20171209190744.1"><vh>Mermaid Diagrams</vh></v>
<v t="josephorr.20171121003508.1"><vh>Youtube</vh></v>
<v t="josephorr.20171207180149.1"><vh>Layout Components</vh></v>
<v t="josephorr.20171210104012.1"><vh>More about LeoVue Presentations</vh></v>
<v t="josephorr.20171125134539.1"><vh>Math</vh></v>
<v t="josephorr.20171126181736.1"><vh>Markdown</vh></v>
<v t="josephorr.20171126192228.1"><vh>Javascript Example</vh></v>
<v t="josephorr.20171211070817.1"><vh>Shared Slides</vh></v>
<v t="josephorr.20171130193909.1"></v>
</v>
</v>
<v t="josephorr.20170401144849.1"></v>
<v t="josephorr.20190131173139.1"><vh>Data Nodes</vh>
<v t="josephorr.20190330084806.1"><vh>[Data in Leo/LeoVue - Quick Look](static/Data.md)</vh></v>
<v t="josephorr.20171109061104.1"></v>
<v t="josephorr.20190209062118.1"><vh>Data from Node Groups</vh>
<v t="josephorr.20190202185628.1"><vh>@board @group-4 Research of Jordan B Peterson</vh>
<v t="josephorr.20190202185628.2"><vh>@dataSet set2-0a Interpersonal Resonance: Developing Interpersonal Biofeedback for the Promotion of Empathy and Social Entrainment</vh></v>
<v t="josephorr.20190202185628.3"><vh>@dataSet set2-1 Improving the effectiveness of performance feedback by considering personality traits and task demands</vh></v>
<v t="josephorr.20190202185628.4"><vh>@dataSet set2-3 The publication trajectory of graduate students, post-doctoral fellows, and new professors in psychology</vh></v>
<v t="josephorr.20190202185628.5"><vh>@dataSet set2-4 Don't Get Too Excited: Assessing Individual Differences in the Down-Regulation of Positive Emotions</vh></v>
<v t="josephorr.20190202185628.6"><vh>@dataSet set2-5 Validating self-paced sentence-by-sentence reading: story comprehension, recall, and narrative transportation</vh></v>
<v t="josephorr.20190202185628.7"><vh>@dataSet set2-6 Ideological Reactivity: Political Conservatism and Brain Responsivity to Emotional and Neutral Stimuli</vh></v>
<v t="josephorr.20190202185628.8"><vh>@dataSet set2-7 From Dispositions to Goals to Ideology: Toward a Synthesis of Personality and Social Psychological Approaches to Political Orientation</vh></v>
<v t="josephorr.20190202185628.9"><vh>@dataSet set2-8 Openness to Experience and Intellect Differentially Predict Creative Achievement in the Arts and Sciences: Openness, Intellect, and Creativity</vh></v>
<v t="josephorr.20190202185628.10"><vh>@dataSet set2-9 Quantifying the scientific output of new researchers using the zp-index</vh></v>
<v t="josephorr.20190202185628.11"><vh>@dataSet set2-10 Differences in Media Preference Mediate the Link Between Personality and Political Orientation</vh></v>
<v t="josephorr.20190202185628.12"><vh>@dataSet set2-11 A scalable goal-setting intervention closes both the gender and ethnic minority achievement gap</vh></v>
<v t="josephorr.20190202185628.13"><vh>@dataSet set2-12 Why Do Conservatives Report Being Happier Than Liberals? The Contribution of Neuroticism</vh></v>
<v t="josephorr.20190202185628.14"><vh>@dataSet set2-13 Confounding valence and arousal: What really underlies political orientation?</vh></v>
<v t="josephorr.20190202185628.15"><vh>@dataSet set2-14 Openness to experience, intellect and cognitive ability</vh></v>
<v t="josephorr.20190202185628.16"><vh>@dataSet set2-15 System Justification and Electrophysiological Responses to Feedback: Support for a Positivity Bias</vh></v>
<v t="josephorr.20190202185628.17"><vh>@dataSet set2-16 Spiritual Liberals and Religious Conservatives</vh></v>
<v t="josephorr.20190202185628.18"><vh>@dataSet set2-17 Does Cultural Exposure Partially Explain the Association Between Personality and Political Orientation?</vh></v>
<v t="josephorr.20190202185628.19"><vh>@dataSet set2-18 Preliminary Support for a Generalized Arousal Model of Political Conservatism</vh></v>
<v t="josephorr.20190202185628.20"><vh>@dataSet set2-19 Unifying the Aspects of the Big Five, the Interpersonal Circumplex, and Trait Affiliation</vh></v>
<v t="josephorr.20190202185628.21"><vh>@dataSet set2-20 Openness to Experience, Intellect, and Cognitive Ability</vh></v>
<v t="josephorr.20190202185628.22"><vh>@dataSet set2-21 Personal narratives as the highest level of cognitive integration</vh></v>
<v t="josephorr.20190202185628.23"><vh>@dataSet set2-22 Psychological Entropy: A Framework for Understanding Uncertainty-Related Anxiety</vh></v>
<v t="josephorr.20190202185628.24"><vh>@dataSet set2-23 Serene Arts: The Effect of Personal Unsettledness and of Paintings' Narrative Structure on Personality</vh></v>
<v t="josephorr.20190202185628.25"><vh>@dataSet set2-24 From madness to genius: The Openness/Intellect trait domain as a paradoxical simplex</vh></v>
<v t="josephorr.20190202185628.26"><vh>@dataSet set2-25 Serene Arts: The effect of personal unsettledness and of paintings' narrative structure on personality</vh></v>
<v t="josephorr.20190202185628.27"><vh>@dataSet set2-26 Creative Exploration and Its Illnesses</vh></v>
<v t="josephorr.20190202185628.28"><vh>@dataSet set2-27 Compassionate Liberals and Polite Conservatives: Associations of Agreeableness With Political Ideology and Moral Values</vh></v>
<v t="josephorr.20190202185628.29"><vh>@dataSet set2-28 Positive Mood Effects on Delay Discounting</vh></v>
<v t="josephorr.20190202185628.30"><vh>@dataSet set2-29 The Benefits of Writing</vh></v>
<v t="josephorr.20190202185628.31"><vh>@dataSet set2-30 Setting, Elaborating, and Reflecting on Personal Goals Improves Academic Performance</vh></v>
<v t="josephorr.20190202185628.32"><vh>@dataSet set2-31 Extraversion, neuroticism, and the prisoner’s dilemma</vh></v>
<v t="josephorr.20190202185628.33"><vh>@dataSet set2-32 Exploring the link between reading fiction and empathy: Ruling out individual differences and examining outcomes</vh></v>
<v t="josephorr.20190202185628.34"><vh>@dataSet set2-33 On Being Moved by Art: How Reading Fiction Transforms the Self</vh></v>
<v t="josephorr.20190202185628.35"><vh>@dataSet set2-34 Defenceless against art? Impact of reading fiction on emotion in avoidantly attached individuals</vh></v>
<v t="josephorr.20190202185628.36"><vh>@dataSet set2-35 Metatraits of the Big Five Differentially Predict Engagement and Restraint of Behavior</vh></v>
<v t="josephorr.20190202185628.37"><vh>@dataSet set2-36 Personality and Language Use in Self-Narratives</vh></v>
<v t="josephorr.20190202185628.38"><vh>@dataSet set2-37 Delay discounting: Interactions between personality and cognitive ability</vh></v>
<v t="josephorr.20190202185628.39"><vh>@dataSet set2-38 Predicting creativity and academic success with a “Fake-Proof” measure of the Big Five</vh></v>
<v t="josephorr.20190202185628.40"><vh>@dataSet set2-39 Externalizing Behavior and the Higher Order Factors of the Big Five</vh></v>
<v t="josephorr.20190202185628.41"><vh>@dataSet set2-40 Cognitive Abilities Involved in Insight Problem Solving: An Individual Differences Model</vh></v>
<v t="josephorr.20190202185628.42"><vh>@dataSet set2-41 Morning people are stable people: Circadian rhythm and the higher-order factors of the Big Five</vh></v>
<v t="josephorr.20190202185628.43"><vh>@dataSet set2-42 A Psycho-ontological Analysis of Genesis 2-6.</vh></v>
<v t="josephorr.20190202185628.44"><vh>@dataSet set2-43 An evaluation of early and late stage attentional processing of positive and negative information in dysphoria</vh></v>
<v t="josephorr.20190202185628.45"><vh>@dataSet set2-44 Reducing memory distortions in egoistic self-enhancers: Effects of indirect social facilitation</vh></v>
<v t="josephorr.20190202185628.46"><vh>@dataSet set2-45 Between Facets and Domains: 10 Aspects of the Big Five</vh></v>
<v t="josephorr.20190202185628.47"><vh>@dataSet set2-46 Prefrontal Cognitive Ability, Intelligence, Big Five Personality, and the Prediction of Advanced Academic and Workplace Performance</vh></v>
<v t="josephorr.20190202185628.48"><vh>@dataSet set2-47 Religion, sovereignty, natural rights, and the constituent elements of experience</vh></v>
<v t="josephorr.20190202185628.49"><vh>@dataSet set2-48 The Bitter-Sweet Labor of Emoting: The Linguistic Comparison of Writers and Physicists</vh></v>
<v t="josephorr.20190202185628.50"><vh>@dataSet set2-49 The Dopamine D4 Receptor Gene and Moderation of the Association Between Externalizing Behavior and IQ</vh></v>
<v t="josephorr.20190202185628.51"><vh>@dataSet set2-50 Differential effects of naltrexone on cardiac, subjective and behavioural reactions to acute ethanol intoxication</vh></v>
<v t="josephorr.20190202185628.52"><vh>@dataSet set2-51 Self-Liking and Self-Competence Separate Self-Evaluation From Self-Deception: Associations With Personality, Ability, and Achievement</vh></v>
<v t="josephorr.20190202185628.53"><vh>@dataSet set2-52 Bookworms versus nerds: Exposure to fiction versus non-fiction, divergent associations with social ability, and the simulation of fictional social worlds</vh></v>
<v t="josephorr.20190202185628.54"><vh>@dataSet set2-53 Heart rate increase to alcohol administration and video lottery terminal play among probable pathological gamblers and nonpathological gamblers</vh></v>
<v t="josephorr.20190202185628.55"><vh>@dataSet set2-54 NUANCE 3.0: Using genetic programming to model variable relationships</vh></v>
<v t="josephorr.20190202185628.56"><vh>@dataSet set2-55 You Drink, I Drink: Alcohol Consumption, Social Context and Personality.</vh></v>
<v t="josephorr.20190202185628.57"><vh>@dataSet set2-56 Reliability, Validity, and Factor Structure of the Creative Achievement Questionnaire</vh></v>
<v t="josephorr.20190202185628.58"><vh>@dataSet set2-57 Sources of Openness/Intellect: Cognitive and Neuropsychological Correlates of the Fifth Factor of Personality</vh></v>
<v t="josephorr.20190202185628.59"><vh>@dataSet set2-58 Matching effects on eating: Do individual differences make a difference?</vh></v>
<v t="josephorr.20190202185628.60"><vh>@dataSet set2-59 Attentional biases and memory distortions in self-enhancers</vh></v>
<v t="josephorr.20190202185628.61"><vh>@dataSet set2-60 Play and the Regulation of Aggression</vh></v>
<v t="josephorr.20190202185628.62"><vh>@dataSet set2-61 Self-induced memory distortions and the allocation of processing resources at encoding and retrieval</vh></v>
<v t="josephorr.20190202185628.63"><vh>@dataSet set2-62 Defensive Copers Show a Deficit in Passive Avoidance Learning on Newman's Go/No-Go Task: Implications for Self-Deception and Socialization</vh></v>
<v t="josephorr.20190202185628.64"><vh>@dataSet set2-63 Self-Deception and Failure to Modulate Responses Despite Accruing Evidence of Error</vh></v>
<v t="josephorr.20190202185628.65"><vh>@dataSet set2-64 Neuropsychological Performance, IQ, Personality, and Grades in a Longitudinal Grade-School Male Sample</vh></v>
<v t="josephorr.20190202185628.66"><vh>@dataSet set2-65 Decreased Latent Inhibition Is Associated With Increased Creative Achievement in High-Functioning Individuals.</vh></v>
<v t="josephorr.20190202185628.67"><vh>@dataSet set2-66 You can neither remember nor forget what you do not understand</vh></v>
<v t="josephorr.20190202185628.68"><vh>@dataSet set2-67 Complexity Management Theory: Motivation for Ideological Rigidity and Social Conflict</vh></v>
<v t="josephorr.20190202185628.69"><vh>@dataSet set2-68 Higher-order factors of the Big Five predict conformity</vh></v>
<v t="josephorr.20190202185628.70"><vh>@dataSet set2-69 Self-deception and impaired categorization of anomaly</vh></v>
<v t="josephorr.20190202185628.71"><vh>@dataSet set2-70 Openness and extraversion are associated with reduced latent inhibition: Replication and commentary</vh></v>
<v t="josephorr.20190202185628.72"><vh>@dataSet set2-71 Higher-order factors of the B5 predict conformity: Are there neuroses of health?</vh></v>
<v t="josephorr.20190202185628.73"><vh>@dataSet set2-72 Reliability and validity of alcohol-induced heart rate increase as a measure of sensitivity to the stimulant properties of alcohol</vh></v>
<v t="josephorr.20190202185628.74"><vh>@dataSet set2-73 Metaphoric threat is more real than real threat</vh></v>
<v t="josephorr.20190202185628.75"><vh>@dataSet set2-74 Awareness may be existence as well as (higher-order) thought</vh></v>
<v t="josephorr.20190202185628.76"><vh>@dataSet set2-75 Latent Inhibition and Openness to Experience in a high-achieving student population</vh></v>
<v t="josephorr.20190202185628.77"><vh>@dataSet set2-76 Maps of Meaning: The architecture of belief (precis)</vh></v>
<v t="josephorr.20190202185628.78"><vh>@dataSet set2-77 Individual motivation for group aggression: Psychological, mythological and neuropsychological perspectives</vh></v>
<v t="josephorr.20190202185628.79"><vh>@dataSet set2-78 Disinhibited Personality and Sensitivity to Alcohol Reinforcement</vh></v>
<v t="josephorr.20190202185628.80"><vh>@dataSet set2-79 Biphasic Effects of Alcohol on Heart Rate Are Influenced by Alcoholic Family History and Rate of Alcohol Ingestion</vh></v>
<v t="josephorr.20190202185628.81"><vh>@dataSet set2-80 Ethanol-Induced Change in Cardiac and Endogenous Opiate Function and Risk for Alcoholism</vh></v>
<v t="josephorr.20190202185628.82"><vh>@dataSet set2-81 Characteristics and Putative Mechanisms in Boys at Risk for Drug Abuse and Aggression</vh></v>
<v t="josephorr.20190202185628.83"><vh>@dataSet set2-82 Fighting as a Function of Personality and Neuropsychological Measures</vh></v>
<v t="josephorr.20190202185628.84"><vh>@dataSet set2-83 Alcoholism: The role of different motivational systems</vh></v>
<v t="josephorr.20190202185628.85"><vh>@dataSet set2-84 Provocation, Acute Alcohol Intoxication, Cognitive Performance, and Aggression</vh></v>
<v t="josephorr.20190202185628.86"><vh>@dataSet set2-85 Drugs and aggression: Correlations, crime and human manipulative studies and some proposed mechanisms</vh></v>
<v t="josephorr.20190202185628.87"><vh>@dataSet set2-86 Anxiety sensitivity and self-reported alcohol consumption rates in university women</vh></v>
<v t="josephorr.20190202185628.88"><vh>@dataSet set2-87 Cardiovascular reactivity as a predictor of alcohol consumption in a taste test situation</vh></v>
<v t="josephorr.20190202185628.89"><vh>@dataSet set2-88 A biosocial model of the alcohol-aggression relationship</vh></v>
<v t="josephorr.20190202185628.90"><vh>@dataSet set2-89 Heart-rate reactivity and alcohol consumption among sons of alcoholics and sons of non-alcoholics</vh></v>
<v t="josephorr.20190202185628.91"><vh>@dataSet set2-90 Risk for alcoholism, antisocial behavior, and response perseveration</vh></v>
<v t="josephorr.20190202185628.92"><vh>@dataSet set2-91 Alcohol, serotonin and aggression</vh></v>
<v t="josephorr.20190202185628.93"><vh>@dataSet set2-92 Social variability, alcohol consumption, and the inherited predisposition to alcoholism</vh></v>
<v t="josephorr.20190202185628.94"><vh>@dataSet set2-93 Factor structure and correlates of the Tridimensional Personality Questionnaire</vh></v>
<v t="josephorr.20190202185628.95"><vh>@dataSet set2-94 Cognitive Dysfunction and the Inherited Predisposition to Alcoholism:</vh></v>
<v t="josephorr.20190202185628.96"><vh>@dataSet set2-95 Etiology (of Addiction)</vh></v>
<v t="josephorr.20190202185628.97"><vh>@dataSet set2-96 A biobehavioural model for the inherited predisposition to alcoholism</vh></v>
<v t="josephorr.20190202185628.98"><vh>@dataSet set2-97 The Tridimensional Personality Questionnaire and the inherited risk for alcoholism</vh></v>
<v t="josephorr.20190202185628.99"><vh>@dataSet set2-98 Attention-deficit hyperactivity disorder, childhood conduct disorder, and alcoholism: Is there an association?</vh></v>
<v t="josephorr.20190202185628.100"><vh>@dataSet set2-99 Acute alcohol intoxication and cognitive functioning</vh></v>
<v t="josephorr.20190202185628.101"><vh>@dataSet set2-100 Information processing, neuropsychological function, and the inherited predisposition to alcoholism</vh></v>
<v t="josephorr.20190202185628.102"><vh>@dataSet set2-101 Acute alcohol intoxication and cognitive functioning.</vh></v>
<v t="josephorr.20190202185628.103"><vh>@dataSet set2-102 A heuristic model for the inherited predisposition to alcoholism</vh></v>
<v t="josephorr.20190202185628.104"><vh>@dataSet set2-103 Inherited Predisposition to Alcoholism: Characteristics of Sons of Male Alcoholics</vh></v>
<v t="josephorr.20190202185628.105"><vh>@dataSet set2-104 Potential psychological markers for the predisposition to alcoholism</vh></v>
<v t="josephorr.20190202185628.106"><vh>@dataSet set2-105 Response to reward and punishment and the inherited risk for alcoholism</vh></v>
<v t="josephorr.20190202185628.107"><vh>@dataSet set2-107 Autonomic hyperreactivity and risk for alcoholism</vh></v>
</v>
<v t="josephorr.20190204084431.1"><vh>@board Research of Jordan B Peterson - Summary Table From Group</vh></v>
<v t="josephorr.20190209064626.1"><vh>Jordan B Peterson Word Cloud</vh></v>
</v>
<v t="josephorr.20190209062531.1"><vh>Metadata</vh>
<v t="josephorr.20190330092530.1"><vh>@page @mgroup-1 Demo nodes for metadata</vh>
<v t="josephorr.20190330092558.1"><vh>Demo Item 1</vh></v>
<v t="josephorr.20190330092627.1"><vh>Demo Item 2</vh></v>
</v>
<v t="josephorr.20190330102716.1"><vh>Metadata Table Demo</vh></v>
<v t="josephorr.20190131173223.1"><vh>@mgroup-1 Movies - Data</vh>
<v t="josephorr.20190131173340.1"><vh>[Interstellar](https://en.wikipedia.org/wiki/Interstellar_(film))</vh></v>
<v t="josephorr.20190131173315.1"><vh>[Days of Heaven](https://en.wikipedia.org/wiki/Days_of_Heaven)</vh></v>
<v t="josephorr.20190216160449.1"><vh>[Pathar Panchali](https://en.wikipedia.org/wiki/Pather_Panchali)</vh></v>
</v>
<v t="josephorr.20190209065152.1"><vh>Movies - Summary Table</vh></v>
</v>
<v t="josephorr.20190217141559.1"><vh>Tags</vh>
<v t="josephorr.20190216192019.1"><vh>Tag Demo</vh></v>
</v>
<v t="josephorr.20190216155227.1"><vh>Import and Export</vh>
<v t="josephorr.20190216155232.1"><vh>[Importing JSON to Leo](static/Export.md)</vh></v>
</v>
</v>
<v t="josephorr.20180123102417.1"><vh>Summary Nodes</vh>
<v t="josephorr.20180123102440.1"><vh>Mermaid</vh>
<v t="josephorr.20180123094605.1"><vh>@mermaidtd (Simple Example Top Down)</vh>
<v t="josephorr.20180123100140.1"><vh>{A}</vh>
<v t="josephorr.20180123100157.1"><vh>(G)</vh></v>
<v t="josephorr.20180123100145.1"><vh>((B))</vh>
<v t="josephorr.20180123100150.1"><vh>C</vh>
<v t="josephorr.20180123100152.1"><vh>D</vh>
<v t="josephorr.20180123100154.1"><vh>E</vh></v>
<v t="josephorr.20180123100155.1"><vh>F</vh></v>
<v t="josephorr.20180123100157.1"></v>
</v>
</v>
<v t="josephorr.20180123100152.1"></v>
</v>
</v>
</v>
<v t="josephorr.20180123102749.1"><vh>@mermaidlr People Chart: Left to Right</vh>
<v t="josephorr.20180123102805.1"><vh>Friends</vh>
<v t="josephorr.20180123102842.1"><vh>Ted</vh>
<v t="josephorr.20180124190020.1"><vh>Friends</vh>
<v t="josephorr.20180124190030.1"><vh>Mr Z</vh></v>
<v t="josephorr.20180124190042.1"><vh>Barb</vh></v>
<v t="josephorr.20180123102923.1"><vh>Bubba</vh></v>
</v>
</v>
<v t="josephorr.20180123102839.1"><vh>Alice</vh></v>
<v t="josephorr.20180123102823.1"><vh>Bob</vh></v>
<v t="josephorr.20180123102846.1"><vh>Jane</vh></v>
</v>
<v t="josephorr.20180123102809.1"><vh>Enemies</vh>
<v t="josephorr.20180123102846.1"></v>
<v t="josephorr.20180123102850.1"><vh>The Guy with the Mirror Shades</vh></v>
</v>
<v t="josephorr.20180123102814.1"><vh>Neutral</vh>
<v t="josephorr.20180123102901.1"><vh>The Flower Lady</vh></v>
<v t="josephorr.20180123102923.1"></v>
</v>
</v>
<v t="josephorr.20180125092033.1"><vh>@mermaidrl People Chart: Right to Left</vh>
<v t="josephorr.20180125092033.2"><vh>Friends</vh>
<v t="josephorr.20180125092033.3"><vh>Ted</vh>
<v t="josephorr.20180125092033.4"><vh>Friends</vh>
<v t="josephorr.20180125092033.5"><vh>Mr Z</vh></v>
<v t="josephorr.20180125092033.6"><vh>Barb</vh></v>
<v t="josephorr.20180125092033.16"><vh>Bubba</vh></v>
</v>
</v>
<v t="josephorr.20180125092033.8"><vh>Alice</vh></v>
<v t="josephorr.20180125092033.9"><vh>Bob</vh></v>
<v t="josephorr.20180125092033.12"><vh>Jane</vh></v>
</v>
<v t="josephorr.20180125092033.11"><vh>Enemies</vh>
<v t="josephorr.20180125092033.12"></v>
<v t="josephorr.20180125092033.13"><vh>The Guy with the Mirror Shades</vh></v>
</v>
<v t="josephorr.20180125092033.14"><vh>Neutral</vh>
<v t="josephorr.20180125092033.15"><vh>The Flower Lady</vh></v>
<v t="josephorr.20180125092033.16"></v>
</v>
</v>
<v t="josephorr.20180125092052.1"><vh>@mermaidlr App Planning</vh>
<v t="josephorr.20180125092129.1"><vh>Server</vh>
<v t="josephorr.20180125092331.1"><vh>Form.io</vh>
<v t="josephorr.20180125092343.1"><vh>((Brent ))</vh></v>
</v>
</v>
<v t="josephorr.20180125092134.1"><vh>Devops</vh>
<v t="josephorr.20180125092159.1"><vh>AWS</vh></v>
<v t="josephorr.20180125092210.1"><vh>Ansible</vh>
<v t="josephorr.20180125092343.1"></v>
</v>
<v t="josephorr.20180125092213.1"><vh>Atlas</vh></v>
</v>
<v t="josephorr.20180125092142.1"><vh>Client</vh>
<v t="josephorr.20180125092224.1"><vh>(Vue.js)</vh>
<v t="josephorr.20180125092343.1"></v>
<v t="josephorr.20180125092353.1"><vh>((Alice))</vh></v>
</v>
<v t="josephorr.20180125092240.1"><vh>Components</vh>
<v t="josephorr.20180125092259.1"><vh>Form.io</vh>
<v t="josephorr.20180128202836.1"><vh>((Edward))</vh></v>
</v>
<v t="josephorr.20180125092318.1"><vh>Charts</vh>
<v t="josephorr.20180128202836.1"></v>
</v>
<v t="josephorr.20180125093540.1"><vh>Tables</vh>
<v t="josephorr.20180128202836.1"></v>
</v>
</v>
</v>
</v>
<v t="josephorr.20180201133413.1"><vh>@mermaidtd Process</vh>
<v t="josephorr.20180201133420.1"><vh>A</vh>
<v t="josephorr.20180201133422.1"><vh>B</vh>
<v t="josephorr.20180201133431.1"><vh>(F)</vh></v>
<v t="josephorr.20180201133425.1"><vh>(D)</vh></v>
</v>
<v t="josephorr.20180201133424.1"><vh>C</vh>
<v t="josephorr.20180201133429.1"><vh>(E)</vh></v>
<v t="josephorr.20180201133431.1"></v>
</v>
</v>
</v>
</v>
<v t="josephorr.20180116093044.1"><vh>Kanban</vh>
<v t="josephorr.20180116093050.1"><vh>@kanban LeoVue Project Kanban</vh>
<v t="josephorr.20180122081638.1"><vh>Later</vh>
<v t="josephorr.20180122081646.1"><vh>Static Site upgrade</vh></v>
<v t="josephorr.20180130120957.1"><vh>CSS cleanup</vh></v>
<v t="josephorr.20180116093218.1"><vh>Codeceptjs</vh></v>
<v t="josephorr.20180420165601.1"><vh>Runkit Component</vh></v>
</v>
<v t="josephorr.20180116093114.1"><vh>To Do</vh>
<v t="josephorr.20180402070616.1"><vh>Issues</vh></v>
<v t="josephorr.20180305204208.1"><vh>Fix animation on initial node click</vh></v>
<v t="josephorr.20180304114723.1"><vh>Cloud Diagrams</vh></v>
<v t="josephorr.20180122081417.1"><vh>Form.io integration</vh></v>
<v t="josephorr.20180122081825.1"><vh>Nested Viewer</vh>
<v t="josephorr.20180122081835.1"><vh>standalone version</vh></v>
<v t="josephorr.20180122081848.1"><vh>separate repo</vh></v>
</v>
<v t="josephorr.20180122081704.1"><vh>Content</vh>
<v t="josephorr.20180122175250.1"><vh>Tree of Life</vh></v>
<v t="josephorr.20180122081707.1"><vh>Gospels</vh></v>
<v t="josephorr.20180122081714.1"><vh>AI Outline</vh></v>
</v>
<v t="josephorr.20180122082124.1"><vh>Standalone Script</vh></v>
<v t="josephorr.20180122081434.1"><vh>Kanban v2</vh>
<v t="josephorr.20180122081528.1"><vh>content pane</vh></v>
</v>
</v>
<v t="josephorr.20180116093121.1"><vh>Doing</vh>
<v t="josephorr.20190105100914.1"><vh>@tab</vh></v>
<v t="josephorr.20190105100846.1"><vh>graphs from group</vh></v>
<v t="josephorr.20180420165635.1"><vh>?page=</vh></v>
<v t="josephorr.20180420165609.1"><vh>@sort</vh></v>
</v>
<v t="josephorr.20180116093125.1"><vh>Done</vh>
<v t="josephorr.20190105100838.1"><vh>word cloud component</vh></v>
<v t="josephorr.20180303162711.1"><vh>Bookmarks in subtree nodes</vh></v>
<v t="josephorr.20180303171634.1"><vh>Auto outline wikipedia pages</vh></v>
<v t="josephorr.20180116093131.1"><vh>Mermaid from subtree</vh>
<v t="josephorr.20180125105051.1"><vh>Doing</vh></v>
<v t="josephorr.20180125105055.1"><vh>Done</vh>
<v t="josephorr.20180125105332.1"><vh>markup view</vh></v>
<v t="josephorr.20180125105145.1"><vh>properties</vh>
<v t="josephorr.20180125105157.1"><vh>font-awesome</vh></v>
<v t="josephorr.20180125105322.1"><vh>styles</vh></v>
<v t="josephorr.20180125105355.1"><vh>height</vh></v>
</v>
<v t="josephorr.20180128123139.1"><vh>click goto</vh></v>
<v t="josephorr.20180128123133.1"><vh>tooltip</vh></v>
<v t="josephorr.20180125105208.1"><vh>directive</vh></v>
<v t="josephorr.20180125105403.1"><vh>center</vh></v>
</v>
</v>
<v t="josephorr.20180116093153.1"><vh>Kanban v1</vh></v>
<v t="josephorr.20180201111523.1"><vh>Cascading Directives</vh></v>
<v t="josephorr.20180420165631.1"><vh>@page</vh></v>
<v t="josephorr.20180420165801.1"><vh>logo and title</vh></v>
</v>
</v>
</v>
</v>
</vnodes>
<tnodes>
<t tx="josephorr.20170228222411.2">@language html
<table style="width:780px;"><tr>
<td>
<figure>
<img src="static/images/leo-leaflet.png" width="384">
<figcaption>Leo</figcaption>
</figure>
</td>
<td>
<figure>
<img src="static/images/leovue-leaflet.png" width="381">
<figcaption>LeoVue</figcaption>
</figure>
</td>
</tr></table>
<div style="width:600px;margin-left:auto;margin-right:auto; margin-top:20px">
<div style="text-align:center;font-size:70px;margin-bottom:15px;font-weight:bold;display:none">LeoVue</div>
<div style="text-align:center;font-size:40px;margin-bottom:15px;font-weight:normal">Leo + Vue = LeoVue</div>
<p>
<strong>Leo</strong> is a uniquely powerful and versatile outlining editor. It is open source and runs
on Windows/Mac/Linux. <a target="_blank" href="http://www.leoeditor.com">More about Leo.</a>
</p>
<p>
Leo allows you to create content items and display them in multiple hierarchies.
</p>
<p>
<strong>LeoVue</strong> is a web app created with the <a target="_blank" href="https://vuejs.org/">Vue.js</a> framework. Use LeoVue to create complex sites from Leo outlines. Add Vue components to content items. Assemble content items into multiple views and pages. Load sites and data into nodes.
<p>
<p>
The website you are viewing was created with Leo, and is being displayed by LeoVue. The tree menu is created from one or more Leo outlines, and the content is either created in Leo or is loaded from external files and sites.
</p>
</div></t>
<t tx="josephorr.20170304113011.1">@language md
## Nodes with Code Content
Content items in Leo outlines can be code.
To mark content as code, put the following in the first line of the node content:
<span class='directive'>@language languagename</span>
for example:
<span class='directive'>@language javascript</span>
When Leo Viewer encounters a node with a language directive as the first line, it displays formatted code, unless the language is 'html' or 'md' in which case Leo Viewer displays the output view, not the source.
</t>
<t tx="josephorr.20170304113024.1">@language javascript
function getLanguage(text){
var language = '';
var re = /^@language (\w+)/;
var languageTokens = re.exec(text);
if (languageTokens){
language = languageTokens[1];
console.log(language);
}
return language;
}</t>
<t tx="josephorr.20170304115429.1">@language coffeescript
Client = require 'ftp'
async = require 'async'
remote_path ='/public_html/targetfolder/'
local_path = 'data/'
fs = require 'fs'
c = new Client()
c.on 'ready', ()->
c.list remote_path, (err, list)->
if (err) then console.error 'list', err
file_funcs = (getFileFunc file.name for file in list)
async.series file_funcs, ()-> c.end()
getFileFunc = (name) ->
(callback)->
if /csv$/.test name
c.get remote_path + name, (err, stream)->
console.log 'Getting ', name
if err then console.log 'get', err
stream.once 'close', callback
stream.pipe fs.createWriteStream local_path + name
else
console.log "Skipping", name
callback()
c.connect(
host : 'ftp.targethost.com'
user : '[email protected]'
password : 'password'
)</t>
<t tx="josephorr.20170326071708.1">## One Node, Multiple Paths
Leo Nodes can be "cloned nodes". This means that two different nodes can point to the same shared content.
As an example, the nodes in this branch are clones of nodes appearing elsewhere in this document.
### The Clone Node Menu
Nodes which are clones appear with a double square icon at the end of the node title:
<img width="700px" src="static/images/leovue-cloned-icon.png">
Clicking on the clone icon brings up a menu of all locations in the tree at which the cloned node is located:
<img width="700px" src="static/images/leovue-cloned-menu.png">
</t>
<t tx="josephorr.20170326072340.1">## Load File Content into Node
Leo nodes can create external files. Leo keeps a link to an external file and will sync with any changes in the external file. </t>
<t tx="josephorr.20170326174500.1">@language md
# About Leo
Leo is a unique text editor and IDE that facilitates a new way of looking at text documents, including code files.
The purpose of this document is to make a brief introduction to creating tree-based content with Leo and
displaying it with LeoVue.
<toc></toc></t>
<t tx="josephorr.20170326174511.1">@language md
@wrap
## Content Creation with Leo
Using Leo, you can create content in your outline tree with either plain text, html or markdown.
You can also create other types of content nodes:
* **Code content nodes** with syntax highlighting
* **Cloned nodes** (content items that appear in more than one place in your outline).
* **Subtrees** - nodes that load other Leo outlines
* **File Nodes** - nodes that load content from files
* **Url Nodes** - nodes that load content from a url
See the nodes below for examples of the above items.</t>
<t tx="josephorr.20170327233126.1">@language md
# LeoVue
**LeoVue** is a web app that can display files created with
<a href='http://www.leoeditor.com'>Leo</a>, the open source outlining editor and IDE.
Using **Leo**, you can create outlined content. Using **LeoVue** you can display this
content as a web page.
**LeoVue** extends the capabilities of Leo by allowing outline nodes to load content not just from
Leo outlines, but from
other files, including text, html or markdown files, or even other Leo files.
The content you are reading was created in Leo. If you're reading this on the LeoVue
site, then this content is being displayed via LeoVue.
LeoVue is licensed under the MIT license.
<toc></toc></t>
<t tx="josephorr.20170327233137.1">Was https://kaleguy.github.io/leo-tutorials/feature-introduction.md</t>
<t tx="josephorr.20170327233223.1"></t>
<t tx="josephorr.20170327233236.1">@language md
# Additional Features of Leo
Leo has more features than can be listed in a brief summary.
Leo has features that make it particularly suitable for creating documentation of code.
More advanced users of Leo are able to use Leo to practice a type of "Literate Programming", that is, a style of
programming where documentation comes first, and code is generated from the documentation or
is developed in tandem with it.
Some additional features include:
* IDE editing features in content pane
* Fully programmable, the Leo Outline is available to Python scripts running in Leo.
* Compose programs from Outlines
* Create unit tests automatically with @test and @suite scripts
* Import other outline formats</t>
<t tx="josephorr.20170327233257.1">@language md
# Installing Leo
See the [Installation page on the Leo Site](http://leoeditor.com/installing.html).
For Mac and Linux users: you may need to install the Droid Sans Mono font (the default Leo font).</t>
<t tx="josephorr.20170328225527.1">@language html
<< template >><br/>
<< script >><br/>
<< style >>
</t>
<t tx="josephorr.20170328225654.1">@language xml
<template>
<div class="treeviewer">
<splitpane :leftPaneStyle="leftPaneStyle">
<ul slot="left" class="left-pane" :style="ulStyle">
<div v-for="(itemdata, index) in data">
<item
class="item"
:model="itemdata"
:top="getTop(index)"
:textItems="text"
:targetEl="target.el">
</item>
</div>
</ul>
<contentpane slot="right"></contentpane>
</splitpane>
</div>
</template>
</t>
<t tx="josephorr.20170328225718.1">@language javascript
<script>
import Item from './Item'
import ContentPane from './ContentPane'
import SplitPane from './SplitPane'
let target = {el: true, v: null}
export default {
name: 'treeviewer',
components: {
item: Item,
contentpane: ContentPane,
splitpane: SplitPane
},
data: function () {
return {
target: target
}
},
methods: {
getTop (index) {
if (!index) {
return this.top
}
}
},
computed: {
ulStyle () {
const p = window.lconfig.leftPanePadding || '0'
const c = window.lconfig.leftPaneBackground || '#fff'
return `padding-left:${p}; background-color:${c}`
},
leftPaneStyle () {
const w = window.lconfig.leftPaneWidth || '420px'
const c = window.lconfig.leftPaneBackground || '#fff'
return `width:${w};background-color:${c}`
},
top () {
// if (this.$store.state.leodata.length > 1) { return false }
if (window.lconfig.firstNodeAsTitle === false) { return false }
return true
},
data () {
return this.$store.state.leodata
},
text () {
return this.$store.state.leotext
}
}
}
</script>
</t>
<t tx="josephorr.20170328225741.1">@language css
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="sass">
.treeviewer
margin: 0
height: 100%
#left-pane
ul
list-style-type: none
padding: 0
padding-left: 10px
line-height: 1.4em
list-style-type: none
margin-bottom: 8px
li
white-space: nowrap
min-width: 760px
margin-bottom: 4px
margin-top: 4px
li > div
padding-left: 4px
</style>
</t>
<t tx="josephorr.20170331200411.1">@language md
## Installing and Using LeoVue with a CDN
The simplest way to use Leo is to load it from a CDN. If so, you just need two files:
* **index.html**
* **Your Leo file**
To get started with the CDN, clone <a target="_blank"
href="http://kaleguy.github.io/leo-examples">one of the examples</a> and
swap in your Leo file.
Also see the [[Configuring]] section for a list of parameters for customization.
## Installing and Using LeoVue on your server.
Copy the files in the [dist folder at github](https://github.com/kaleguy/leovue) to your server. A web server is
required, you can't simply open LeoVue index.html file from your local file system. If you want to view
files on your local machine without a server, use a node utility like 'http-server'.
<p>
<< Running LeoVue from Github >>
<< Using LeoVue for your Github Project >>
</p>
The leo file that LeoVue displays is located at 'static/docs.leo'. You can edit this leo file using the Leo program
or replace it with your own file. You can change the name of the leo file that is loaded by editing the configuration
parameters in index.html.
## Drag and Drop Quickview
For a quick look at a Leo file, you can also drag and drop the file on to LeoVue.
</t>
<t tx="josephorr.20170401114539.1"></t>
<t tx="josephorr.20170401144849.1">@language md
## Link Nodes
You can create nodes that point to external sites.
To do this, create a node with a Markdown link in the title, for example:
```
[This is a link](http://www.example.com)
```
LeoVue will show the external site in the content pane.
The next node has the following title:
```
[A URL Node](https://kaleguy.github.io/simpleng2admin/#/home)
```
Note that if LeoVue is served via https (e.g. Github Pages) only https links will work here.
The second node in this section has the following title:
```
[Feature Introduction](https://kaleguy.github.io/leo-tutorials/feature-introduction.md)
```
This is a clone of one of the earlier nodes in this outline. In this case LeoVue fetches the document and converts it to HTML before displaying it.
URL nodes are not loaded until clicked on, so the search box in the upper right of LeoVue will not be able
to locate any text in the node content until the node is clicked on.</t>
<t tx="josephorr.20170408092907.1">@language javascript
// import escape from 'escape-html'
import axios from 'axios'
const util = require('../util.js')
const xslTemplate = `
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="v">
<xsl:variable name="t" select="@t"/>
<xsl:variable name="nodeSet" select="//v[@t=$t]"/>
<xsl:variable name="double_quote">"</xsl:variable>
<xsl:variable name="apos">'</xsl:variable>
{
"id": <xsl:value-of select="@id"/>,
"t": "<xsl:value-of select="translate(@t,'.','_')"/>",
"name":"<xsl:value-of select="translate($nodeSet[1]/vh,concat('\',$double_quote),concat('|',$apos))"/>",
"children":[<xsl:apply-templates select="$nodeSet[1]/v"/>]
}
<xsl:if test="position()!=last()">,</xsl:if>
</xsl:template>
<xsl:template match="text()"/>
</xsl:stylesheet>
`
const outlineInfoTemplate = `
<h2>Outline Information</h2>
<% if (url) { %>
<p>
This outline was downloaded from <strong><%- url %>/</strong>.
</p>
<p>
Outline displayed via <a href="kaleguy.github.io">LeoVue</a>
</p>
<% } else { %>
<p>
No url specified!
</p>
<p>
Url parameter format:
</p>
<p>?outlineUrl=https://www.mysite.com&outlineTitle=the outline
</p>
<% } %>
`
const outlineInfoError = `
#Error
No url specified!
Url parameter format:
url=www.mysite.com&name=the outline
`
function transform (xml, xslString, transformer, serializer) {
function serverTransform(resolve, reject) {
const xmlString = new serializer().serializeToString(xml)
const config = {
xslt: xslString,
source: xmlString,
result: String,
props: {
indent: 'yes'
}
}
transformer.transform(config, (err, result) => {
if (err) {
console.log('ERROR:', err)
return reject()
}
resolve(result)
})
}
function clientTransform(resolve, reject) {
const oParser = new DOMParser()
const xsl = oParser.parseFromString(xslString, 'text/xml')
const xsltProcessor = new XSLTProcessor()
xsltProcessor.importStylesheet(xsl)
const resultDocument = xsltProcessor.transformToFragment(xml, document)
resolve(resultDocument.textContent)
}
const p = new Promise((resolve, reject) => {
if (transformer) {
return serverTransform(resolve, reject)
} else {
return clientTransform(resolve, reject)
}
})
return p
}
function loadDoc (filename) {
console.log('loading file:', filename, window.lconfig, 'test')
var p = new Promise((resolve, reject) => {
axios.get(filename)
.then(function (response) {
resolve(response.data)
})
.catch(function (error) {
console.log(error)
reject()
})
})
return p
}
function cleanText(data, startId){
data.name = data.name.replace(/<</g, '\u00AB')
data.name = data.name.replace(/>>/g, '\u00BB')
data.name = data.name.replace(/'/g, '\x27')
data.name = data.name.replace(/"/g, '\x22')
//data.name = escape(data.name)
data.name = data.name.replace(/&#39;/g,'\x27')
data.id = data.id + ''; // probably unneeded now
let children = data.children;
if (!children) { return }
for (let i = 0; i < children.length; i++){
cleanText(children[i], startId)
}
data.t = data.t.replace(/^.*?_/,'') // remove file uid
if (startId) {
data.t = startId + '-' + data.t + ''
}
}
/**
* TODO: move to util, also is in store/index, review logic for relative / subtrees
* Is url relative
* @param url {string}
* @returns {boolean} - if is relative
*/
function isRelative (url) {
let ok = true
if (/^http/.test(url)) {
ok = false
}
return ok
}
function getLeoJSON (filename, id) {
if (filename.indexOf('#') > 0) {
filename = filename.substring(0, filename.indexOf('#'))