diff --git a/ci/render.sh b/ci/render.sh index 59bf830..532f49c 100755 --- a/ci/render.sh +++ b/ci/render.sh @@ -10,7 +10,9 @@ _d2() { } mmdc() { - npx --package @mermaid-js/mermaid-cli@9.2.2 -- mmdc "$@" + config=$(mktempd)/mmdc-config + echo '{"deterministicIds": true}' >$config + npx --package @mermaid-js/mermaid-cli@9.2.2 -- mmdc -c"$config" "$@" } _mmdc() { diff --git a/src/examples/0_basic/render/mermaid_dagre.svg b/src/examples/0_basic/render/mermaid_dagre.svg index 48a1599..38b6116 100644 --- a/src/examples/0_basic/render/mermaid_dagre.svg +++ b/src/examples/0_basic/render/mermaid_dagre.svg @@ -1 +1 @@ -
there
hello
world
\ No newline at end of file +
there
hello
world
\ No newline at end of file diff --git a/src/examples/10_wiiu/render/mermaid_dagre.svg b/src/examples/10_wiiu/render/mermaid_dagre.svg index 1b8bd88..ce48c71 100644 --- a/src/examples/10_wiiu/render/mermaid_dagre.svg +++ b/src/examples/10_wiiu/render/mermaid_dagre.svg @@ -1 +1 @@ -
AMD Latte GPU
IBM Espresso CPU
Memory & I/O Bridge
DRAM Controller
32 MB EDRAM MEM1
SATA IF
EXI
GX
3 MB 1T-SRAM
AMD Radeon R7xx GX2
IBM PowerPC Broadway Core 0
IBM PowerPC Broadway Core 1
IBM PowerPC Broadway Core 2
512 B SEEPROM
2 GB DDR3 RAM MEM2
rtc
\ No newline at end of file +
AMD Latte GPU
IBM Espresso CPU
Memory & I/O Bridge
DRAM Controller
32 MB EDRAM MEM1
SATA IF
EXI
GX
3 MB 1T-SRAM
AMD Radeon R7xx GX2
IBM PowerPC Broadway Core 0
IBM PowerPC Broadway Core 1
IBM PowerPC Broadway Core 2
512 B SEEPROM
2 GB DDR3 RAM MEM2
rtc
\ No newline at end of file diff --git a/src/examples/1_containers/render/mermaid_dagre.svg b/src/examples/1_containers/render/mermaid_dagre.svg index 0b6f552..f3e8d3c 100644 --- a/src/examples/1_containers/render/mermaid_dagre.svg +++ b/src/examples/1_containers/render/mermaid_dagre.svg @@ -1 +1 @@ -
parent
childB
childA
grandchild
foo
\ No newline at end of file +
parent
childB
childA
grandchild
foo
\ No newline at end of file diff --git a/src/examples/2_shapes/render/mermaid_dagre.svg b/src/examples/2_shapes/render/mermaid_dagre.svg index 2009fbb..76d5a45 100644 --- a/src/examples/2_shapes/render/mermaid_dagre.svg +++ b/src/examples/2_shapes/render/mermaid_dagre.svg @@ -1 +1 @@ -
Square
Rounded
Stadium
Circle
Double
circle
Rhomnbus
Database
Asymetric
Hexagon
Parallelogram
Parallelogram (alt)
Trapezoid
Trapezoid (alt)
\ No newline at end of file +
Square
Rounded
Stadium
Circle
Double
circle
Rhomnbus
Database
Asymetric
Hexagon
Parallelogram
Parallelogram (alt)
Trapezoid
Trapezoid (alt)
\ No newline at end of file diff --git a/src/examples/3_trees/render/mermaid_dagre.svg b/src/examples/3_trees/render/mermaid_dagre.svg index 65434aa..ae7fbd5 100644 --- a/src/examples/3_trees/render/mermaid_dagre.svg +++ b/src/examples/3_trees/render/mermaid_dagre.svg @@ -1 +1 @@ -
root
child A
child B
child C
grand child AA
grand child AB
grand child AC
grand child AD
grand child BA
grand grand child BAA
\ No newline at end of file +
root
child A
child B
child C
grand child AA
grand child AB
grand child AC
grand child AD
grand child BA
grand grand child BAA
\ No newline at end of file diff --git a/src/examples/4_chess/render/mermaid_dagre.svg b/src/examples/4_chess/render/mermaid_dagre.svg index 72fe005..e3e8595 100644 --- a/src/examples/4_chess/render/mermaid_dagre.svg +++ b/src/examples/4_chess/render/mermaid_dagre.svg @@ -1 +1 @@ -
defendants
Owns majority
Merger talks
Sponsoring
Accused of cheating on his stream
Lost then withdrew with accusations
72 page report of cheating
sueing for $100M
Magnus Carlsen
Play Magnus Group
Chess.com
Hikaru Nakamura
Hans Niemann
\ No newline at end of file +
defendants
Owns majority
Merger talks
Sponsoring
Accused of cheating on his stream
Lost then withdrew with accusations
72 page report of cheating
sueing for $100M
Magnus Carlsen
Play Magnus Group
Chess.com
Hikaru Nakamura
Hans Niemann
\ No newline at end of file diff --git a/src/examples/5_icons/render/mermaid_dagre.svg b/src/examples/5_icons/render/mermaid_dagre.svg index a74163e..430f83c 100644 --- a/src/examples/5_icons/render/mermaid_dagre.svg +++ b/src/examples/5_icons/render/mermaid_dagre.svg @@ -1 +1 @@ -
gcloud
aws
get persisted data
get temporal data
backup
ssh
version control
\ No newline at end of file +
gcloud
aws
get persisted data
get temporal data
backup
ssh
version control
\ No newline at end of file diff --git a/src/examples/6_tables/render/mermaid_dagre.svg b/src/examples/6_tables/render/mermaid_dagre.svg index a0a9a96..acf584d 100644 --- a/src/examples/6_tables/render/mermaid_dagre.svg +++ b/src/examples/6_tables/render/mermaid_dagre.svg @@ -1 +1 @@ -CARintidtimestamplastUpdatedstringmakestringmodelintyearFACTORYintidstringcountryFACTORY_CAR_SUPPORTintidintfactoryintcarfactory_car_support.factory -> factory.idfactory_car_support.car -> car.id \ No newline at end of file +CARintidtimestamplastUpdatedstringmakestringmodelintyearFACTORYintidstringcountryFACTORY_CAR_SUPPORTintidintfactoryintcarfactory_car_support.factory -> factory.idfactory_car_support.car -> car.id \ No newline at end of file diff --git a/src/examples/7_sequence/render/mermaid_dagre.svg b/src/examples/7_sequence/render/mermaid_dagre.svg index 7a760b7..903e842 100644 --- a/src/examples/7_sequence/render/mermaid_dagre.svg +++ b/src/examples/7_sequence/render/mermaid_dagre.svg @@ -1 +1 @@ -AliceJohnHello John, how are you?John, can you hear me?Hi Alice, I can hear you!I feel great!AliceJohn \ No newline at end of file +AliceJohnHello John, how are you?John, can you hear me?Hi Alice, I can hear you!I feel great!AliceJohn \ No newline at end of file diff --git a/src/examples/8_text/render/mermaid_dagre.svg b/src/examples/8_text/render/mermaid_dagre.svg index 4587601..7ec27d0 100644 --- a/src/examples/8_text/render/mermaid_dagre.svg +++ b/src/examples/8_text/render/mermaid_dagre.svg @@ -1 +1 @@ -

Hope is a good breakfast, but it is a bad supper


- Look into my eyes and try to forget that you have a Macy's charge card!
The Tree of Learning bears the noblest fruit, but noble fruit tastes bad.
x
\ No newline at end of file +

Hope is a good breakfast, but it is a bad supper


- Look into my eyes and try to forget that you have a Macy's charge card!
The Tree of Learning bears the noblest fruit, but noble fruit tastes bad.
x
\ No newline at end of file