Knut Sveidqvist
1befbe08ff
#3308 Allowing br tags in tooltips
2022-08-18 19:11:33 +02:00
Knut Sveidqvist
2ab1e162ea
#3074 Cleanup and fixes for issues with accessibility for gantt and journey diagrams
2022-05-24 18:20:05 +02:00
Knut Sveidqvist
a3878528c6
#3050 Renaming setTitle to setAccTitle
2022-05-17 20:23:45 +02:00
Yash-Singh1
bc58c8e03c
chore: reduce excessive logs in unit tests
2022-05-10 17:09:42 -07:00
Knut Sveidqvist
572b29b35f
Merge branch 'develop' into 2732_accesible_charts
2022-05-06 17:17:59 +02:00
Knut Sveidqvist
5e6b4d73e1
Updated classdiagrams with the new syntax
2022-04-30 14:54:24 +02:00
Yash-Singh1
dc53699a96
chore: fix a few security vulnerabilities
2022-04-28 19:29:56 -07:00
Cory Gwin
bfca242958
feat(:accessibility): Add accessibility fields to class chart
2022-04-07 13:56:23 +00:00
Knut Sveidqvist
882ba03fcb
fix: handling diagram width in sandbox mode
2022-02-03 19:54:24 +01:00
Knut Sveidqvist
fa55b7c824
feat: add support for links in sanbox mode
2022-01-28 14:45:43 +01:00
Knut Sveidqvist
e3e9c67f5b
fix: handling rerender in sandbox mode
2022-01-22 12:36:18 +01:00
Knut Sveidqvist
4081d7f5f6
feat: experimental version of sanboxing
2022-01-20 19:37:52 +01:00
Knut Sveidqvist
3a2f6659a6
fix: one more sanitization
2022-01-18 23:26:43 +01:00
Knut Sveidqvist
2210c73ae8
fix: handling annotations
2022-01-18 23:21:09 +01:00
Knut Sveidqvist
44d7dfe993
#2646 exploration
2022-01-18 23:02:16 +01:00
Knut Sveidqvist
91ec41762a
#2632 Adding proper handling of cardinalities
2022-01-16 15:14:59 +01:00
Knut Sveidqvist
a97b2cc4da
#2541 Sanitizing the label string in class diagrams
2021-12-07 21:55:33 +01:00
Knut Sveidqvist
9d1f32cc0a
Merge branch 'eslint-fix' of https://github.com/mmorel-35/mermaid into mmorel-35-eslint-fix
2021-11-18 18:05:15 +01:00
Knut Sveidqvist
3feff08d42
#2496 A more delicate fix for issue
2021-11-17 21:31:52 +01:00
Matthieu MOREL
57671b2b78
enable prettier-plugin-jsdoc
2021-11-10 08:41:52 +01:00
Matthieu MOREL
4d103c14f7
enable eslint fix and eslint-plugin-jsdoc
2021-11-09 11:01:49 +01:00
Knut Sveidqvist
0658a363cb
#2270 Add support for direction statements for classDiagrams
2021-08-26 17:05:10 +02:00
Knut Sveidqvist
5399214ad8
Update of prettier, eslint and rules
2021-07-15 11:35:12 +02:00
harshilparmar
7019a1149d
Change logger to log
2021-02-06 15:56:05 +05:30
Ashish Jain
032d8781dc
Updated the click_security_loose test case for classDiagram and classDiagram-v2 for new callback function arg
2020-12-17 20:26:12 +01:00
Knut Sveidqvist
9d8c867de8
#1676 Adding click support to the new rendering engine and classDiagram-v2
2020-09-10 20:58:16 +02:00
Justin Greywolf
1f051d7a9f
1181-Css for class diagrams
...
Initial change for supporting custom CSS for use with classDiagrams.
updated `LABEL` regex for specificity
2020-08-03 12:47:50 -07: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
771bf78576
Fixed parsers to use the correct type name in close_directive
...
Added directive support to pie
(Refactored pie parsing to be a bit more clear)
Added more unit tests to pie
2020-07-27 13:24:23 -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
chris moran
38d4b5be1a
Fixed an issue with flowchart rendering. Remember to render html, securityLevel='loose' must be set by the siteConfig. The default securityLevel as of now is 'strict'. This causes html to be url encoded.
2020-07-27 05:33:41 -04:00
Toan
28dcc781b4
Chart Node click event support key-path value for function callback
2020-06-13 17:41:52 +07:00
Toan
44675739a1
when window scroll, the tooltip show incorrect position coz its missing offset of window.scrollXY
2020-06-11 16:01:36 +07:00
Adrian Hall
053a86c0d4
Do explicit imports for d3 instead of wildcards
2020-05-11 07:10:04 +01:00
Justin Greywolf
6d74c5663f
1169- break out getRows
...
Moved getRows function from `state/stateRenderer.js` and `state/shapes.js` into `common/common.js`. Broke out section into small one line functions for replacing line breaks, then moved the `sanitize` function from `utils.js` to this new module as there is shared functionality
2020-02-21 13:49:05 -08:00
Florian Grandel
9a6b07e1e1
fix( #1192 ): relation got cut off
2020-01-09 16:24:47 +01:00
Ashish Jain
48c345a403
#1092 Fix for mangling of multiple classDiagrams
2020-01-08 20:48:57 +01:00
Justin Greywolf
38097c9095
code style
2020-01-02 11:27:56 -08:00
Justin Greywolf
7f31e624ca
Addressing code style issues
2020-01-02 11:24:06 -08:00
Justin Greywolf
e6fbfcb1e8
1064 Adding tooltip and function calls to click evens in class diagrams
2020-01-02 11:06:29 -08:00
Justin Greywolf
2decf94ad0
1064- Add click functionality to class diagrams
...
modified interaction functionality from flowcharts to work with class diagrams
2019-12-30 17:27:20 -08:00
Justin Greywolf
de8c6d5572
Merge branch 'develop' into 1104(b)-SupportForAbstractMethodInClassDiagram
2019-12-11 10:31:27 -08:00
Justin Greywolf
74c8e7fad9
another style fix
2019-12-10 15:21:25 -08:00
Justin Greywolf
4b781d3827
remove extra space
2019-12-10 15:18:26 -08:00
Justin Greywolf
9fbcc5c32d
Code style fix
2019-12-10 15:12:37 -08:00
Justin Greywolf
5b2f9351c7
Add support for abstract methods
...
Added logic to allow rendering of a method name with italics or underline based on modifier at beginning of name to set css style
2019-12-09 18:13:06 -08:00
Justin Greywolf
6a9b251be1
Fix code style errors
2019-12-06 20:35:22 -08:00
Justin Greywolf
2a41280076
Add support for Generic class definitions
...
Added support in parser to translate characters surrounded by `~` into generic type definition ie: `Class01~T~` would turn into `Class01<T>`
2019-12-05 12:59:22 -08:00
Knut Sveidqvist
51a89c80aa
Merge pull request #985 from knsv/bug/984_bracket_syntax_properties_reversed_order
...
bug/984 Class diagram: properties with bracket syntax are reversed in order
2019-10-15 18:39:20 +02:00
Ashish Jain
f8f52c4587
Fix for viewport in classDiagram and stateDiagram renndering
2019-10-09 21:15:17 +02:00