liaoch commited on
Commit
709a4d8
·
1 Parent(s): 3c95dc3

Update default mermaid code to mindmap example

Browse files
Files changed (1) hide show
  1. app.py +17 -6
app.py CHANGED
@@ -29,12 +29,23 @@ except RuntimeError as e:
29
  def index():
30
  """Display the main page with the form, including default example code."""
31
  default_mermaid_code = textwrap.dedent("""
32
- graph TD
33
- A[Start] --> B{Is it?};
34
- B -- Yes --> C[OK];
35
- C --> D[End];
36
- B -- No --> E[Really?];
37
- E --> C;
 
 
 
 
 
 
 
 
 
 
 
38
  """).strip()
39
 
40
  if renderer is None:
 
29
  def index():
30
  """Display the main page with the form, including default example code."""
31
  default_mermaid_code = textwrap.dedent("""
32
+ mindmap
33
+ root((mindmap))
34
+ Origins
35
+ Long history
36
+ ::icon(fa fa-book)
37
+ Popularisation
38
+ British popular psychology author Tony Buzan
39
+ Research
40
+ On effectiveness<br/>and features
41
+ On Automatic creation
42
+ Uses
43
+ Creative techniques
44
+ Strategic planning
45
+ Argument mapping
46
+ Tools
47
+ Pen and paper
48
+ Mermaid
49
  """).strip()
50
 
51
  if renderer is None: