kerwin612
4f5cab7f4c
fix: autonumber bug
2022-03-11 16:32:04 +08: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
Knut Sveidqvist
004e7e376d
Merge branch 'develop' into feature/2249_sequence_diagram_popup_menus
2021-09-18 10:19:07 +02:00
Knut Sveidqvist
432267c811
#2315 Fix for broken tests
2021-09-18 10:05:53 +02:00
Knut Sveidqvist
6ce1c80a47
#2315 Adding the possibility to add actor figures as participants
2021-09-16 20:43:10 +02: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
Knut Sveidqvist
b29979bfd9
Fix for broken test
2021-08-05 18:58:42 +02:00
Knut Sveidqvist
5d24a2b7d9
#1528 Adding async arrow type in sequence diagrams
2021-01-11 23:09:37 +01:00
Johnny Walker
0fe1fb76d1
test: add tests for sequence diagram text wrap updates
2020-12-12 02:01:40 -05:00
Knut Sveidqvist
c691ef1899
Removing console.logs
2020-09-30 18:47:50 +02:00
Knut Sveidqvist
ecea0f90d4
#1542 Handling of config
2020-07-29 22:19:23 +02:00
Knut Sveidqvist
a4bf85b1b6
#1542 Making sure config and directives works for overriding theme variables using initialize call or directives + tests
2020-07-29 18:38:59 +02:00
chris moran
4ee65822aa
Merge remote-tracking branch 'carlosblanco/feature/1228-support-dashes-in-actor-names-in-sequence-diagrams' into develop
2020-07-27 15:05:57 -04:00
chris moran
c4ad95760a
Fixed a regression in sequence diagram parsing.
...
Added the parser as the first argument to parseDirective to support custom directive handling (for now delegated within mermaidAPI but should probably discriminate based on type for delegation)
2020-07-27 06:50:54 -04:00
Carlos Blanco
b120c34177
Support dashes in actor names in sequence diagrams
2020-07-23 20:15:52 -06:00
Knut Sveidqvist
19ed03c44c
#1524 Updated tests
2020-07-04 12:35:34 +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
18254392ab
Merge branch 'mermaid-js-develop' into develop
2020-06-19 13:32:23 -04:00
Chris Moran
1118c3399c
Fixed incorrect positioning and bounds for actors and notes with wrapping enabled and disabled
2020-06-19 09:13:37 -04:00
Knut Sveidqvist
44d5009538
Revert of PR #1482
2020-06-19 10:52:20 +02: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
Knut Sveidqvist
bd0210cdce
1473 Updated config handling
2020-06-15 01:11:56 +02:00
Chris Moran
0ae001ed6d
Fixed issue with idea-multimarkdown.
...
- JavaFX does not support lookbehind
- (?) It also appears that named regex groups are also unsupported for both mermaid and javafx
Update:
- Fixed an issue where setLogLevel did not properly handle 'named' log levels
- Backwards compatibility should be preserved, any/all %%{...}%% directives will be correctly processed by the grammar and properly ignored for any/all graph types that do not support them.
- Multiline directives will render an error (as they should) if they are not accounted for in the .jison grammar
2020-06-14 11:34:39 -04:00
Chris Moran
04b4da0c75
## Work in progress.
...
Implemented directives per PR review comment:
%%{directive: json-encoded-arg-string}%%
example:
%%{init: { 'logLevel': 0, 'theme': 'dark' }}%%
Also changed wrap and config to directives:
%%{wrap}%%
%%{config: { 'fontSize': 18 }}%%
2020-06-11 15:35:00 -04:00
Knut Sveidqvist
f8137ea7c1
#1257 Adding the autonumber keyword + tests and docs
2020-02-16 15:26:08 +01:00
Knut Sveidqvist
d9318c5af3
#1205 Adding parsing exception for then an inactive participant is inactivated
2020-01-15 20:27:31 +01:00
Gene Wood
b4f9dd46a9
Add tests for <br \t> case
...
This adds tests for the case where
* multiple pieces of whitespace are used
* one of those whitespace characters is a tab
2019-12-23 08:52:15 -08:00
Marc Faber
233520b797
#702 improve handling of different "br" tag notations for multiline texts in sequence diagrams
2019-12-21 20:39:32 +01:00
Sakis bal
153b3322a6
Small gramatical mistake
2019-10-21 12:38:01 -04:00
knsv
ad5669b523
#931 Aligning code standard
2019-09-12 12:55:10 -07:00
Alexander Sage
8f6d148481
chore: added test for background rect dimensions
2019-07-23 21:28:48 -07:00
Alexander Sage
671a892b52
fix: removed it.only
2019-07-23 21:08:33 -07:00
Alexander Sage
5c25c5563a
chore: Added e2e snapshot tests
2019-07-23 21:07:01 -07:00
Alexander Sage
c8091c61c0
feat: sequence diagram background rect
2019-07-22 22:47:49 -07:00
IOrlandoni
e93cc85e9b
Trimming whitespace after participant id
2019-07-14 11:51:20 -04:00
Stefan Sechelmann
3b4e48e32f
remove whitespace to adhere to standards
2018-03-15 14:10:10 +01:00
Stefan Sechelmann
cf589f713d
add spec for multiple else statements
2018-03-15 13:56:56 +01:00
Tyler Long
3e9215b27d
Rename folders
2018-03-13 15:28:48 +08:00