Knut Sveidqvist
0a55cda0a9
Rendering statediagram v2 using the diagram passed from mermaidAPI
2022-06-26 21:05:30 +02:00
Knut Sveidqvist
2480a5eaa2
Merge remote-tracking branch 'origin/develop' into 3061_refactoring_and_modularisation
2022-06-26 14:28:11 +02:00
Sidharth Vinod
0e47c0ee6c
fix #3019 Add word boundary to FK&PK. ( #3168 )
2022-06-23 08:20:32 +02:00
Knut Sveidqvist
2792bb41de
Updated allowed characters to accomodate fonts and rgba colors
2022-06-22 08:16:55 +02:00
yutotnh
ca909edbed
fix: Typo for documents and comments
2022-06-22 12:39:10 +09:00
Knut Sveidqvist
610f154c74
Sanitizsation of incoming variables that are added to the userStyles
2022-06-21 21:46:37 +02:00
Knut Sveidqvist
ec2da8e85d
Only allowing a subset of characters in themeVariables
2022-06-21 21:17:53 +02:00
pinghe
546eb285c4
C4 diagram is fixed style, such as css color, so different css is not provided under different skins.
...
updateElementStyle and UpdateElementStyle are written in the diagram last part. updateElementStyle is inconsistent with the original definition and updates the style of the relationship, including the offset of the text label relative to the original position.
- [ ] Custom tags/stereotypes support and skinparam updates
- - [ ] AddElementTag(tagStereo, ?bgColor, ?fontColor, ?borderColor, ?shadowing, ?shape, ?sprite, ?techn, ?legendText, ?legendSprite): Introduces a new element tag. The styles of the tagged elements are updated and the tag is displayed in the calculated legend.
- - [ ] AddRelTag(tagStereo, ?textColor, ?lineColor, ?lineStyle, ?sprite, ?techn, ?legendText, ?legendSprite): Introduces a new Relationship tag. The styles of the tagged relationships are updated and the tag is displayed in the calculated legend.
- - [X] UpdateElementStyle(elementName, ?bgColor, ?fontColor, ?borderColor, ?shadowing, ?shape, ?sprite, ?techn, ?legendText, ?legendSprite): This call updates the default style of the elements (component, ...) and creates no additional legend entry.
- - [X] UpdateRelStyle(from, to, textColor, lineColor, ?offsetX, ?offsetY): This call updates the default relationship colors and creates no additional legend entry. Two new parameters, offsetX and offsetY, are added to set the offset of the original position of the text.
- - [ ] RoundedBoxShape(): This call returns the name of the rounded box shape and can be used as ?shape argument.
- - [ ] EightSidedShape(): This call returns the name of the eight sided shape and can be used as ?shape argument.
- - [ ] DashedLine(): This call returns the name of the dashed line and can be used as ?lineStyle argument.
- - [ ] DottedLine(): This call returns the name of the dotted line and can be used as ?lineStyle argument.
- - [ ] BoldLine(): This call returns the name of the bold line and can be used as ?lineStyle argument.
- - [X] UpdateLayoutConfig(?c4ShapeInRow, ?c4BoundaryInRow): New. This call updates the default c4ShapeInRow(4) and c4BoundaryInRow(2).
2022-06-18 22:43:07 +08:00
Knut Sveidqvist
f79d4f9a40
Merge branch 'develop' into 3061_refactoring_and_modularisation
2022-06-18 14:24:51 +02:00
Yash Singh
ddcc9a9d77
fix: use db for parser.yy
2022-06-16 11:37:28 -07:00
ashishj
e29c3d6125
#3095 Added support for commit & tag label font size
2022-06-14 20:36:26 +02:00
Knut Sveidqvist
69b7b0e029
Fix for padding issue and some cleanup
2022-06-14 20:09:55 +02:00
ashishj
113efd1150
Added placeholder docs fro C4C diagram
2022-06-14 18:27:15 +02:00
Knut Sveidqvist
2d5e49fa15
2022-06-14 17:49:05 +02:00
Ashish Jain
611880414b
Merge pull request #3114 from siddhant-tripathy1/3093_Removing_sass_files
...
Removed the Sass files
2022-06-14 17:10:45 +02:00
Knut Sveidqvist
5d30d46535
Merge pull request #3118 from mermaid-js/3116_paddings
...
Handle diagram paddings in a consistent way
2022-06-08 20:24:18 +02:00
Knut Sveidqvist
4dd3d3bc76
2022-06-08 20:17:31 +02:00
siddhant tripathy
61c1b0aebb
Removed the Sass files
2022-06-08 00:27:23 +05:30
ashishj
c147404d1c
#3080 Added support for cherry pick commits
2022-06-07 20:32:43 +02:00
ashishj
1851e81794
#3080 Adding rotated commit label functionality
2022-06-07 18:45:07 +02:00
Knut Sveidqvist
aeb6e860bb
Merge pull request #3094 from deining/contrib
...
Fixing various typos
2022-06-07 17:17:49 +02:00
Knut Sveidqvist
3300ad09f3
Merge pull request #3038 from pinghe/develop
...
Add C4 Diagram. Compatible with C4-PlantUML syntax.
2022-06-07 17:12:10 +02:00
Andreas Deininger
8e157423e0
Fixing various typos
...
Changing links from http to https
2022-06-01 12:06:53 +02:00
Knut Sveidqvist
bd459fadd3
2022-05-31 20:35:44 +02:00
Knut Sveidqvist
bb5baa65cb
Merge branch 'develop' of github.com:mermaid-js/mermaid into develop
2022-05-31 17:11:29 +02:00
Knut Sveidqvist
ee61a26faf
Merge pull request #3063 from financelurker/feature/3062_critical_region_and_break_in_sequence_diagrams
...
feat: adding "Critical Region"/"Option" and "Break" blocks to sequence diagram
2022-05-31 17:11:03 +02:00
Knut Sveidqvist
66f2f42294
Selecting the correct title for gantt charts
2022-05-24 20:10:04 +02:00
Knut Sveidqvist
b82b2d2b78
#3074 Using regular title as a fallback for the accessibility title when no dedicated accessibility title is present
2022-05-24 18:52:37 +02:00
Knut Sveidqvist
6eef26f107
#3074 Fix for tests
2022-05-24 18:33:13 +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
Ronald Heggenberger
077e6621b9
Undo whitespace changes
2022-05-21 09:40:21 +02:00
Ronald Heggenberger
7372ca5e8e
Adding "Critical Region" and "Break" blocks
2022-05-21 09:31:06 +02:00
Michael Genereux
938b47bead
Removed unnecessary textLength attribute.
...
This attribute makes two digit numbers look bad.
2022-05-19 23:17:11 +00:00
Mindaugas Laganeckas
ce3ba4f772
Make initThrowsErrors available to clients
...
Missing piece for https://github.com/mermaid-js/mermaid/pull/2379
2022-05-18 08:51:19 +02:00
Knut Sveidqvist
a3878528c6
#3050 Renaming setTitle to setAccTitle
2022-05-17 20:23:45 +02:00
ashishj
91d5c7ed71
#3046 Fixed liniting issue
2022-05-17 19:28:23 +02:00
ashishj
85062ac570
#3046 Add support for cyclic themeVariable rotation for more than 8 branches
2022-05-17 19:15:50 +02:00
ashishj
ea58bb3359
Merge branch 'master' into develop
2022-05-17 17:06:38 +02:00
pinghe
28ca1420f9
Add C4Context diagram. Compatible with C4-PlantUML syntax.
...
For an example, see the source code demos/index.html
- System Context
- Container diagram
- Component diagram
- Dynamic diagram
- Deployment diagram
2022-05-17 19:57:03 +08:00
pinghe
015c112103
Add C4Context diagram. Compatible with C4-PlantUML syntax.
...
```
C4Context
title System Context diagram for Internet Banking System
Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.")
Person(customerB, "Banking Customer B")
Person_Ext(customerC, "Banking Customer C")
System(SystemAA, "Internet Banking System", "Allows customers to view information about their bank accounts, and make payments.")
Person(customerD, "Banking Customer D", "A customer of the bank, <br/> with personal bank accounts.")
Enterprise_Boundary(b1, "BankBoundary") {
SystemDb_Ext(SystemE, "Mainframe Banking System", "Stores all of the core banking information about customers, accounts, transactions, etc.")
System_Boundary(b2, "BankBoundary2") {
System(SystemA, "Banking System A")
System(SystemB, "Banking System B", "A system of the bank, with personal bank accounts.")
}
System_Ext(SystemC, "E-mail system", "The internal Microsoft Exchange e-mail system.")
SystemDb(SystemD, "Banking System D Database", "A system of the bank, with personal bank accounts.")
Boundary(b3, "BankBoundary3", "boundary") {
SystemQueue(SystemF, "Banking System F Queue", "A system of the bank, with personal bank accounts.")
SystemQueue_Ext(SystemG, "Banking System G Queue", "A system of the bank, with personal bank accounts.")
}
}
BiRel(customerA, SystemAA, "Uses")
BiRel(SystemAA, SystemE, "Uses")
Rel(SystemAA, SystemC, "Sends e-mails", "SMTP")
Rel(SystemC, customerA, "Sends e-mails to")
```
2022-05-15 17:08:09 +08:00
ashishj
ee0b31b3d5
#3025 Fix from broken init call
2022-05-11 14:04:50 +02:00
Yash-Singh1
32a2e5fc47
fix: allow dot in entity name; fixes #1895
2022-05-10 18:39:11 -07:00
Yash-Singh1
bc58c8e03c
chore: reduce excessive logs in unit tests
2022-05-10 17:09:42 -07:00
ashishj
20c4a68aa8
Merging release 9.1.0 to develop
2022-05-10 18:51:21 +02:00
Knut Sveidqvist
6cea0fd835
#2951 Fix for styling issue on labes when using htmlLabels in legacy flowcharts
2022-05-10 17:45:12 +02:00
Knut Sveidqvist
734cef9017
Merge pull request #3004 from timmaffett/parse_parseError_fixes
...
fix mermaidAPI.parse() behavior to match documentation, add tests to ensure behavior matches docs
2022-05-10 17:00:22 +02:00
ashishj
3cb926727c
Fixing failing test cases
2022-05-06 20:14:36 +02:00
Knut Sveidqvist
6528a0cfb6
Merge pull request #3010 from mermaid-js/GitGraph_mainBranchOrdering
...
Added support to change the position of the main branch
2022-05-06 19:48:05 +02:00
Knut Sveidqvist
65143a0182
#2732 Regression fixes for accessibility
2022-05-06 19:42:40 +02:00
ashishj
3ef7d6fbc6
Added support to change the position of the main branch
2022-05-06 19:37:32 +02:00
Tim Maffett
c8e5525899
Merge branch 'develop' into parse_parseError_fixes
2022-05-06 09:24:49 -07:00
Knut Sveidqvist
3b94850084
Merge branch 'develop' into 2732_accesible_charts
2022-05-06 18:10:23 +02:00
Knut Sveidqvist
d8682cfb5f
#2732 rendering the title and descr fields for the gitGraph
2022-05-06 17:40:40 +02:00
Ashish Jain
1602755330
Merge pull request #3002 from husa/feature/2937-gitgraph-branch-ordering
...
GitGraph: add support for branch ordering
2022-05-06 17:38:06 +02:00
Knut Sveidqvist
572b29b35f
Merge branch 'develop' into 2732_accesible_charts
2022-05-06 17:17:59 +02:00
Tim Maffett
f7c28ff31e
Merge branch 'mermaid-js:develop' into parse_parseError_fixes
2022-05-05 11:52:23 -07:00
Tim Maffett
ca8080a371
add more test for mermaidAPI.parse() to ensure it matches documented behavior
2022-05-05 11:50:11 -07:00
Tim Maffett
67b6414693
fix parse() to match spec (return true if valid, false if invalid (and a parseError handler is defined))
2022-05-05 11:48:53 -07:00
Tim Maffett
8210e3c80a
add setParseErrorHandler,check for undefined mermaidAPI before using
2022-05-05 11:47:46 -07:00
dependabot[bot]
52fbc604b8
chore(deps-dev): bump jest from 27.5.1 to 28.0.3 ( #2995 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yash-Singh1 <saiansh2525@gmail.com>
2022-05-04 17:42:11 -07:00
Yuriy Husnay
d740fa5acf
add support for branch ordering
2022-05-04 18:04:41 +03:00
Knut Sveidqvist
ed56e4858a
Cleanup
2022-04-30 16:14:43 +02:00
Knut Sveidqvist
fdd7af9089
Adding acc to gitGrapg parser
2022-04-30 16:06:53 +02:00
Knut Sveidqvist
e917347b81
Removing logging, cleanup
2022-04-30 15:54:03 +02:00
Knut Sveidqvist
3baf31695e
Updated user state diagram parsing with the new syntax
2022-04-30 15:50:02 +02:00
Knut Sveidqvist
ae91f794d6
Updated user journey diagram parsing with the new syntax
2022-04-30 15:44:03 +02:00
Knut Sveidqvist
34ffe2790b
Updated sequence diagram parsing with the new syntax
2022-04-30 15:35:34 +02:00
Knut Sveidqvist
a642ae356c
Updated requirement diagram parsing with the new syntax
2022-04-30 15:22:51 +02:00
Knut Sveidqvist
a401e44180
Updated pie parsing with the new syntax + fix for flowDb
2022-04-30 15:13:28 +02:00
Knut Sveidqvist
8372d4952e
Updated gantt parsing with the new syntax
2022-04-30 15:07:13 +02:00
Knut Sveidqvist
5f4b7ae369
Updated er diagrams with the new syntax
2022-04-30 15:00:50 +02:00
Knut Sveidqvist
5e6b4d73e1
Updated classdiagrams with the new syntax
2022-04-30 14:54:24 +02:00
Knut Sveidqvist
85e157f0d3
Updated flowcharts with the new syntax
2022-04-30 11:36:00 +02:00
Tim Maffett
0127238645
protect config.js from attempting to use invalid theme name
2022-04-29 17:46:19 -07:00
Yash-Singh1
dc53699a96
chore: fix a few security vulnerabilities
2022-04-28 19:29:56 -07:00
ashishj
b30790cac4
Added default new line in the diagram text before parsing for special case where code is trimmed
2022-04-28 20:09:42 +02:00
Knut Sveidqvist
d914e23626
Fix for hideUnusedParticipants
2022-04-28 18:45:18 +02:00
ashishj
386f3c7ce9
Merge branch 'develop' into feature/hideUnusedParticipants_1210
2022-04-28 17:38:48 +02:00
Hans Petersen
3fcc43efdd
Sequence autonumbering and Git fix options parsing
2022-04-28 14:25:25 +02:00
ashishj
170ed89e9e
Merge branch 'master' into develop
2022-04-21 22:08:29 +02:00
ashishj
b472fb4f73
Retain attribute dominant-baseline in DOMpurify sanitization
2022-04-21 22:02:11 +02:00
ashishj
a6299d8334
Fix for broken gitGraph for Mermaid Live Editor
2022-04-21 21:33:49 +02:00
Knut Sveidqvist
c0bdf9d99b
Merge pull request #2958 from mermaid-js/decode_entities_update
...
Removal of vulnerability
2022-04-21 21:25:08 +02:00
Knut Sveidqvist
df87ab8818
Fix for vulnerability
2022-04-21 21:11:48 +02:00
Ashish Jain
a3e6d3cd76
Merge pull request #2954 from husa/feature/2936-gitgraph-pathed-branch-name
...
GitGraph: add support for "pathed" branches. fix #2936
2022-04-21 20:11:39 +02:00
Ashish Jain
1947af0693
Merge pull request #2955 from husa/feature/2934-gitgraph-support-merge-tags
...
GitGraph. Support tags for merge commits
2022-04-21 20:09:31 +02:00
ashishj
8966639e65
Fix for broken gitGraph for Mermaid Live Editor
2022-04-21 18:16:22 +02:00
Mindaugas Laganeckas
473aced449
Add initThrowsErrors() ( #2379 )
...
* Add initThrowsErrors()
* Update mermaid.js
* Update mermaid.js
2022-04-19 17:21:10 +02:00
Yuriy Husnay
3f812326a6
gitgraph #2934 support tags for merge commits
2022-04-19 18:02:41 +03:00
Yuriy Husnay
99a8c0d152
fix #2936 add support for "pathed" branches
...
allow "/" in branch names
2022-04-19 17:42:02 +03:00
Yash-Singh1
4c93870580
feat: add hideUnusedParticipants and some cleanup
2022-04-14 19:19:18 -07:00
Yash Singh
37f6a42de8
fix: clear state before error; closes #2931 ( #2932 )
2022-04-12 19:04:00 -07:00
Knut Sveidqvist
0935fb0790
Lint fix
2022-04-12 07:40:01 +02:00
Knut Sveidqvist
cda21c50ac
Merge branch 'develop' into kh-user-journey
2022-04-12 07:36:33 +02:00
Knut Sveidqvist
7aa037ee60
Merge pull request #2917 from therzka/accessible-state-diagrams
...
feat: add accDescription field to state diagrams
2022-04-12 07:31:55 +02:00
Knut Sveidqvist
491933f114
Link fix
2022-04-12 07:26:18 +02:00
Knut Sveidqvist
6052636a62
Merge branch 'develop' into cg-sanitize
2022-04-12 07:20:31 +02:00
Knut Sveidqvist
7d2e77a1b3
Merge pull request #2915 from gwincr11/cg-req-access
...
feat: Add accessibility fields to requirements diagram
2022-04-12 07:19:40 +02:00
Knut Sveidqvist
e48d60f4cf
Linting changes to fix build
2022-04-12 07:16:14 +02:00
Knut Sveidqvist
4f833db2d0
Merge pull request #2913 from lindseywild/feat/flowchart-accessibility
...
feat: adds title and description to flowchart
2022-04-12 07:09:10 +02:00
Knut Sveidqvist
266bce45f2
Merge pull request #2912 from el-mapache/feat/gantt-diagram-accessibility
...
Adds accDescription to Gantt, draws tags to svg
2022-04-12 07:06:41 +02:00
Kate Higa
a7527e6f88
fix test issue to ensure description is clearable
2022-04-08 13:35:48 -07:00
Kate Higa
6a57c99335
fix lint issues
2022-04-08 13:24:33 -07:00
Kate Higa
6b4eaa185e
add journey tests for accDescription
2022-04-08 13:07:52 -07:00
Kate Higa
81b982ac20
feat: add accDescription along with test page
2022-04-08 12:57:42 -07:00
Tali Herzka
897c4259ed
add title getters and setters, add spec for stateDiagram-v2
2022-04-08 18:44:22 +00:00
Tali Herzka
9eb18e78c3
add title to jison
2022-04-08 18:43:57 +00:00
Tali Herzka
c1a17d9fce
revert change to accessibility.js
2022-04-08 18:42:37 +00:00
Tali Herzka
df993f977c
add/remove semicolons
2022-04-08 18:03:31 +00:00
Cory Gwin
5452cedc51
always use the same setup
2022-04-08 13:38:57 +00:00
Tali Herzka
49409241bc
Add accDescription field to state diagrams
2022-04-07 21:35:13 +00:00
Adam B
e5345f209c
Sanitize user input for accessibility nodes
...
* Adds accDescription to demos/gantt.html
2022-04-07 15:34:53 -04:00
ashishj
0c5252594e
Merge branch 'master' into develop
2022-04-07 21:06:04 +02:00
Lindsey Wild
e2ec7fd653
feat: adds text sanitization, refactors function
2022-04-07 14:58:36 -04:00
Lindsey Wild
7a5149e39e
feat: adds title and description to flowchart
2022-04-07 14:42:13 -04:00
Cory Gwin
d36f45ec58
feat: add sanitization consistently
2022-04-07 18:36:30 +00:00
Knut Sveidqvist
380688c16a
Merge pull request #2879 from adam-hotait/develop
...
fix(sequencediagram): draw arrowheads on top of activation boxes
2022-04-07 20:33:17 +02:00
Cory Gwin
1d269f07e3
Update src/diagrams/requirement/requirementRenderer.js
...
Co-authored-by: Lindsey Wild <35239154+lindseywild@users.noreply.github.com>
2022-04-07 14:22:47 -04:00
ashishj
8b29fbe98e
Updating Gitgraph docs
2022-04-07 20:13:15 +02:00
Cory Gwin
3d7cb212c0
feat: Add accessibility fields to requirements diagram
2022-04-07 18:02:48 +00:00
Knut Sveidqvist
f2e77917d7
Merge pull request #2911 from gwincr11/cg-class-diagram-accessibility
...
Class diagram accessibility
2022-04-07 19:57:27 +02:00
Knut Sveidqvist
bed475b229
Merge pull request #2914 from mermaid-js/1252_gitgraph_reinvented
...
#1252 Adding configuration options and some cleanup, swich of graphType
2022-04-07 18:35:59 +02:00
Knut Sveidqvist
87b56bdd9a
#1252 Adding confuration options and some cleanup, swicth of graphType from git to gitGraph
2022-04-07 18:22:06 +02:00
Adam B
65b0b83625
Adds accDescription, draws tags to svg
2022-04-07 10:05:54 -04:00
Cory Gwin
bfca242958
feat(:accessibility): Add accessibility fields to class chart
2022-04-07 13:56:23 +00:00
Adam Hotait
d3ba48a1b7
fix(sequencediagram): draw arrowheads on top of activation boxes
2022-04-04 13:00:59 +02:00
Knut Sveidqvist
44877545e5
Merge pull request #2832 from gwincr11/cg-accessibility
...
ER and Sequence Chart Accessibility
2022-03-31 21:01:31 +02:00
ashishj
57ac111d05
Added commit types in renderer
2022-03-31 20:52:27 +02:00
ashishj
51e9a6b3aa
Added sanitization for gitGraph
2022-03-31 20:12:06 +02:00
Knut Sveidqvist
3ccf027f42
Removing random label for merge commits
2022-03-31 20:06:31 +02:00
ashishj
12c63ff007
Finalizing GitGraph with directives, theming & docs
2022-03-31 19:37:36 +02:00
Knut Sveidqvist
f6421734a2
Merge branch 'develop' into 1252_gitgraph_reinvented
2022-03-31 19:16:31 +02:00
Knut Sveidqvist
be92c70b1b
Autofix
2022-03-31 19:15:01 +02:00
Cory Gwin
50f522ae5c
feat: adding more accessibility tooling
2022-03-31 13:21:56 +00:00
Knut Sveidqvist
22aca7b3ee
#1252 Adding background on commit labels
2022-03-25 08:56:22 +01:00
Knut Sveidqvist
c0335cf5fb
#1252 Adding support for tags
2022-03-24 20:25:22 +01:00
ashishj
a29e2e6baa
Merge branch 'develop' into 1252_gitgraph_reinvented
2022-03-24 17:29:36 +01:00
dependabot[bot]
17857d3ea9
chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.30 to 0.3.31 ( #2822 )
...
* chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.30 to 0.3.31
Bumps [prettier-plugin-jsdoc](https://github.com/hosseinmd/prettier-plugin-jsdoc ) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/hosseinmd/prettier-plugin-jsdoc/releases )
- [Changelog](https://github.com/hosseinmd/prettier-plugin-jsdoc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hosseinmd/prettier-plugin-jsdoc/compare/v0.3.30...v0.3.31 )
---
updated-dependencies:
- dependency-name: prettier-plugin-jsdoc
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update config.js
* Update defaultConfig.js
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2022-03-21 21:45:45 +01:00
Ashish Jain
a9194d4eaa
Added test cases for error handling
2022-03-17 20:40:35 +01:00
Knut Sveidqvist
4023be1e84
Merge branch '1252_gitgraph_reinvented' of github.com:mermaid-js/mermaid into 1252_gitgraph_reinvented
2022-03-17 20:07:30 +01:00
Knut Sveidqvist
b78b371025
Added theming support for gitgraph
2022-03-17 20:07:27 +01:00
Ashish Jain
501e62894b
Added gitGraph jest test cases
2022-03-17 19:07:57 +01:00
Ashish Jain
c1dead1187
Added branch, merge and checkout error handling scenarios
2022-03-17 19:06:31 +01:00
Ashish Jain
01970d2bbd
fix broken rendering for math error
2022-03-17 19:05:19 +01:00
Ashish Jain
243f2b28cd
fix for gitGraph (:) and spaces (new line) issue
2022-03-17 19:04:37 +01:00
Knut Sveidqvist
9f7130a3e6
Merge branch 'develop' into 1252_gitgraph_reinvented
2022-03-17 18:03:40 +01:00
Knut Sveidqvist
b84cd155dd
Merge pull request #2831 from gwincr11/cg-custom-dompurify-config
...
Add dompurify config option
2022-03-17 18:01:19 +01:00
Knut Sveidqvist
0a8a0790cf
Renedring fix in an edge case
2022-03-17 17:35:45 +01:00
Cory Gwin
0181cbf743
feat(accessibility): add accessibility attributes to sequence diagrams
2022-03-17 16:18:10 +00:00
Cory Gwin
c6c9b88292
feat(config): add dompurify config option
2022-03-17 14:34:52 +00:00
kerwin612
4f5cab7f4c
fix: autonumber bug
2022-03-11 16:32:04 +08:00
Ashish Jain
7bd9286a9b
fix checkout if branch already exist
2022-03-10 20:08:26 +01:00
Knut Sveidqvist
781b239d0d
Lint fixes
2022-03-10 19:58:56 +01:00
Knut Sveidqvist
2b3f99d0e9
Draft handling of occupied lanes
2022-03-10 19:54:19 +01:00
Knut Sveidqvist
4ff3b23da5
feat: adding highlight and reverse commit types and some pathfinding
2022-03-10 19:34:49 +01:00
Ashish Jain
9ddf138683
fix check if branch already exist
2022-03-10 18:34:50 +01:00
Knut Sveidqvist
8cb548d30d
Merge branch '1252_gitgraph_reinvented' of github.com:mermaid-js/mermaid into 1252_gitgraph_reinvented
2022-03-03 19:58:47 +01:00
Knut Sveidqvist
b1fab6ffcd
Theming changes for base theme
2022-03-03 19:58:43 +01:00
Ashish Jain
5a8c372666
update gitgraph jison
2022-03-03 19:58:28 +01:00
Ashish Jain
56a1c27907
added merge commit type
2022-03-03 19:10:34 +01:00
Knut Sveidqvist
7e041dd921
Arrows colored by branch and skip of arrow heads
2022-03-03 18:56:27 +01:00
Knut Sveidqvist
1f175d2d84
Merge branch '1252_gitgraph_reinvented' of github.com:mermaid-js/mermaid into 1252_gitgraph_reinvented
2022-03-03 17:30:00 +01:00
Knut Sveidqvist
b110567517
Bends of the lines when branching
2022-03-03 17:29:14 +01:00
Dirkjan Bussink
7b0c3c3cd5
fix: update to latest version of sanitize-url
...
There's been a bunch of security issues in the older versions of sanitize-url that this resolves.
2022-03-03 15:26:12 +01:00
Ashish Jain
bc9ff496f2
Clean up gitg=Graph JISON
2022-02-24 19:55:16 +01:00
Cory Gwin
4ec1c608a3
small bug with the id on the title
2022-02-24 13:31:27 -05:00
Ashish Jain
14464f9fba
merge develop to current branch
2022-02-24 19:24:42 +01:00
Ashish Jain
286f6e52f0
Adding sanitization to input fields for Pie chart
2022-02-24 19:17:37 +01:00
Ashish Jain
908b704a42
Merge pull request #2747 from gwincr11/cg-pie-chart-accessibility
...
feat: add accessibility title and description to pie chart
2022-02-24 19:00:07 +01:00
Ashish Jain
f95de5c6d9
Merge pull request #2740 from Guy-Adler/feature/2391_double_circle
...
Double Circle Node Shape
2022-02-24 18:45:50 +01:00
Ashish Jain
933efd0dda
replace mock data with real
2022-02-24 18:40:22 +01:00
Knut Sveidqvist
4753ae8ac0
feature: adding arrows to the git graph
2022-02-24 18:08:09 +01:00
Cory Gwin
0b815c7782
feat: add accessibility title and description to pie chart
...
* Reuse the title as the title element
* Add description to the parser and then render
2022-02-23 02:23:57 +00:00
Knut Sveidqvist
cc826289c6
Rendering commits and commit labels
2022-02-17 20:14:05 +01:00
Ashish Jain
7098bf9185
fix: update mockDB
2022-02-17 19:41:54 +01:00
Knut Sveidqvist
43854a2921
Merge branch 'master' into develop
2022-02-17 18:25:00 +01:00
Ashish Jain
ffc6cae7f5
fix: adding gitgraph to default config
2022-02-17 18:12:17 +01:00
Ashish Jain
40f95a5dc1
chore: merge branch 'develop' into 1252_gitgraph_reinvented
2022-02-17 17:48:48 +01:00
Guy Adler
04454cece0
fix: changed open and close markers as recommended
...
chnged from `()(` and `())` to `(((` and `)))`
2022-02-17 17:22:38 +01:00
Guy Adler
d8c7a2894e
test: removed unit test for double circle in the flowRendererv1
...
The feature is only available using flowRendererv2, which does not have unit tests.
2022-02-17 10:37:07 +01:00
Guy Adler
1e4be4eb6a
removed unnecessary console.log
2022-02-16 23:53:08 +01:00
Guy Adler
e1f0e69263
feat(flowchart): implement double circle node
...
The implementation uses two circles, inside each other.
A double circle node is opend with `()(` and closed with `)()`.
2022-02-16 23:05:46 +01:00
Daniel Bartholomae
74b1219d62
fix(2689): use correct default sans-serif fonts for actors and tasks
...
The previous default font, Open-Sans, does not exist (it is Open Sans).
A generic font family must not be in quotes.
There is no changes to tests, as tests set font-family to Courier
for reproducability.
Fixes 2689
See https://fonts.google.com/specimen/Open+Sans
and https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
2022-02-15 14:21:04 +01:00
Ashish Jain
bb2dd2f5f3
getting there
2022-02-10 20:32:21 +01:00
Knut Sveidqvist
882ba03fcb
fix: handling diagram width in sandbox mode
2022-02-03 19:54:24 +01:00
Knut Sveidqvist
384afc1a6d
Merge branch '2654_sandbox' into release/8.14.0
2022-01-28 14:46:23 +01:00
Knut Sveidqvist
fa55b7c824
feat: add support for links in sanbox mode
2022-01-28 14:45:43 +01:00
Knut Sveidqvist
eeccf1c56b
fix: handling rerender in sandbox mode fixing tests
2022-01-22 13:29:54 +01:00
Knut Sveidqvist
e3e9c67f5b
fix: handling rerender in sandbox mode
2022-01-22 12:36:18 +01:00
Knut Sveidqvist
a73b291c4f
fix: setting width of iframe to size of the diagram
2022-01-22 11:47:03 +01:00
Knut Sveidqvist
cbe2ce41c1
feat: adding new security level sandbox, sequence diagram update
2022-01-21 18:15:18 +01:00
Knut Sveidqvist
06834eb383
feat: adding new security level sandbox, diagram updates
2022-01-21 17:17:31 +01:00
Knut Sveidqvist
413816783d
fix: hadling of render after error, fixing test
2022-01-20 20:38:24 +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
adc15c2989
Merge pull request #2621 from Billiam/bugfix/console-log
...
Remove console.log from common.js
2022-01-18 22:57:04 +01:00
Knut Sveidqvist
91ec41762a
#2632 Adding proper handling of cardinalities
2022-01-16 15:14:59 +01:00
Knut Sveidqvist
7abe279b4a
#2631 Adding safeguard to the while loops
2022-01-16 15:08:14 +01:00
Billiam
748ee19b4a
Update common.js
...
Remove console.log from removeEscapes
2022-01-12 01:22:06 -06:00
Knut Sveidqvist
ab276ccdfe
Merge pull request #2598 from ebjornset/bug/2346_er_attribute_keys_and_comments_problems
...
fix: bug #2346 "ER-attribute comments not work"
2022-01-11 18:02:27 +01:00
meganemura
5178de7fef
Fix diagram typo ( #2614 )
2022-01-10 16:59:00 +01:00
Eirik Bjornset
d3577eb59b
fix: bug #2346 "ER-attribute comments not work"
2021-12-29 21:27:51 +01:00
Knut Sveidqvist
f4c335ad2f
Fix for XSS vulnerability in url sanitization
2021-12-28 16:59:22 +01:00
Knut Sveidqvist
6f800be33b
Fix for issue with links from actors
2021-12-23 11:03:07 +01:00
Knut Sveidqvist
036f9dc359
#2560 Adding dark mode to allowed options in directives
2021-12-15 00:19:04 +01:00
Knut Sveidqvist
9c12502a36
#2560 Tetsing that the added css have balanced brackets
2021-12-14 23:54:31 +01:00
Matthieu MOREL
4cd2621eeb
build: group webpack & ignore dist & support yarn1.x ( #2551 )
2021-12-11 12:02:39 +01:00
Knut Sveidqvist
bf716de886
Merge + Binaries
2021-12-11 08:31:43 +01:00
Knut Sveidqvist
6a45701042
Merge pull request #2513 from mermaid-js/default_as_id_string_token
...
feat(flowchart): Allow default in the node ID
2021-12-11 07:19:10 +01:00
Knut Sveidqvist
d0cf3fc96a
Merge
2021-12-08 11:55:49 +01:00
Knut Sveidqvist
308ab0e465
Merge pull request #2528 from mermaid-js/jison-core
...
move jison folder into src folder
2021-12-08 07:57:21 +01:00
Knut Sveidqvist
a97b2cc4da
#2541 Sanitizing the label string in class diagrams
2021-12-07 21:55:33 +01:00
MOREL Matthieu
80b14d1d7f
lint markdown : enable eslint-plugin-markdown
2021-12-04 13:10:39 +01:00
Matthieu MOREL
8574dadc34
move jison folder into src folder
2021-12-04 11:51:08 +01:00
Knut Sveidqvist
e6cf1f2602
Merge pull request #2389 from maiermic/feature/1893_data_flow_diagrams
...
Feature/1893 data flow diagrams
2021-12-01 18:48:09 +01:00
Knut Sveidqvist
492ecb1099
merge
2021-12-01 18:12:05 +01:00
Knut Sveidqvist
3426aa8b2a
Lint fix
2021-11-30 20:41:57 +01:00
Knut Sveidqvist
3526e35012
Fix for node with wrong type
2021-11-30 20:28:51 +01:00
Pablo Bendersky
31851b2e30
Fixed eslint error
2021-11-29 13:02:38 -03:00
Pablo Bendersky
08702565f7
Changed logic to render states with spaces in names to fix regressions.
2021-11-29 11:57:59 -03:00
Knut Sveidqvist
d19be0b940
Merge pull request #2501 from pbendersky/bug/1342-spaces-in-state-name
...
Fixes rendering of state names with spaces
2021-11-29 07:56:35 +01:00
Michael Maier
28bb07d415
fix: check if `node.prop` is defined
2021-11-28 15:35:56 +01:00
Michael Maier
c2db1d4d44
add missing semicolon
2021-11-28 12:44:22 +01:00
Michael Maier
b6d3ac8e32
warn if unknown node property is given
2021-11-28 12:38:51 +01:00
Michael Maier
9e8c03cb49
Merge branch 'develop' into feature/1893_data_flow_diagrams
2021-11-28 12:26:39 +01:00
Michael Maier
86810e04bd
Revert "add shape `datastore` (for nodes of data flow diagram)"
...
This reverts commit cd427ab8ba
.
2021-11-28 12:17:05 +01:00
Michael Maier
984a5084b0
render node property `borders` of `rect` node
2021-11-28 12:13:48 +01:00
Michael Maier
853d62c8d1
add `props` of vertex to node
2021-11-28 12:12:39 +01:00
Michael Maier
0550e4a899
add `props` to vertex
2021-11-28 12:11:50 +01:00
Michael Maier
dec6b6d8b5
replace 'datastore' brackets with 'vertex with props' bracket
2021-11-28 12:09:54 +01:00
Yash-Singh1
a3b2ba736d
feat(flowchart): Allow default in the node ID
2021-11-25 13:48:28 -08:00
Pablo Bendersky
7ce383078d
Fixed state nodes with spaces being rendered as rectWithTitle instead of rect
2021-11-19 13:40:39 -03:00
Matthieu MOREL
d84be0d792
Enable eslint-plugin-jest, eslint-plugin-cypress and wider scan
2021-11-18 23:57:16 +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
95df8fa128
Version 8.13.4 bundles
2021-11-18 17:10:36 +01:00
Knut Sveidqvist
72d2045104
#2496 Unbreaking state diagrams
2021-11-17 22:30:30 +01:00
Knut Sveidqvist
3feff08d42
#2496 A more delicate fix for issue
2021-11-17 21:31:52 +01:00
Knut Sveidqvist
fcbd8a5081
#2496 Fix for issue
2021-11-17 20:08:39 +01:00
MOREL Matthieu
5b8a4a0b7a
fix conf table display
2021-11-15 09:58:47 +01:00
Yash-Singh1
e68ec31a8f
Fix lint warnings
2021-11-11 10:37:50 -08:00
Yash-Singh1
2368ba4914
Merge github.com:mermaid-js/mermaid into eslint-fix
2021-11-11 10:31:08 -08:00
Knut Sveidqvist
0db5f9fea7
Merge branch 'develop' into develop
2021-11-11 19:09:12 +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
Yash-Singh1
0fb25ee749
Merge github.com:mermaid-js/mermaid into jsdoc
2021-11-06 19:48:34 -07:00
Yash-Singh1
d2d8c9bc8e
Add jsdoc and refactor a bit of code
2021-11-06 19:36:06 -07:00
Knut Sveidqvist
69ecb02375
Merge branch 'develop'
...
Conflicts:
dist/mermaid.core.js
dist/mermaid.core.js.map
dist/mermaid.esm.min.mjs
dist/mermaid.js
dist/mermaid.js.map
dist/mermaid.min.js
dist/mermaid.min.js.map
2021-11-04 21:23:29 +01:00
Yash-Singh1
dac542682d
More code fence syntax highlighting
2021-11-01 19:43:54 -07:00
AlwinW
8b35745928
Corrected typos in documentation
2021-10-23 22:57:24 +11:00
Ashish Jain
24d18eb42a
#2425 Unicode handling for HTML labels
2021-10-21 19:37:48 +02:00
Echo Chen
d63b26efc2
feat: added includes; added excludes date background
2021-10-20 18:39:35 +08:00
Knut Sveidqvist
ebe8b8d89f
Allowing & and = in links
2021-10-14 21:08:42 +02:00
Ashish Jain
4a50995906
Sequence Diagram: Removed eval from popup handling
2021-10-14 21:02:18 +02:00
Michael Maier
cd427ab8ba
add shape `datastore` (for nodes of data flow diagram)
...
See https://github.com/mermaid-js/mermaid/issues/1893
2021-10-09 16:21:57 +02:00
Michael Maier
cefafba062
add brackets [| and |] for datastore nodes of data flow diagrams
...
See https://github.com/mermaid-js/mermaid/issues/1893
2021-10-09 16:19:42 +02:00
Ashish Jain
18ecf479b1
Sequence Diagram Popup : Work _in_progress
2021-10-07 21:52:16 +02:00
Ashish Jain
a06f6f9604
Add sanitize to properties and link in Sequence Diagram
2021-10-07 21:48:44 +02:00
Oleg Aksenov
626fbe6de8
Update src/diagrams/common/common.js
...
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2021-10-03 18:56:37 +03:00
Oleg Aksenov
b22422f4b8
Comment console.log in sanitizeText
...
This is to avoid console window be flooded with 'security level' messages
2021-10-03 18:08:53 +03:00
Ashish Jain
aa666d1829
Merge branch 'release/8.13.2' into develop
2021-09-29 20:22:57 +02:00
Ashish Jain
5d5808880f
Merge branch 'release/8.13.1' into develop
2021-09-29 20:22:09 +02:00
Ashish Jain
cb2294d6f2
Merge branch '2292_Class_Diagram_curly_brace_space_issue' into release/8.13.2
2021-09-29 20:06:32 +02:00
Knut Sveidqvist
7ad509cc7a
Correct handling of the note object foir state diagrams when sanitizing it
2021-09-29 19:48:27 +02:00
Knut Sveidqvist
dd088bc603
test commit
2021-09-29 18:48:09 +02:00
Knut Sveidqvist
c5d091d445
Handling of svg labels for state diagrams
2021-09-29 18:29:39 +02:00
Ashish Jain
38ef061175
Reverting PR #2312
2021-09-29 18:22:35 +02:00
Ashish Jain
55eebd9309
2292 Fix for broken class diagram on space after the '{' curly brace
2021-09-29 17:13:14 +02:00
Knut Sveidqvist
d45765dab5
Lint fixes + fix for unit tests
2021-09-29 09:35:14 +02:00
Knut Sveidqvist
e4e8a00acc
Test fix + empty relation
2021-09-29 08:57:54 +02:00
Knut Sveidqvist
35d8f33542
Merge branch 'master'
...
Conflicts:
cypress/platform/xss7.html
2021-09-29 08:51:54 +02:00
Knut Sveidqvist
75b79e1b23
State diagram sanitization
2021-09-29 08:45:07 +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
83d3b31a1a
Merge branch 'release/8.13.0'
2021-09-23 18:59:51 +02:00
Knut Sveidqvist
b2fb9f421a
Merge branch 'master' of github.com:mermaid-js/mermaid
2021-09-23 18:52:57 +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
0fcabfae05
#2315 Fixing issue with padding between actors and content in sequence diagram
2021-09-18 08:26:49 +02:00
Knut Sveidqvist
9faa5acb21
#2315 Adding docs and integration tests
2021-09-18 08:03:34 +02:00
Knut Sveidqvist
6ce1c80a47
#2315 Adding the possibility to add actor figures as participants
2021-09-16 20:43:10 +02:00
eajenkins
96977e70b3
Cleaned up remaining prettier errors.
2021-09-14 14:26:43 -07:00
Yusuke Wada
a448af2897
add spec
2021-09-14 18:41:51 +09:00
Yusuke Wada
20aaf644fa
useMaxWidth should make height 100% too.
2021-09-14 18:28:15 +09:00
Knut Sveidqvist
8bd830c991
Merge branch 'develop' into feature/field-classifier
2021-09-13 21:45:47 +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
Knut Sveidqvist
b6ba4b2fd8
Merge pull request #2237 from RonaldZielaznicki/2070_more_columns_for_entity_relationship_diagrams
...
2070: Update ER Diagram to have keys and comments.
2021-09-09 17:50:38 +02:00
eajenkins
b3210ed2ef
Added sanitization of the links to prevent script injection attacks.
2021-09-02 11:59:43 -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
Xavier Stouder
5997227997
chore: add the static field to the new renderer
2021-08-27 09:14:20 +02:00
Ashish Jain
296a64f465
Updated the version id
2021-08-26 19:32:05 +02:00
Ashish Jain
f07a777194
Merge pull request #2271 from mermaid-js/2270_direction_class
...
2270 Adding support for direction statements in class diagrams.
2021-08-26 18:30:12 +02:00
Ashish Jain
2e02f843ad
Merge pull request #2246 from reetghosh1/bug/1794_Unequal_Arrowhead_bug
...
Fixed Unequal Arrow Bug
2021-08-26 18:22:47 +02:00
Ashish Jain
d32fb0e4c0
Fix for classDiagram-v2 support for cardinality label positioning
2021-08-26 17:18:05 +02:00
Knut Sveidqvist
0658a363cb
#2270 Add support for direction statements for classDiagrams
2021-08-26 17:05:10 +02:00
Xavier Stouder
8db827e429
chore: fix regexp
2021-08-26 11:37:14 +02:00
Xavier Stouder
8a8f792d4b
fix: abstract field doesnt make any sense
2021-08-26 11:00:39 +02:00
Xavier Stouder
c0c978bbdf
feat: add the possibility to use classifiers on fields of class diagrams
...
fix #1953
2021-08-26 10:53:03 +02:00
Knut Sveidqvist
b80ebb4fcb
Merge branch '2256_class_switch_to_ng_renderer' of github.com:mermaid-js/mermaid into 2256_class_switch_to_ng_renderer
2021-08-19 21:16:31 +02:00
Knut Sveidqvist
fd6e59174e
Fix for dark theme, class diagrams (v2)
2021-08-19 21:16:26 +02:00
Ashish Jain
54ef5b0bee
Fix for classDiagram-v2 support for cardinality where HTML label is true
2021-08-19 21:15:21 +02:00
Knut Sveidqvist
b0c09a5b0f
#2256 Switch default renderer for class diagrams to the next generation renderer
2021-08-19 20:11:11 +02:00
Ashish Jain
719de71de4
Fix for broken Pie Diagram for d3 v6 upgrade
2021-08-19 19:50:20 +02:00
Ashish Jain
2dfc9a7973
Lint fixes
2021-08-19 19:37:24 +02:00
Ashish Jain
798a0ad783
Fix for broken Pie Diagram for d3 v6 upgrade
2021-08-19 19:04:14 +02:00
Ashish Jain
5ef2ad5536
Fix for classDiagram-v2 support for cardinality
2021-08-19 18:48:19 +02:00
Ashish Jain
0276a67417
Fix for classDiagram-v2 support for generics using '~' & method emphasis
2021-08-19 18:00:49 +02:00
Ashish Jain
46a3d10e8a
Fix for classDiagram-v2 support for generics using '~'
2021-08-19 17:51:22 +02:00
Reet Ghosh
d9a9eb56a7
Fixed Unequal Arrow Bug
2021-08-17 22:52:10 +05:30
Knut Sveidqvist
a251848ba1
#2240 Reversing order of calls
2021-08-15 16:57:26 +02:00
RonaldZielaznicki
3383da514a
Update ER Diagram to have keys and comments.
...
Update ER Diagrams to have keys and comments.
2021-08-12 16:18:54 -04:00
Knut Sveidqvist
8af36b742e
Merge branch 'master'
...
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
2021-08-05 20:08:37 +02:00
Knut Sveidqvist
b6648283c2
Removed some log statements
2021-08-05 19:53:11 +02:00
Knut Sveidqvist
b29979bfd9
Fix for broken test
2021-08-05 18:58:42 +02:00
Knut Sveidqvist
7e346a56ff
Lint fix
2021-08-05 18:18:18 +02:00
Knut Sveidqvist
c0831ecef6
Using Whitelist in all places
2021-08-05 17:35:28 +02:00
Knut Sveidqvist
88e195408c
Lint fixes
2021-08-05 01:13:13 +02:00
Knut Sveidqvist
655ff2675e
#2219 Excluding using a black list as well
2021-08-05 01:07:35 +02:00
Knut Sveidqvist
37fae09ce4
#2219 Validating directives agains list of legal configuration keys
2021-08-05 01:05:34 +02:00
Knut Sveidqvist
711fb7d748
#2219 UnFrezing object to not cause other downstream issues
2021-08-05 00:52:10 +02:00
Knut Sveidqvist
f8891beb0a
#2219 Frezing object to protect the prototype
2021-08-05 00:40:21 +02:00
Knut Sveidqvist
eb4ac5c103
Merge
2021-08-04 20:02:16 +02:00
Knut Sveidqvist
73ff972789
#2219 Moving check earlier in the chain for better effect
2021-08-03 20:10:15 +02:00
Matthieu MOREL
1d32307a71
use Object.entries instead of d3.entries as it is deprecated ( #35 )
2021-07-29 22:08:01 +02:00
Knut Sveidqvist
7d802a71c1
Fix for tests
2021-07-29 18:11:48 +02:00
Knut Sveidqvist
69a1bb99ac
#2209 Combining sanitasion approaches
2021-07-29 18:05:13 +02:00
Knut Sveidqvist
5399214ad8
Update of prettier, eslint and rules
2021-07-15 11:35:12 +02:00
Knut Sveidqvist
896c7eca57
Fix for issue with updated stylis
2021-07-15 10:58:22 +02:00
Knut Sveidqvist
1034e1a301
#2177 Jets upgrade
2021-07-15 10:14:35 +02:00
Knut Sveidqvist
30de90e4f0
#2177 Updating sanitize-url, dagre, graphlib, khroma, moment-mini, stylis
2021-07-07 18:06:09 +02:00
Knut Sveidqvist
30a02adfe3
Merge branch 'develop' into fix/entity-decode
2021-07-07 14:01:30 +02:00
Sidharth Vinod
ed6abb6d92
Merge branch 'develop' of github.com:sidharthv96/mermaid into fix/entity-decode
...
* 'develop' of github.com:sidharthv96/mermaid:
Update flowchart.md
Added new theme user journey diagram specific theme variables
fix typo
2122 Blöockling javascript urls
fix: Assign proper namespaces to foreignObject children
Small positoining fix for parallell processes and nested composite states
Version update in the docs
Updated version in package.json and recompile
Lint fix
fix typo
Fix for styling
Fox fr keeping the label background in state diagrams
Removed unused dependency "he"
Ensuring "minify" is only listed as a dev dependency
Update n00b-syntaxReference.md
Update _sidebar.md
[docs] Update default log level value
2021-07-07 02:02:42 +05:30
Sidharth Vinod
862330a576
Fix #1603 Remove entity-decode Dependency.
2021-07-07 02:00:44 +05:30
Knut Sveidqvist
c447262764
Testcommit
2021-07-05 12:05:33 +02:00
Knut Sveidqvist
b468065c6b
Adding dompurify
2021-07-05 11:38:24 +02:00
Knut Sveidqvist
67050e4d6d
#2170 Adjusting tests
2021-07-05 11:10:26 +02:00
Knut Sveidqvist
5437ab7057
#2170 Lint fix
2021-07-05 10:27:15 +02:00
Knut Sveidqvist
2f73fd3a9d
#2170 Adding dompurify
2021-07-05 10:21:11 +02:00
Knut Sveidqvist
6b9462f606
Preventing xss manipulation using onerror with the antiscript setting.
2021-06-27 00:24:19 +02:00
Knut Sveidqvist
9cc4f73cab
Merge pull request #2151 from mermaid-js/2125_switch_state_renderer
...
#2125 Switching default renderer for state diagrams
2021-06-25 12:06:25 +02:00
Knut Sveidqvist
d0d87497c5
#2125 Switching default renderer for state diagrams
2021-06-25 11:08:57 +02:00
Knut Sveidqvist
db049f9c8e
Merge pull request #2119 from lishid/develop
...
fix: Assign proper namespaces to foreignObject children
2021-06-25 10:30:50 +02:00
Knut Sveidqvist
c1335955f4
Merge pull request #2133 from mermaid-js/2132_style_journey_diagram
...
FIX: Added new theme user journey diagram specific theme variables
2021-06-25 10:28:00 +02:00
Knut Sveidqvist
62c6b9d886
Merge pull request #2109 from fabiospampinato/no-useless-prod-deps
...
Removed some non-production dependencies from the list of production dependencies
2021-06-25 10:27:17 +02:00
Ashish Jain
8b55b83256
Added new theme user journey diagram specific theme variables
2021-06-15 14:21:25 +02:00
Knut Sveidqvist
3d22fa5d24
2122 Blöockling javascript urls
2021-06-08 20:08:04 +02:00
lishid
e0652539fb
fix: Assign proper namespaces to foreignObject children
2021-06-06 16:57:47 -04:00
Knut Sveidqvist
26ede9b015
Small positoining fix for parallell processes and nested composite states
2021-06-06 11:37:23 +02:00
Knut Sveidqvist
e6e94ad57e
Merge pull request #2115 from mermaid-js/2111_placeholder
...
2111 placeholder
2021-06-05 12:11:13 +02:00