Skip to content

Commit

Permalink
Adding more shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv authored and nhooyr committed Dec 13, 2022
1 parent 3931249 commit e57ffa5
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions src/examples/2_shapes/syntax/mermaid
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
graph TD
parse[/parse/]
compile[/compile/]
export[/export/]
parse --> compile --> export
flowchart TD
Square
Rounded(Rounded)
Stadium([Stadium])
Square --- Rounded --- Stadium

db[(Database)]
A[/Christmas\]
B[\Go shopping/]
A --> B
id1(((This is the text in the circle)))
Circle((Circle))
DCircle(((Double<br/>circle)))
Rhombus{Rhomnbus}
Circle --- DCircle ---Rhombus

Database[(Database)]
Asymetric>Asymetric]
Hexagon{{Hexagon}}
Database --- Asymetric --- Hexagon

Parallelogram[/Parallelogram/]
AltParallelogram[/"Parallelogram (alt)"/]
Parallelogram --- AltParallelogram

Trapezoid[/Trapezoid\] --- AltTrapezoid[\"Trapezoid (alt)"/]

0 comments on commit e57ffa5

Please sign in to comment.