Ronid1
b285466130
add integration test
2024-06-06 18:33:55 -07:00
Sidharth Vinod
16f1dccd22
chore: Prettier
2024-03-23 15:24:18 +05:30
Ronid1
f846e7719e
add tests
2024-02-06 15:12:13 -08:00
Ronid1
f737c9f6f9
add actor-bottom class
2024-01-29 11:42:23 -08:00
Ronid1
9ee5667580
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into feature/4653-add_actor-top_class_to_sequence_diagram
2024-01-26 14:08:13 -08:00
Ronid1
36c196e80b
add test
2024-01-26 14:07:12 -08:00
Vitor Soares Silva
8fd268d59b
add sequenceDiagram link e2e test
2024-01-19 16:10:23 -03:00
Faris Nabiev
fc0ade2985
chore(sequence): update doc for actors/participant creation/deletion fix
2023-10-13 12:07:36 +03:00
Faris Nabiev
985eda2dee
chore: add e2e test that shows db cleanup problem
2023-10-13 00:43:48 +03:00
Faris Nabiev
18ea27ac58
chore: add e2e test that shows db cleanup problem
2023-10-13 00:02:46 +03:00
Sidharth Vinod
0cdf801884
Fix import file extension
2023-07-07 17:21:18 +05:30
Laura Valentine Tscharner
d06bb05c5f
feat(sequence): actor creation and destruction #1838
2023-06-08 17:17:31 +01:00
Zihua Li
2a6603b33a
Render empty lines correctly
2023-06-04 16:24:41 +08:00
Zihua Li
ce9bdcc53f
Fix exceptions for empty lines
2023-05-29 21:00:37 +08:00
Justin Greywolf
06fdb95389
Allow overlapping notes
2023-05-03 22:15:59 -07:00
Remco Haszing
b7d31adda4
Support node16 module resolution
...
The `node16` module resolution requires imports to use the `.js` file
extension in type definitions.
`@rollup/plugin-typescript` is needed to make this work with the Vite
setup used by Mermaid.
The module option for Mermaid internally is set to `nodenext`. This is
needed to support `.json` imports. Note that setting `module` to
`node16` or `nodenext` implies a matching `moduleResolution` value.
2023-03-11 14:54:21 +01:00
Per Brolin
ec5fa31a11
Wrap option working in test case
2023-02-21 07:00:51 +01:00
Sidharth Vinod
8d6d90021a
Update cypress/integration/rendering/sequencediagram.spec.js
2023-02-05 11:54:56 +05:30
Olivier Leveau
e659601e03
Add Box support in Sequence Diagrams
2023-01-05 15:40:40 +01:00
Knut Sveidqvist
e6e7bdcb55
#2824 Size changes and updated regressionstest afters diagram sizing changes
2022-08-28 11:25:09 +02:00
Knut Sveidqvist
aa9149912d
Merge branch 'bug/3011_multiline_alignment' of github.com:hype09/mermaid into hype09-bug/3011_multiline_alignment
2022-08-04 13:05:17 +02:00
Knut Sveidqvist
8681e78e50
Fixes for rendering tests
2022-07-20 14:39:01 +02:00
Knut Sveidqvist
dee9cfea85
Reverting to cypress 9.7 in order to get applitools back in the game
2022-07-20 11:32:21 +02:00
MOREL Matthieu
648b15b00b
Upgrade Cypress
2022-06-19 14:36:54 +02:00
Ronald Heggenberger
7372ca5e8e
Adding "Critical Region" and "Break" blocks
2022-05-21 09:31:06 +02:00
Knut Sveidqvist
65143a0182
#2732 Regression fixes for accessibility
2022-05-06 19:42:40 +02:00
Knut Sveidqvist
d914e23626
Fix for hideUnusedParticipants
2022-04-28 18:45:18 +02:00
Yash-Singh1
4c93870580
feat: add hideUnusedParticipants and some cleanup
2022-04-14 19:19:18 -07:00
Knut Sveidqvist
fca58aafb1
Test updates when switching to cypress-image-snapshoits
2022-03-31 19:14:37 +02:00
Matthieu MOREL
d84be0d792
Enable eslint-plugin-jest, eslint-plugin-cypress and wider scan
2021-11-18 23:57:16 +01:00
Ashish Jain
a06f6f9604
Add sanitize to properties and link in Sequence Diagram
2021-10-07 21:48:44 +02:00
Ashish Jain
38ef061175
Reverting PR #2312
2021-09-29 18:22:35 +02:00
Knut Sveidqvist
b62d0d974f
Merge pull request #2312 from cm-wada-yusuke/bug/2160-fixed-height-useMaxWith
...
configureSvgSize should make height 100% when useMaxWidth is true.
2021-09-23 19:32:43 +02:00
Knut Sveidqvist
004e7e376d
Merge branch 'develop' into feature/2249_sequence_diagram_popup_menus
2021-09-18 10:19:07 +02:00
Knut Sveidqvist
9c511559ff
#2315 Adding to docs and an integration test
2021-09-18 07:51:15 +02:00
Yusuke Wada
0839fadbc2
fix e2e
2021-09-15 12:47:24 +09:00
eajenkins
85d33ecccd
Added support for a new link syntax per recommendation:
...
link <actor>: <label> @ <link-url>
Removed documentation for class/icon definitions until we can finalize the design for this.
Fixed prettier errors.
2021-09-10 16:27:07 -07:00
E Jenkins
ce6d8576ae
Merge branch 'develop' into feature/2249_sequence_diagram_popup_menus
2021-08-27 15:02:11 -07:00
eajenkins
291bec7e90
Initial implementation for Issue#2249.
...
Includes changes to sequence diagram code to enable popup menus and individualized styling of actors
Includes unit and e2e tests.
Includes updates to the md file for sequencediagrams.
2021-08-27 10:56:56 -07:00
MOREL Matthieu
55faa3cb1a
yarn build and adapt e2e tests
...
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-18 16:49:00 +02:00
Johnny Walker
0fe1fb76d1
test: add tests for sequence diagram text wrap updates
2020-12-12 02:01:40 -05:00
Guillaume Grossetie
99844b4ca3
Add e2e tests on all diagrams
2020-08-25 17:17:52 +02:00
Knut Sveidqvist
6b23c71bb5
Use courier in all rendering tests
2020-08-16 21:49:36 +02:00
chris moran
217bd1f4bf
Fixed test cases for sequence diagrams
...
Updated config to match a conversation knut and i had about the relationship between global, site, and integrator configuration
(Will update docs)
Renamed wrapEnabled to wrap
Poor man's caching for calculateTextDimensions, wrapLabel, and breakString (actually makes a huge difference)
2020-06-26 09:26:56 -04:00
chris moran
7d9bf83f66
addition: added bounds models for bounds checking in unit tests.
...
addition: bounds.init will clear models
addition: added loop model widths id instead of using title as the id
removed parseMessage debug message
addition: added configuration labelBoxWidth and labelBoxHeight for loop label box width/height
change: adjusted svgDraw drawText to support anchor and valign and whether to output a tspan
change: drawText returns an array regardless of array size
change: hardcoded label width/height uses conf.labelBoxWidth and conf.labelBoxHeight
change: Math.round() on many of the calculations to clean up bounds values
change: getTextObj anchor, width, height start as undefined
2020-06-22 16:59:07 -04:00
Chris Moran
e64a65c41e
Refactored rendering sequence diagrams
...
Fixed default config clobbering issues
Updated/corrected sequenceDiagram.spec to set the config using mermaidAPI
Enabled freeze on mermaidAPI to protect defaultConfig
2020-06-18 08:10:50 -04:00
Chris Moran
67c2fe8005
Refactored rendering sequence diagrams
...
Fixed default config clobbering issues
2020-06-17 18:13:37 -04:00
Chris Moran
5f257119d6
Merge branch 'develop' into refactor-sequences
...
# Conflicts:
# dist/mermaid.core.js
# dist/mermaid.core.js.map
# dist/mermaid.js
# dist/mermaid.js.map
# dist/mermaid.min.js
# dist/mermaid.min.js.map
# src/config.js
# src/mermaidAPI.js
2020-06-17 06:12:02 -04:00
Chris Moran
3c72d28511
Refactored rendering sequence diagrams
2020-06-17 05:54:24 -04:00
Knut Sveidqvist
5677523800
1473 Setting default config
2020-06-14 23:37:08 +02:00