@groupby/ai-dev 0.5.9 → 0.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/package.json +1 -1
  2. package/teams/fhr-neowise/commands/address-pr.md +120 -0
  3. package/teams/fhr-neowise/commands/ready-pr.md +70 -0
  4. package/teams/fhr-neowise/commands/review-pr.md +111 -0
  5. package/teams/fhr-neowise/commands/tdd-implementation.md +86 -0
  6. package/teams/fhr-neowise/commands/write-plan.md +23 -0
  7. package/teams/fhr-neowise/commands/write-pr.md +21 -0
  8. package/teams/fhr-neowise/commands/write-spec.md +25 -0
  9. package/teams/fhr-neowise/skills/agent-routing/SKILL.md +72 -0
  10. package/teams/fhr-neowise/skills/code-review/SKILL.md +83 -0
  11. package/teams/fhr-neowise/skills/code-review/review-template.md +90 -0
  12. package/teams/fhr-neowise/skills/mermaid-diagram/SKILL.md +94 -0
  13. package/teams/fhr-neowise/skills/mermaid-diagram/references/BEST_PRACTICES.md +96 -0
  14. package/teams/fhr-neowise/skills/mermaid-diagram/references/architecture.md +434 -0
  15. package/teams/fhr-neowise/skills/mermaid-diagram/references/block.md +753 -0
  16. package/teams/fhr-neowise/skills/mermaid-diagram/references/c4.md +619 -0
  17. package/teams/fhr-neowise/skills/mermaid-diagram/references/classDiagram.md +1186 -0
  18. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-configuration.md +72 -0
  19. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-directives.md +342 -0
  20. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-layouts.md +40 -0
  21. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-math.md +96 -0
  22. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-theming.md +246 -0
  23. package/teams/fhr-neowise/skills/mermaid-diagram/references/config-tidy-tree.md +89 -0
  24. package/teams/fhr-neowise/skills/mermaid-diagram/references/cynefin.md +279 -0
  25. package/teams/fhr-neowise/skills/mermaid-diagram/references/entityRelationshipDiagram.md +670 -0
  26. package/teams/fhr-neowise/skills/mermaid-diagram/references/eventmodeling.md +475 -0
  27. package/teams/fhr-neowise/skills/mermaid-diagram/references/examples.md +301 -0
  28. package/teams/fhr-neowise/skills/mermaid-diagram/references/flowchart.md +2116 -0
  29. package/teams/fhr-neowise/skills/mermaid-diagram/references/gantt.md +725 -0
  30. package/teams/fhr-neowise/skills/mermaid-diagram/references/gitgraph.md +2138 -0
  31. package/teams/fhr-neowise/skills/mermaid-diagram/references/ishikawa.md +66 -0
  32. package/teams/fhr-neowise/skills/mermaid-diagram/references/kanban.md +161 -0
  33. package/teams/fhr-neowise/skills/mermaid-diagram/references/mindmap.md +335 -0
  34. package/teams/fhr-neowise/skills/mermaid-diagram/references/packet.md +153 -0
  35. package/teams/fhr-neowise/skills/mermaid-diagram/references/pie.md +93 -0
  36. package/teams/fhr-neowise/skills/mermaid-diagram/references/quadrantChart.md +267 -0
  37. package/teams/fhr-neowise/skills/mermaid-diagram/references/radar.md +269 -0
  38. package/teams/fhr-neowise/skills/mermaid-diagram/references/railroad.md +337 -0
  39. package/teams/fhr-neowise/skills/mermaid-diagram/references/requirementDiagram.md +495 -0
  40. package/teams/fhr-neowise/skills/mermaid-diagram/references/sankey.md +415 -0
  41. package/teams/fhr-neowise/skills/mermaid-diagram/references/sequenceDiagram.md +1195 -0
  42. package/teams/fhr-neowise/skills/mermaid-diagram/references/stateDiagram.md +670 -0
  43. package/teams/fhr-neowise/skills/mermaid-diagram/references/timeline.md +571 -0
  44. package/teams/fhr-neowise/skills/mermaid-diagram/references/treeView.md +321 -0
  45. package/teams/fhr-neowise/skills/mermaid-diagram/references/treemap.md +353 -0
  46. package/teams/fhr-neowise/skills/mermaid-diagram/references/userJourney.md +42 -0
  47. package/teams/fhr-neowise/skills/mermaid-diagram/references/venn.md +134 -0
  48. package/teams/fhr-neowise/skills/mermaid-diagram/references/wardley.md +732 -0
  49. package/teams/fhr-neowise/skills/mermaid-diagram/references/xyChart.md +312 -0
  50. package/teams/fhr-neowise/skills/mermaid-diagram/references/zenuml.md +474 -0
  51. package/teams/fhr-neowise/skills/mermaid-diagram/scripts/sync_docs.py +138 -0
  52. package/teams/fhr-neowise/skills/pull-request-authoring/COMPLEX.template.md +52 -0
  53. package/teams/fhr-neowise/skills/pull-request-authoring/NON-CODE.template.md +15 -0
  54. package/teams/fhr-neowise/skills/pull-request-authoring/SIMPLE.template.md +20 -0
  55. package/teams/fhr-neowise/skills/pull-request-authoring/SKILL.md +102 -0
  56. package/teams/fhr-neowise/skills/spec-investigation/SKILL.md +139 -0
  57. package/teams/fhr-neowise/skills/spec-investigation/TEMPLATE.spec.md +74 -0
  58. package/teams/fhr-neowise/skills/tdd-workflow/SKILL.md +137 -0
  59. package/teams/fhr-neowise/skills/write-plan/SKILL.md +285 -0
  60. package/teams/fhr-neowise/skills/write-plan/assets/TEMPLATE.checklist.json +79 -0
  61. package/teams/fhr-neowise/skills/write-plan/assets/TEMPLATE.plan.md +158 -0
  62. package/teams/rangers/resources/project-doc-contract.md +41 -0
  63. package/teams/rangers/skills/team-code-review/SKILL.md +66 -0
  64. package/teams/rangers/skills/team-development/SKILL.md +43 -0
  65. package/teams/rangers/skills/team-docs-snapshot/SKILL.md +58 -0
  66. package/teams/rangers/skills/team-docs-snapshot/scripts/collect_project_docs.py +166 -0
  67. package/teams/rangers/skills/team-phase-planning/SKILL.md +63 -0
  68. package/teams/rangers/skills/team-project-orientation/SKILL.md +46 -0
@@ -0,0 +1,571 @@
1
+ > **Warning**
2
+ >
3
+ > ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
4
+ >
5
+ > ## Please edit the corresponding file in [/packages/mermaid/src/docs/syntax/timeline.md](../../packages/mermaid/src/docs/syntax/timeline.md).
6
+
7
+ # Timeline Diagram
8
+
9
+ > Timeline: This is an experimental diagram for now. The syntax and properties can change in future releases. The syntax is stable except for the icon integration which is the experimental part.
10
+
11
+ "A timeline is a type of diagram used to illustrate a chronology of events, dates, or periods of time. It is usually presented graphically to indicate the passing of time, and it is usually organized chronologically. A basic timeline presents a list of events in chronological order, usually using dates as markers. A timeline can also be used to show the relationship between events, such as the relationship between the events of a person's life" [(Wikipedia)](https://en.wikipedia.org/wiki/Timeline).
12
+
13
+ ### An example of a timeline
14
+
15
+ ```mermaid-example
16
+ timeline
17
+ title History of Social Media Platform
18
+ 2002 : LinkedIn
19
+ 2004 : Facebook
20
+ : Google
21
+ 2005 : YouTube
22
+ 2006 : Twitter
23
+ ```
24
+
25
+ ```mermaid
26
+ timeline
27
+ title History of Social Media Platform
28
+ 2002 : LinkedIn
29
+ 2004 : Facebook
30
+ : Google
31
+ 2005 : YouTube
32
+ 2006 : Twitter
33
+ ```
34
+
35
+ ## Syntax
36
+
37
+ The syntax for creating Timeline diagram is simple. You always start with the `timeline` keyword to let mermaid know that you want to create a timeline diagram.
38
+
39
+ After that there is a possibility to add a title to the timeline. This is done by adding a line with the keyword `title` followed by the title text.
40
+
41
+ Then you add the timeline data, where you always start with a time period, followed by a colon and then the text for the event. Optionally you can add a second colon and then the text for the event. So, you can have one or more events per time period.
42
+
43
+ ```json
44
+ {time period} : {event}
45
+ ```
46
+
47
+ or
48
+
49
+ ```json
50
+ {time period} : {event} : {event}
51
+ ```
52
+
53
+ or
54
+
55
+ ```json
56
+ {time period} : {event}
57
+ : {event}
58
+ : {event}
59
+ ```
60
+
61
+ **NOTE**: Both time period and event are simple text, and not limited to numbers.
62
+
63
+ Let us look at the syntax for the example above.
64
+
65
+ ```mermaid-example
66
+ timeline
67
+ title History of Social Media Platform
68
+ 2002 : LinkedIn
69
+ 2004 : Facebook : Google
70
+ 2005 : YouTube
71
+ 2006 : Twitter
72
+ ```
73
+
74
+ ```mermaid
75
+ timeline
76
+ title History of Social Media Platform
77
+ 2002 : LinkedIn
78
+ 2004 : Facebook : Google
79
+ 2005 : YouTube
80
+ 2006 : Twitter
81
+ ```
82
+
83
+ In this way we can use a text outline to generate a timeline diagram.
84
+ The sequence of time period and events is important, as it will be used to draw the timeline. The first time period will be placed at the left side of the timeline, and the last time period will be placed at the right side of the timeline.
85
+
86
+ Similarly, the first event will be placed at the top for that specific time period, and the last event will be placed at the bottom.
87
+
88
+ ## Grouping of time periods in sections/ages
89
+
90
+ You can group time periods in sections/ages. This is done by adding a line with the keyword `section` followed by the section name.
91
+
92
+ All subsequent time periods will be placed in this section until a new section is defined.
93
+
94
+ If no section is defined, all time periods will be placed in the default section.
95
+
96
+ Let us look at an example, where we have grouped the time periods in sections.
97
+
98
+ ```mermaid-example
99
+ timeline
100
+ title Timeline of Industrial Revolution
101
+ section 17th-20th century
102
+ Industry 1.0 : Machinery, Water power, Steam <br>power
103
+ Industry 2.0 : Electricity, Internal combustion engine, Mass production
104
+ Industry 3.0 : Electronics, Computers, Automation
105
+ section 21st century
106
+ Industry 4.0 : Internet, Robotics, Internet of Things
107
+ Industry 5.0 : Artificial intelligence, Big data, 3D printing
108
+ ```
109
+
110
+ ```mermaid
111
+ timeline
112
+ title Timeline of Industrial Revolution
113
+ section 17th-20th century
114
+ Industry 1.0 : Machinery, Water power, Steam <br>power
115
+ Industry 2.0 : Electricity, Internal combustion engine, Mass production
116
+ Industry 3.0 : Electronics, Computers, Automation
117
+ section 21st century
118
+ Industry 4.0 : Internet, Robotics, Internet of Things
119
+ Industry 5.0 : Artificial intelligence, Big data, 3D printing
120
+ ```
121
+
122
+ As you can see, the time periods are placed in the sections, and the sections are placed in the order they are defined.
123
+
124
+ All time periods and events under a given section follow a similar color scheme. This is done to make it easier to see the relationship between time periods and events.
125
+
126
+ ## Wrapping of text for long time-periods or events
127
+
128
+ By default, the text for time-periods and events will be wrapped if it is too long. This is done to avoid that the text is drawn outside the diagram.
129
+
130
+ You can also use `<br>` to force a line break.
131
+
132
+ Let us look at another example, where we have a long time period, and a long event.
133
+
134
+ ```mermaid-example
135
+ timeline
136
+ title England's History Timeline
137
+ section Stone Age
138
+ 7600 BC : Britain's oldest known house was built in Orkney, Scotland
139
+ 6000 BC : Sea levels rise and Britain becomes an island.<br> The people who live here are hunter-gatherers.
140
+ section Bronze Age
141
+ 2300 BC : People arrive from Europe and settle in Britain. <br>They bring farming and metalworking.
142
+ : New styles of pottery and ways of burying the dead appear.
143
+ 2200 BC : The last major building works are completed at Stonehenge.<br> People now bury their dead in stone circles.
144
+ : The first metal objects are made in Britain.Some other nice things happen. it is a good time to be alive.
145
+
146
+ ```
147
+
148
+ ```mermaid
149
+ timeline
150
+ title England's History Timeline
151
+ section Stone Age
152
+ 7600 BC : Britain's oldest known house was built in Orkney, Scotland
153
+ 6000 BC : Sea levels rise and Britain becomes an island.<br> The people who live here are hunter-gatherers.
154
+ section Bronze Age
155
+ 2300 BC : People arrive from Europe and settle in Britain. <br>They bring farming and metalworking.
156
+ : New styles of pottery and ways of burying the dead appear.
157
+ 2200 BC : The last major building works are completed at Stonehenge.<br> People now bury their dead in stone circles.
158
+ : The first metal objects are made in Britain.Some other nice things happen. it is a good time to be alive.
159
+
160
+ ```
161
+
162
+ ```mermaid-example
163
+ timeline
164
+ title MermaidChart 2023 Timeline
165
+ section 2023 Q1 <br> Release Personal Tier
166
+ Bullet 1 : sub-point 1a : sub-point 1b
167
+ : sub-point 1c
168
+ Bullet 2 : sub-point 2a : sub-point 2b
169
+ section 2023 Q2 <br> Release XYZ Tier
170
+ Bullet 3 : sub-point <br> 3a : sub-point 3b
171
+ : sub-point 3c
172
+ Bullet 4 : sub-point 4a : sub-point 4b
173
+ ```
174
+
175
+ ```mermaid
176
+ timeline
177
+ title MermaidChart 2023 Timeline
178
+ section 2023 Q1 <br> Release Personal Tier
179
+ Bullet 1 : sub-point 1a : sub-point 1b
180
+ : sub-point 1c
181
+ Bullet 2 : sub-point 2a : sub-point 2b
182
+ section 2023 Q2 <br> Release XYZ Tier
183
+ Bullet 3 : sub-point <br> 3a : sub-point 3b
184
+ : sub-point 3c
185
+ Bullet 4 : sub-point 4a : sub-point 4b
186
+ ```
187
+
188
+ ### Direction (v11.14.0+)
189
+
190
+ Timeline can change its direction by the keyword after `timeline`.
191
+
192
+ ```mermaid-example
193
+ timeline TD
194
+ title MermaidChart 2023 Timeline
195
+ section 2023 Q1 <br> Release Personal Tier
196
+ Bullet 1 : sub-point 1a : sub-point 1b
197
+ Bullet 2 : sub-point 2a : sub-point 2b
198
+ section 2023 Q2 <br> Release XYZ Tier
199
+ Bullet 3 : sub-point <br> 3a : sub-point 3b
200
+ Bullet 4 : sub-point 4a : sub-point 4b
201
+ ```
202
+
203
+ ```mermaid
204
+ timeline TD
205
+ title MermaidChart 2023 Timeline
206
+ section 2023 Q1 <br> Release Personal Tier
207
+ Bullet 1 : sub-point 1a : sub-point 1b
208
+ Bullet 2 : sub-point 2a : sub-point 2b
209
+ section 2023 Q2 <br> Release XYZ Tier
210
+ Bullet 3 : sub-point <br> 3a : sub-point 3b
211
+ Bullet 4 : sub-point 4a : sub-point 4b
212
+ ```
213
+
214
+ Possible directions are:
215
+
216
+ - `LR`: Left to right (default)
217
+ - `TD`: Top top down.
218
+
219
+ ## Styling of time periods and events
220
+
221
+ As explained earlier, each section has a color scheme, and each time period and event under a section follow the similar color scheme.
222
+
223
+ However, if there is no section defined, then we have two possibilities:
224
+
225
+ 1. Style time periods individually, i.e. each time period(and its corresponding events) will have its own color scheme. This is the DEFAULT behavior.
226
+
227
+ ```mermaid-example
228
+ timeline
229
+ title History of Social Media Platform
230
+ 2002 : LinkedIn
231
+ 2004 : Facebook : Google
232
+ 2005 : YouTube
233
+ 2006 : Twitter
234
+
235
+ ```
236
+
237
+ ```mermaid
238
+ timeline
239
+ title History of Social Media Platform
240
+ 2002 : LinkedIn
241
+ 2004 : Facebook : Google
242
+ 2005 : YouTube
243
+ 2006 : Twitter
244
+
245
+ ```
246
+
247
+ **NOTE**: that there are no sections defined, and each time period and its corresponding events will have its own color scheme.
248
+
249
+ 2. Disable the multiColor option using the `disableMultiColor` option. This will make all time periods and events follow the same color scheme.
250
+
251
+ You will need to add this option either via mermaid.initialize function or directives.
252
+
253
+ ```javascript
254
+ mermaid.initialize({
255
+ theme: 'base',
256
+ startOnLoad: true,
257
+ logLevel: 0,
258
+ timeline: {
259
+ disableMulticolor: false,
260
+ },
261
+ ...
262
+ ...
263
+ ```
264
+
265
+ let us look at same example, where we have disabled the multiColor option.
266
+
267
+ ```mermaid-example
268
+ ---
269
+ config:
270
+ logLevel: 'debug'
271
+ theme: 'base'
272
+ timeline:
273
+ disableMulticolor: true
274
+ ---
275
+ timeline
276
+ title History of Social Media Platform
277
+ 2002 : LinkedIn
278
+ 2004 : Facebook : Google
279
+ 2005 : YouTube
280
+ 2006 : Twitter
281
+
282
+ ```
283
+
284
+ ```mermaid
285
+ ---
286
+ config:
287
+ logLevel: 'debug'
288
+ theme: 'base'
289
+ timeline:
290
+ disableMulticolor: true
291
+ ---
292
+ timeline
293
+ title History of Social Media Platform
294
+ 2002 : LinkedIn
295
+ 2004 : Facebook : Google
296
+ 2005 : YouTube
297
+ 2006 : Twitter
298
+
299
+ ```
300
+
301
+ ### Customizing Color scheme
302
+
303
+ You can customize the color scheme using the `cScale0` to `cScale11` theme variables, which will change the background colors. Mermaid allows you to set unique colors for up-to 12 sections, where `cScale0` variable will drive the value of the first section or time-period, `cScale1` will drive the value of the second section and so on.
304
+ In case you have more than 12 sections, the color scheme will start to repeat.
305
+
306
+ If you also want to change the foreground color of a section, you can do so use theme variables corresponding `cScaleLabel0` to `cScaleLabel11` variables.
307
+
308
+ **NOTE**: Default values for these theme variables are picked from the selected theme. If you want to override the default values, you can use the `initialize` call to add your custom theme variable values.
309
+
310
+ Example:
311
+
312
+ Now let's override the default values for the `cScale0` to `cScale2` variables:
313
+
314
+ ```mermaid-example
315
+ ---
316
+ config:
317
+ logLevel: 'debug'
318
+ theme: 'default'
319
+ themeVariables:
320
+ cScale0: '#ff0000'
321
+ cScaleLabel0: '#ffffff'
322
+ cScale1: '#00ff00'
323
+ cScale2: '#0000ff'
324
+ cScaleLabel2: '#ffffff'
325
+ ---
326
+ timeline
327
+ title History of Social Media Platform
328
+ 2002 : LinkedIn
329
+ 2004 : Facebook : Google
330
+ 2005 : YouTube
331
+ 2006 : Twitter
332
+ 2007 : Tumblr
333
+ 2008 : Instagram
334
+ 2010 : Pinterest
335
+
336
+ ```
337
+
338
+ ```mermaid
339
+ ---
340
+ config:
341
+ logLevel: 'debug'
342
+ theme: 'default'
343
+ themeVariables:
344
+ cScale0: '#ff0000'
345
+ cScaleLabel0: '#ffffff'
346
+ cScale1: '#00ff00'
347
+ cScale2: '#0000ff'
348
+ cScaleLabel2: '#ffffff'
349
+ ---
350
+ timeline
351
+ title History of Social Media Platform
352
+ 2002 : LinkedIn
353
+ 2004 : Facebook : Google
354
+ 2005 : YouTube
355
+ 2006 : Twitter
356
+ 2007 : Tumblr
357
+ 2008 : Instagram
358
+ 2010 : Pinterest
359
+
360
+ ```
361
+
362
+ See how the colors are changed to the values specified in the theme variables.
363
+
364
+ ## Themes
365
+
366
+ Mermaid supports a bunch of pre-defined themes which you can use to find the right one for you. PS: you can actually override an existing theme's variable to get your own custom theme going. Learn more about [theming your diagram](../config/theming.md).
367
+
368
+ The following are the different pre-defined theme options:
369
+
370
+ - `base`
371
+ - `forest`
372
+ - `dark`
373
+ - `default`
374
+ - `neutral`
375
+
376
+ **NOTE**: To change theme you can either use the `initialize` call or _directives_. Learn more about [directives](../config/directives.md)
377
+ Let's put them to use, and see how our sample diagram looks in different themes:
378
+
379
+ ### Base Theme
380
+
381
+ ```mermaid-example
382
+ ---
383
+ config:
384
+ logLevel: 'debug'
385
+ theme: 'base'
386
+ ---
387
+ timeline
388
+ title History of Social Media Platform
389
+ 2002 : LinkedIn
390
+ 2004 : Facebook : Google
391
+ 2005 : YouTube
392
+ 2006 : Twitter
393
+ 2007 : Tumblr
394
+ 2008 : Instagram
395
+ 2010 : Pinterest
396
+ ```
397
+
398
+ ```mermaid
399
+ ---
400
+ config:
401
+ logLevel: 'debug'
402
+ theme: 'base'
403
+ ---
404
+ timeline
405
+ title History of Social Media Platform
406
+ 2002 : LinkedIn
407
+ 2004 : Facebook : Google
408
+ 2005 : YouTube
409
+ 2006 : Twitter
410
+ 2007 : Tumblr
411
+ 2008 : Instagram
412
+ 2010 : Pinterest
413
+ ```
414
+
415
+ ### Forest Theme
416
+
417
+ ```mermaid-example
418
+ ---
419
+ config:
420
+ logLevel: 'debug'
421
+ theme: 'forest'
422
+ ---
423
+ timeline
424
+ title History of Social Media Platform
425
+ 2002 : LinkedIn
426
+ 2004 : Facebook : Google
427
+ 2005 : YouTube
428
+ 2006 : Twitter
429
+ 2007 : Tumblr
430
+ 2008 : Instagram
431
+ 2010 : Pinterest
432
+ ```
433
+
434
+ ```mermaid
435
+ ---
436
+ config:
437
+ logLevel: 'debug'
438
+ theme: 'forest'
439
+ ---
440
+ timeline
441
+ title History of Social Media Platform
442
+ 2002 : LinkedIn
443
+ 2004 : Facebook : Google
444
+ 2005 : YouTube
445
+ 2006 : Twitter
446
+ 2007 : Tumblr
447
+ 2008 : Instagram
448
+ 2010 : Pinterest
449
+ ```
450
+
451
+ ### Dark Theme
452
+
453
+ ```mermaid-example
454
+ ---
455
+ config:
456
+ logLevel: 'debug'
457
+ theme: 'dark'
458
+ ---
459
+ timeline
460
+ title History of Social Media Platform
461
+ 2002 : LinkedIn
462
+ 2004 : Facebook : Google
463
+ 2005 : YouTube
464
+ 2006 : Twitter
465
+ 2007 : Tumblr
466
+ 2008 : Instagram
467
+ 2010 : Pinterest
468
+ ```
469
+
470
+ ```mermaid
471
+ ---
472
+ config:
473
+ logLevel: 'debug'
474
+ theme: 'dark'
475
+ ---
476
+ timeline
477
+ title History of Social Media Platform
478
+ 2002 : LinkedIn
479
+ 2004 : Facebook : Google
480
+ 2005 : YouTube
481
+ 2006 : Twitter
482
+ 2007 : Tumblr
483
+ 2008 : Instagram
484
+ 2010 : Pinterest
485
+ ```
486
+
487
+ ### Default Theme
488
+
489
+ ```mermaid-example
490
+ ---
491
+ config:
492
+ logLevel: 'debug'
493
+ theme: 'default'
494
+ ---
495
+ timeline
496
+ title History of Social Media Platform
497
+ 2002 : LinkedIn
498
+ 2004 : Facebook : Google
499
+ 2005 : YouTube
500
+ 2006 : Twitter
501
+ 2007 : Tumblr
502
+ 2008 : Instagram
503
+ 2010 : Pinterest
504
+ ```
505
+
506
+ ```mermaid
507
+ ---
508
+ config:
509
+ logLevel: 'debug'
510
+ theme: 'default'
511
+ ---
512
+ timeline
513
+ title History of Social Media Platform
514
+ 2002 : LinkedIn
515
+ 2004 : Facebook : Google
516
+ 2005 : YouTube
517
+ 2006 : Twitter
518
+ 2007 : Tumblr
519
+ 2008 : Instagram
520
+ 2010 : Pinterest
521
+ ```
522
+
523
+ ### Neutral Theme
524
+
525
+ ```mermaid-example
526
+ ---
527
+ config:
528
+ logLevel: 'debug'
529
+ theme: 'neutral'
530
+ ---
531
+ timeline
532
+ title History of Social Media Platform
533
+ 2002 : LinkedIn
534
+ 2004 : Facebook : Google
535
+ 2005 : YouTube
536
+ 2006 : Twitter
537
+ 2007 : Tumblr
538
+ 2008 : Instagram
539
+ 2010 : Pinterest
540
+ ```
541
+
542
+ ```mermaid
543
+ ---
544
+ config:
545
+ logLevel: 'debug'
546
+ theme: 'neutral'
547
+ ---
548
+ timeline
549
+ title History of Social Media Platform
550
+ 2002 : LinkedIn
551
+ 2004 : Facebook : Google
552
+ 2005 : YouTube
553
+ 2006 : Twitter
554
+ 2007 : Tumblr
555
+ 2008 : Instagram
556
+ 2010 : Pinterest
557
+ ```
558
+
559
+ ## Integrating with your library/website
560
+
561
+ Timeline uses experimental lazy loading & async rendering features which could change in the future.The lazy loading is important in order to be able to add additional diagrams going forward.
562
+
563
+ You can use this method to add mermaid including the timeline diagram to a web page:
564
+
565
+ ```html
566
+ <script type="module">
567
+ import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
568
+ </script>
569
+ ```
570
+
571
+ You can also refer the [implementation in the live editor](https://github.com/mermaid-js/mermaid-live-editor/blob/develop/src/lib/util/mermaid.ts) to see how the async loading is done.