AI Flowchart Syntax

Introduction
AI Flowchart is base on Mermaid.js, so it follows the Mermaid.js syntax. The Flowchart is composed of nodes (geometric shapes) and edges (arrows or lines). The Mermaid.js code defines how nodes and edges are made and accommodates different arrow types, multi-directional arrows, and any linking to and from subgraphs.
Define node
type code graph syntax
node
flowchart LR
  apple
Just input the node name.
node with text
flowchart LR
  node["This is text"]
Put text in brackets, use double quotes to enclose the text.
node with markdown
flowchart LR
  node["`This **is**
_Markdown_`"]
Put markdown in brackets, use double quotes and backticks to enclose the text.
Node shapes
type code graph syntax
A node with round edges
flowchart LR
  node(Content)
Put text in (...)
A stadium-shaped node
flowchart LR
  node([Content])
Put text in ([...])
A node in a subroutine shape
flowchart LR
  node[[Content]]
Put text in [[...]]
A node in a cylindrical shape
flowchart LR
  node[(Content)]
Put text in [(...)]
A node in the form of a circle
flowchart LR
  node((Content))
Put text in ((...))
A node in an asymmetric shape
flowchart LR
  node>Content]
Put text in >...]
A diamond node
flowchart LR
  node{Content}
Put text in {...}
A hexagon node
flowchart LR
  node{{Content}}
Put text in {{...}}
Parallelogram A
flowchart LR
  node[/Content/]
Put text in [/.../]
Parallelogram B
flowchart LR
  node[\Content\]
Put text in [\...\]
Trapezoid A
flowchart LR
  node[/Content\]
Put text in [/...\]
Trapezoid B
flowchart LR
  node[\Content/]
Put text in [\.../]
Double circle
flowchart LR
  node(((Content)))
Put text in (((...)))
Links between nodes
Line length
Length 1 2 3
Normal --- ---- -----
Normal with arrow --> ---> ---->
Thick === ==== =====
Thick with arrow ==> ===> ====>
Dotted -.- -..- -...-
Dotted with arrow -.-> -..-> -...->
More advanced usages
Advance usages includes subgraph, interaction, styling and classes and etc. Please view Mermaid.js official site.