forked from philogb/jit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.py
executable file
·886 lines (856 loc) · 34.6 KB
/
tests.py
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
#tests models
tests_model = {
'RGraph': [
{
'Title': 'Tree Animation',
'Description':
"""
A static JSON Tree structure is used as input for this visualization.<br /><br />
<b>Click</b> on a node to move the tree and center that node.<br /><br />
The centered node's children are displayed in a relations list in the right column.<br /><br />
<b>Use the mouse wheel</b> to zoom and <b>drag and drop the canvas</b> to pan.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Test removing nodes.',
'Description':
"""
Testing the RGraph with a simple static JSON structure and removing a subtree.
The Subtree having "Matt Cameron" as root node should be removed with an animation
customized by the form parameters when clicking on the "remove" button.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Test removing edges.',
'Description':
"""
Testing the RGraph with a simple static JSON structure and removing edges.
The edges Matt Cameron-Pearl Jam and Matt Cameron-Red Kross should be removed with
an animation when clicking in the "remove" button.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Test Sum.',
'Description':
"""
Testing the RGraph with a simple static JSON structure and adding a subgraph.
Clicking on the sum button should add a subgraph as subtree of Pearl-Jam while performing
a fade-in animation.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test Morph.',
'Description':
"""
Testing the RGraph with a simple static JSON structure and morphing the structure to a graph.
Clicking on the morph button should transform the current graph into another graph, performing
fade-in-out animations.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Weighted Graph Animation',
'Description':
"""
A static JSON graph structure is used for this animation.<br /><br />
For each JSON node/edge the properties prefixed with the dollar sign ($) set the type of node/edge to be plotted, its style and its dimensions.<br /><br />
Line weights are added programmatically, <em>onBeforePlotLine</em>.<br /><br />
An <b>Elastic</b> transition is used instead of the linear transition for the animation.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Test with node styles and edge styles.',
'Description':
"""
Testing the RGraph with a simple static JSON structure.
You can choose different node styles and edge styles that should be globally applied to the vis.
Also, you can choose the random option, that sets random node and edges configuration. It overrides global configurations.
Default values are none, that means that neither nodes nor edges are drawn by default.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Graph Operations',
'Description':
"""
You can do the following operations with the RGraph<br /><br />
1.- Removing subtrees or nodes<br /><br />
2.- Removing edges<br /><br />
3.- Adding another graph, also called sum<br /><br />
4.- Morphing (or transforming) the graph into another one<br />
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Node Events',
'Description':
"""
This example shows how to add node events to the visualization.<br /><br />
This example uses native canvas text for drawing the labels.<br /><br />
<b>Drag and drop</b> nodes around.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Node Events',
'Description':
"""
Testing new Node Event system.
Triggered registered events should be logged in FFs console.
""",
'Extras': ['excanvas.js'],
'Example':False
},
{
'Title': 'Test',
'Description':
"""
Testing new Node Event system.
Triggered registered events should be logged in FFs console.
""",
'Extras': ['excanvas.js'],
'Example':False
}
],
'Hypertree': [
{
'Title': 'Tree Animation',
'Description':
"""
A static JSON Tree structure is used as input for this animation.<br /><br />
Clicking on a node should move the tree and center that node.<br /><br />
The centered node's children are displayed in a relations list in the right column.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Test with single node.',
'Description':
"""
Loads a single node JSON dataset to the Hypertree.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Test removing nodes.',
'Description':
"""
Testing the Hypertree with a simple static JSON structure and removing a subtree.
The Subtree having "Matt Cameron" as root node should be removed with an animation
customized by the form parameters when clicking on the "remove" button.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Test removing edges.',
'Description':
"""
Testing the Hypertree with a simple static JSON structure and removing edges.
The edges Matt Cameron-Pearl Jam and Matt Cameron-Red Kross should be removed with
an animation when clicking in the "remove" button.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Test Sum.',
'Description':
"""
Testing the Hypertree with a simple static JSON structure and adding a subgraph.
Clicking on the sum button should add a subgraph as subtree of Pearl-Jam while performing
a fade-in animation.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test Morph.',
'Description':
"""
Testing the Hypertree with a simple static JSON structure and morphing the structure to a graph.
Clicking on the morph button should transform the current graph into another graph, performing
fade-in-out animations.
The centered node's children should be displayed in a relations list.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Weighted Graph Animation',
'Description':
"""
A static JSON graph structure is used for this animation.<br /><br />
For each JSON node the "$type" and "$dim" parameters set the type of node to be plotted and its dimensions.<br /><br />
Line weights are added programmatically, <em>onBeforePlotLine</em>.<br /><br />
A <b>Back</b> transition is used instead of the linear transition for the animation.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Test with not weighted random generated tree.',
'Description':
"""
Just plotting a random not weighted Hypertree.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test with weighted random generated tree.',
'Description':
"""
Just plotting a random weighted Hypertree.
Nodes diameters must vary.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test with custom nodes and edges.',
'Description':
"""
Testing Hypertree with custom nodes and edges.
The user can select custom nodes (circle, square, etc). and
custom edges from the form.
He can also choose different animation options and easings.
This test can be improved, for example by changing the color or
overriding each node's style differently.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Graph Operations',
'Description':
"""
You can do the following operations with the Hypertree<br /><br />
1.- Removing subtrees or nodes<br /><br />
2.- Removing edges<br /><br />
3.- Adding another graph, also called sum<br /><br />
4.- Morphing (or transforming) the graph into another one<br />
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Drag Tree',
'Description':
"""
""",
'Extras': ['excanvas.js'],
},
],
'Spacetree': [
{
'Title': 'Test the Spacetree with an infinite client-side generator.',
'Description':
"""
Testing the Spacetree with a client-side generator that returns a Tree of level = 3
when the controller request method is called.<br>
This should lead to an infinite Spacetree.<br>
Also, the edges should have arrow as style.<br>
The nodes belonging in the path between the clicked node and the root node are selected with a
different color.<br>
Clicking on a node should set focus to that node.<br>
This test uses the generator.js file to create random generated trees.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test adding a subtree',
'Description':
"""
Loads a static Spacetree and should add a subtree when clicking on the add button.<br>
You can change the parameters for adding the subtree in the form.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test removing a subtree.',
'Description':
"""
Loads a static Spacetree and should remove a subtree when clicking on the remove button.<br>
You can change the parameters for removing the subtree in the form.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test unbalanced tree.',
'Description':
"""
Tests the Spacetree layout algorithm with an unbalanced tree. <br>
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test Different node sizes',
'Description':
"""
Testing a static Spacetree with rectangle nodes with different widths and heights.<br>
You can also click on a node's name in the list to add focus to that node.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Test Node types, Edge types, Animation types.',
'Description':
"""
Tests a static Spacetree with different node, edge and animation types that you can choose from
a form.
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Tree Animation',
'Description':
"""
A static JSON Tree structure is used as input for this animation.<br /><br />
<b>Click</b> on a node to select it.<br /><br />
You can <b>select the tree orientation</b> by changing the select box in the right column.<br /><br />
You can <b>change the selection mode</b> from <em>Normal</em> selection (i.e. center the selected node) to
<em>Set as Root</em>.<br /><br />
<b>Drag and Drop the canvas</b> to do some panning.<br /><br />
Leaves color depend on the number of children they actually have.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'SpaceTree with on-demand nodes',
'Description':
"""
This example shows how you can use the <b>request</b> controller method to create a SpaceTree with <b>on demand</b> nodes<br /><br />
The basic JSON Tree structure is cloned and appended on demand on each node to create an <b>infinite large SpaceTree</b><br /><br />
You can select the <b>tree orientation</b> by changing the select box in the right column.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Add/Remove Subtrees',
'Description':
"""
This example shows how to add/remove subtrees with the SpaceTree.<br /><br />
<b>Add</b> a subtree by clicking on the <em>Add</em> button located in the right column.<br /><br />
<b>Remove</b> a subtree by clicking on a red colored node
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'MultiTree',
'Description':
"""
A static JSON Tree structure is used as input for this animation.<br /><br />
By setting the specific orientation for nodes we can create a multitree structure.<br /><br />
Nodes and Edges are styled with canvas specific styles like shadows.<br /><br />
<b>Click</b> on a node to select it.<br /><br />
You can <b>change the selection mode</b> from <em>Normal</em> selection (i.e. center the selected node) to
<em>Set as Root</em>.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'loadJSON multiple times',
'Description':
"""
Testing if loading different JSON tree/graph structures affects how the SpaceTree is displayed.
""",
'Extras': ['excanvas.js', 'generators.js'],
'Example': False
},
{
'Title': 'Style Animations',
'Description':
"""
This Advanced Example shows how Node, Edge, Label and Canvas specific style animations can be triggered for this
visualization.<br /><br />
<b>Select</b> the styles to be animated in the right column and hit the <em>Morph Styles</em> button. This will
set random values for these properties and animate them.<br /><br />
Click on <em>Restore Styles</em> to set the default styles.<br /><br />
Other styles like alpha and shadows can also be triggered.<br /><br />
This example also implements a custom node rendering function for Stroke + Fill rectangles.
""",
'Extras': ['excanvas.js'],
'Example': True
}
],
'Treemap': [
{
'Title': 'Test Squarified, SliceAndDice and Strip Treemap with random Tree',
'Description':
"""
Loads a random generated weighted tree and renders it as Squarified Tree by default.<br>
""",
'Extras': ['generators.js', 'excanvas.js']
},
{
'Title': 'Animated Squarified, SliceAndDice and Strip TreeMaps',
'Description':
"""
In this example a static JSON tree is loaded into a Squarified Treemap.<br /><br />
<b>Left click</b> to set a node as root for the visualization.<br /><br />
<b>Right click</b> to set the parent node as root for the visualization.<br /><br />
You can <b>choose a different tiling algorithm</b> below:
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'TreeMap with on-demand nodes',
'Description':
"""
This example shows how you can use the <b>request</b> controller method to create a TreeMap with on demand nodes<br /><br />
This example makes use of native Canvas text and shadows, but can be easily adapted to use HTML like the other examples.<br /><br />
There should be only one level shown at a time.<br /><br />
Clicking on a band should show a new TreeMap with its most listened albums.<br /><br />
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Cushion TreeMaps',
'Description':
"""
In this example a static JSON tree is loaded into a Cushion Treemap.<br /><br />
<b>Left click</b> to set a node as root for the visualization.<br /><br />
<b>Right click</b> to set the parent node as root for the visualization.<br /><br />
You can <b>choose a different tiling algorithm</b> below:
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Sorting Problem',
'Description':
"""
Layout in Squarified TreeMaps should be unique regardless of area.
""",
'Extras': ['excanvas.js'],
},
{
'Title': 'Morphing Treemaps',
'Description':
"""
Test Morphing Treemaps
""",
'Extras': ['excanvas.js'],
}
],
'Voronoi' : [
{
'Title': 'Voronoi Treemaps -- Infrastractures',
'Description':
"""
Test Voronoi Treemap Infrastractures
""",
'Extras': ['excanvas.js'],
}, {
'Title': 'Voronoi Treemaps',
'Description':
"""
Test Voronoi Treemap
""",
'Extras': ['excanvas.js'],
}, {
'Title': 'Voronoi Treemaps',
'Description':
"""
Test Voronoi Treemap
""",
'Extras': ['excanvas.js'],
}
],
'Icicle': [
{
'Title': 'Icicle Tree with static JSON data',
'Description':
"""
<p>Some static JSON tree data is fed to this visualization.</p>
<p>
<b>Left click</b> to set a node as root for the visualization.
</p>
<p>
<b>Right click</b> to set the parent node as root for the visualization.
</p>
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Icicle tree with limited levels shown',
'Description':
"""
<p>A static JSON tree representing a file system tree is loaded into
an Icicle Tree.</p>
<p>
<b>Left click</b> to set a node as root for the visualization.
</p>
<p>
<b>Right click</b> to set the parent node as root for the visualization.
</p>
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Icicle with dynamic loading',
'Description':
"""
<p>A static JSON tree is loaded at start. The visualization
dynamically adds the said tree to extend the visualization to be
practically endless.</p>
<p>
<b>Left click</b> to set a node as root for the visualization.
</p>
<p>
<b>Right click</b> to set the parent node as root for the visualization.
</p>
""",
'Extras': ['excanvas.js'],
'Example': True
},
],
'ForceDirected': [
{
'Title': 'Force Directed Static Graph',
'Description':
"""
A static JSON Graph structure is used as input for this visualization.<br /><br />
You can <b>zoom</b> and <b>pan</b> the visualization by <b>scrolling</b> and <b>dragging</b>.<br /><br />
You can <b>change node positions</b> by <b>dragging the nodes around</b>.<br /><br />
The clicked node's connections are displayed in a relations list in the right column.<br /><br />
The JSON static data is customized to provide different node types, colors and widths.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Weighted Graph Animation',
'Description':
"""
A static JSON graph structure is used for this animation.<br /><br />
For each JSON node/edge the properties prefixed with the dollar sign ($) set the type of node/edge to be plotted, its style and its dimensions.<br /><br />
Line weights are added programmatically, <em>onBeforePlotLine</em>.<br /><br />
An <b>Elastic</b> transition is used instead of the linear transition for the animation.
""",
'Extras': ['excanvas.js'],
'Example':False
},
{
'Title': 'Graph Operations',
'Description':
"""
You can do the following operations with a ForceDirected viz:<br /><br />
1.- Removing subtrees or nodes<br /><br />
2.- Removing edges<br /><br />
3.- Adding another graph, also called sum<br /><br />
4.- Morphing (or transforming) the graph into another one<br />
""",
'Extras': ['excanvas.js'],
'Example':False
},
{
'Title': 'Graph Operations',
'Description':
"""
In this (advanced) example a static graph is fed into the visualization.<br /><br />
Custom Animations are triggered when clicking on a node's label or when deleting a node.<br /><br />
<b>Click on a node's label</b> to select a node and its connections.<br /><br />
<b>Click on the 'x' link</b> to delete a node.<br /><br />
You can <b>drag nodes</b> around and <b>zoom</b> and <b>pan</b>, just like you did in the previous
example.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Event delegation for labels',
'Description':
"""
Testing event delegation for Extras in ForceDirected graph labels.
""",
'Extras': ['excanvas.js']
},
{
'Title': 'Force Directed Static Graph',
'Description':
"""
Infinite iterations.
""",
'Extras': ['excanvas.js'],
'Example': False
},
],
'ForceDirected3D': [
{
'Title': 'Force Directed Static Graph',
'Description':
"""
A static JSON Graph structure is used as input for this visualization.<br /><br />
You can <b>zoom</b> and <b>pan</b> the visualization by <b>scrolling</b> and <b>dragging</b>.<br /><br />
You can <b>change node positions</b> by <b>dragging the nodes around</b>.<br /><br />
The clicked node's connections are displayed in a relations list in the right column.<br /><br />
The JSON static data is customized to provide different node types, colors and widths.
""",
'Extras': ['excanvas.js'],
'Example':False
},
{
'Title': 'Force Directed Static Graph',
'Description':
"""
A static JSON Graph structure is used as input for this visualization.<br /><br />
You can <b>zoom</b> and <b>pan</b> the visualization by <b>scrolling</b> and <b>dragging</b>.<br /><br />
You can <b>change node positions</b> by <b>dragging the nodes around</b>.<br /><br />
The clicked node's connections are displayed in a relations list in the right column.<br /><br />
The JSON static data is customized to provide different node types, colors and widths.
""",
'Extras': ['excanvas.js'],
'Example':False
},
],
'Other': [
{
'Title': 'Implementing Node Types',
'Description':
"""
In this example some custom node types are created for rendering pie charts with the RGraph.<br /><br />
Multiple instances of the RGraph are created using these node types. (top)<br /><br />
The SpaceTree is loaded with some custom data that individually changes nodes dimensions, making a bar chart (bottom).
""",
'Extras': ['excanvas.js'],
'Build': ['RGraph', 'Spacetree'],
'Example': True
},
{
'Title': 'Composing Visualizations',
'Description':
"""
In this example a RGraph is composed with another RGraph (for node rendering).<br /><br />
The RGraph used for node rendering implements a custom node type defined in the <em>"Implementing Node Types"</em> example.<br /><br />
This example shows that many visualizations can be composed to create new visualizations.
""",
'Extras': ['excanvas.js'],
'Build': ['RGraph'],
'Example': True
},
{
'Title': 'Composing Visualizations 2',
'Description':
"""
In this example a SpaceTree is composed with a RGraph (for node rendering).<br /><br />
The RGraph used for node rendering implements a custom node type defined in the <em>"Implementing Node Types"</em> example.<br /><br />
This example shows that many visualizations can be composed to create new visualizations.
""",
'Extras': ['excanvas.js'],
'Build': ['RGraph', 'Spacetree'],
'Example': True
},
{
'Title': 'SVG and Native Labels',
'Description':
"""
In this example we're using three different types of labels.<br /><br />
HTML labels are classic DOM elements.<br />
SVG labels are very similar to HTML labels (they're also DOM elements) but they can be rotated and transformed.<br />
Native labels are drawn with the Native Canvas HTML5 API.<br /><br />.
HTML labels are supported by all browsers. SVG labels are supported by all browsers except IE. Native Canvas labels are
supported by all browsers except Opera.
""",
'Extras': ['excanvas.js'],
'Build': ['RGraph', 'Hypertree'],
'Example': False
}
],
'Sunburst': [
{
'Title': 'Animation and Expand/Collapse',
'Description':
"""
A static JSON Tree structure is used as input for this animation.<br /><br />
The centered node's children are displayed in a relations list in the right column.<br /><br />
Left clicking will rotate the sunburst leaving the clicked node horizontal. The node will also change its color.<br /><br />.
Right clicking will collapse/expand nodes.
""",
'Extras': ['excanvas.js'],
'Example':False
},
{
'Title': 'Rose Diagrams',
'Description':
"""
A static JSON Tree structure is used as input for this animation that represents a rose pie chart.<br /><br />
Hovering nodes should add a tooltip and change the node's color.
""",
'Extras': ['excanvas.js'],
'Example':False
},
{
'Title': 'Connected Sunburst',
'Description':
"""
A static JSON Graph structure is used as input for this visualization.<br /><br />
This example shows how properties such as color, height, angular width and line width
can be customized per node and per edge in the JSON structure.<br /><br />
<b>Left click</b> to select a node and show its relations.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Sunburst of a Directory Tree',
'Description':
"""
A static JSON Tree structure is used as input for this visualization.<br /><br />
Tips are used to describe the file size and its last modified date.<br /><br />
<b>Left click</b> to rotate the Sunburst to the selected node and see its details.
""",
'Extras': ['excanvas.js'],
'Example':True
},
{
'Title': 'Mono node Sunburst',
'Description':
"""
""",
'Extras': ['excanvas.js'],
'Example': False
},
],
'AreaChart': [
{
'Title': 'Area Chart Example',
'Description':
"""
A static Area Chart example with gradients that displays tooltips when hovering the stacks.<br /><br />
Left-click a Stack to apply a filter to it.<br /><br />
Right-click to restore all stacks.<br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Area Chart Example with click events',
'Description':
"""
A static Area Chart example with gradients that displays tooltips when hovering the stacks.<br /><br />
Left-click a Stack to apply a filter to it.<br /><br />
Right-click to restore all stacks.<br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': False
},
{
'Title': 'Area Chart Example overridden aggregate values and labels',
'Description':
"""
A static Area Chart example with gradients that displays tooltips when hovering the stacks.<br /><br />
Left-click a Stack to apply a filter to it.<br /><br />
Right-click to restore all stacks.<br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': False
},
],
'BarChart': [
{
'Title': 'Bar Chart Example',
'Description':
"""
A static vertical Bar Chart example with gradients. The Bar Chart displays tooltips when hovering the stacks. <br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Bar Chart Example',
'Description':
"""
A static horizontal Bar Chart example without gradients. The Bar Chart displays tooltips when hovering the stacks.<br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Bar Chart Example with events',
'Description':
"""
A static vertical Bar Chart example with gradients. The Bar Chart displays tooltips when hovering the stacks. <br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': False
},
],
'PieChart': [
{
'Title': 'Pie Chart Example',
'Description':
"""
A static Pie Chart example with gradients that displays tooltips when hovering the stacks.<br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': True
},
{
'Title': 'Mono Valued PieChart',
'Description':
"""
More like a regular PieChart (mono valued).
""",
'Extras': ['excanvas.js'],
'Example': False
},
{
'Title': 'Pie Chart Example with events',
'Description':
"""
A static Pie Chart example with gradients that displays tooltips when hovering the stacks.<br /><br />
Click the Update button to update the JSON data.
""",
'Extras': ['excanvas.js'],
'Example': False
},
],
'TimeGraph': [
{
'Title': 'TimeGraph Example',
'Description':
"""
A static TimeGraph Example.
""",
'Extras': ['excanvas.js']
},
],
'HeatMap': [
{
'Title': 'HeatMap Example',
'Description':
"""
A static HeatMap Example.
""",
'Extras': ['excanvas.js']
},
]
}