Commit Graph

12025 Commits

Author SHA1 Message Date
Ashish Jain
eb346e1c51 fix for min size for several shapes 2024-10-01 21:35:30 +02:00
Ashish Jain
d2dfb639c8 fix for min size for several shapes 2024-10-01 18:52:26 +02:00
Alois Klink
5363e9545e Merge 'aloisklink:fix/5904-ban-dompurify-3.1.7' into neo-new-shapes
This prevents DOMPurify 3.1.7 from being installed.
2024-10-02 00:27:19 +09:00
Alois Klink
de2c05cd54 fix: ban version v3.1.7 of DOMPurify
[DOMPurify v3.1.7][1] forbids the use of `<foreignElement>` for HTML
inside of an `<svg>` element, which breaks many mermaid diagrams.

It is likely that v3.1.8 will add a new option that will allow us to
re-enable this behaviour, but v3.1.7 definitely does not work.

[1]: https://github.com/cure53/DOMPurify/releases/tag/3.1.7

See: https://github.com/cure53/DOMPurify/issues/1002
Fix: https://github.com/mermaid-js/mermaid/issues/5904
2024-10-02 00:02:52 +09:00
omkarht
42fd9836f0 updated curly-brace shapes 2024-10-01 18:56:29 +05:30
Knut Sveidqvist
bda3bfd2a7 test html file 2024-10-01 14:50:20 +02:00
Knut Sveidqvist
834fa07991 Updated shapes using the set width/height 2024-10-01 14:18:40 +02:00
Knut Sveidqvist
491aa7d9ff Mermaid version v11.2.0-b.12 2024-09-30 15:04:25 +02:00
Knut Sveidqvist
6cf07067e2 Default size for circle 2024-09-30 14:57:14 +02:00
Knut Sveidqvist
d0881534c1 Merge branch 'neo-new-shapes' of github.com:Mermaid-Chart/alana-mermaid into neo-new-shapes 2024-09-30 14:54:40 +02:00
Knut Sveidqvist
f10d148097 Adjusted min values 2024-09-30 14:53:33 +02:00
Per Brolin
f5545d094f Set a smaller default size for stateStart and stateEnd 2024-09-30 13:16:44 +02:00
Per Brolin
c36bdf12a0 Merge branch 'perb-fix-circles-resize' into neo-new-shapes 2024-09-30 10:58:54 +02:00
Per Brolin
92f67af6af Merge branch 'neo-new-shapes' into perb-fix-circles-resize 2024-09-30 10:56:08 +02:00
Per Brolin
d175e9a403 Fixed default size if not provided in height/width 2024-09-30 10:48:15 +02:00
Per Brolin
2ce57e4cf4 Fix default size if width/height not provided 2024-09-30 10:45:52 +02:00
Per Brolin
a7a9185222 Fix default size if not provided 2024-09-30 10:44:01 +02:00
Per Brolin
edc2ac7fea Fixed double circle 2024-09-30 10:35:13 +02:00
Per Brolin
221d59cbfc Fix problem with circle 2024-09-30 10:26:00 +02:00
Knut Sveidqvist
e8472c3647 Merge branch 'neo-new-shapes' of github.com:Mermaid-Chart/alana-mermaid into neo-new-shapes 2024-09-30 10:16:38 +02:00
Knut Sveidqvist
414f666417 Better handling of subgraphs without positions 2024-09-30 10:11:38 +02:00
Per Brolin
5ad1a6082b Merge branch 'neo-new-shapes' into perb-fix-circles-resize 2024-09-29 22:45:46 +02:00
Per Brolin
32d7f470dc fix remaining rendering of circles 2024-09-29 22:40:08 +02:00
Ashish Jain
9b269ecf3b fix for trapezoidal pentagon 2024-09-29 20:42:01 +02:00
Per Brolin
8fa8fd6abd WIP. Updated size-testet 2024-09-29 20:36:36 +02:00
omkarht
9957d3101f updated multiWaveEdgedRectangle shape 2024-09-28 23:52:00 +05:30
Ashish Jain
22982baf1a fix for flipped triangle 2024-09-28 12:35:44 +02:00
Ashish Jain
d3b51e2282 fix for triangle 2024-09-28 12:35:01 +02:00
Knut Sveidqvist
d9b2220085 Merge branch 'neo-new-shapes' of github.com:Mermaid-Chart/alana-mermaid into neo-new-shapes 2024-09-27 17:36:43 +02:00
Knut Sveidqvist
e2ecb8e180 TaggedWaveEdged Rect 2024-09-27 17:35:44 +02:00
Alois Klink
68ba79259a fix: fix sizing of bow-rect in fixed layout
OMG, I never want to hear 'sagitta', 'ellipse', and 'Elliptic integral'
again. This shape was painful to fix.
2024-09-28 00:20:14 +09:00
Knut Sveidqvist
0f7e14ba70 Update for stadium shape 2024-09-27 16:59:37 +02:00
Knut Sveidqvist
59f28810d5 lin-doc shape fixed 2024-09-27 16:26:44 +02:00
Knut Sveidqvist
00b32d07fe Merge branch 'neo-new-shapes' of github.com:Mermaid-Chart/alana-mermaid into neo-new-shapes 2024-09-27 16:15:06 +02:00
Knut Sveidqvist
bf57a283d3 Trapezoids and document 2024-09-27 16:14:28 +02:00
Alois Klink
ee2e6a2c2c fix: fix sizing of tag-rect in fixed layout 2024-09-27 23:05:40 +09:00
Alois Klink
9caa46cfd2 fix: fix sizing of st-rect in fixed layout 2024-09-27 23:05:40 +09:00
Alois Klink
2566f1cab8 fix: fix sizing of sl-rect in fixed layout 2024-09-27 23:05:40 +09:00
Alois Klink
aae4e6f048 fix: fix sizing of win-pane in fixed layout 2024-09-27 23:05:40 +09:00
Alois Klink
b32acb619c fix: fix sizing of div-rect in fixed layout 2024-09-27 23:05:40 +09:00
Alois Klink
1510939196 fix: fix sizing of lin-rect in fixed layout 2024-09-27 23:05:40 +09:00
Alois Klink
a8db94fd1a fix: fix sizing of notch-rect in fixed layout 2024-09-27 23:05:40 +09:00
Alois Klink
c72d774519 fix: fix sizing of fr-rect in fixed layout 2024-09-27 23:05:40 +09:00
Ashish Jain
437f2c0be2 fix for half-rounded-rectangle 2024-09-27 16:03:13 +02:00
omkarht
82e8eb97cc updated waveRectangle shape 2024-09-27 19:20:29 +05:30
Ashish Jain
c7a2023661 fix for curved trapezoid 2024-09-27 14:43:34 +02:00
Ashish Jain
0b0c0fc1f1 lin cyl 2024-09-27 14:13:54 +02:00
Ashish Jain
ba51f4ab38 fix cylr & h-cyl 2024-09-27 13:55:22 +02:00
Knut Sveidqvist
c3838305b3 Lean-left 2024-09-27 13:44:44 +02:00
Knut Sveidqvist
5b7dfbad94 Merge branch 'neo-new-shapes' of github.com:Mermaid-Chart/alana-mermaid into neo-new-shapes 2024-09-27 13:41:12 +02:00