renovate[bot]
9eeeb97e15
Update all patch dependencies
2023-05-17 09:17:43 +00:00
Sidharth Vinod
0ef115f69a
Fix vitepress build
2023-05-17 11:28:17 +05:30
Sidharth Vinod
6a89ef94f7
Cleanup
2023-05-17 11:21:03 +05:30
Sidharth Vinod
97be4983f0
Merge branch 'develop' into sidv/zenuml
...
* develop: (66 commits)
Update docs
Update docs
Improve the wording of security level values
Added quadrantChart to the side bar
Added e2e test cases with some fixes
Added documentation for the quadrantChart
Restructured the build function and addressed more review comment
Fixed some parser issue and added test cases for the parser
Fixed review comment
Update docs
Converted files to typescript and added proper types
Fix blog linting
Debug fetch-contributors
Fix lockfile
Revert "Replace esno & ts-node with tsx"
[draft] Added support for quadrant chart
Fix lockfile
Fix build
Update pnpm-lock
Replace esno & ts-node with tsx
...
2023-05-16 23:26:35 +05:30
Dong Cai
82eccb70fa
fixed typo and update peerDependencies version
2023-05-16 23:41:53 +10:00
Justin Greywolf
78efac2c51
Fix visibility issue for fields
2023-05-16 06:13:37 -07:00
Justin Greywolf
58ec2686da
Merge branch 'release/10.2.0' of https://github.com/mermaid-js/mermaid into release/10.2.0
2023-05-16 04:12:27 -07:00
Justin Greywolf
3a5c4a149f
fix parsing issue with class diagrams
2023-05-16 04:12:03 -07:00
Dong Cai
cce5505662
Address mermaid-zenuml PR comments
2023-05-16 20:30:25 +10:00
Sidharth Vinod
b925849893
fix: Use unicode arrows in quadrant chart axis
2023-05-15 13:36:35 +05:30
Sidharth Vinod
d86d1e7887
fix: Use unicode arrows in quadrant chart axis
2023-05-15 13:32:59 +05:30
Knut Sveidqvist
132ce2fb4b
Merge branch 'develop' into release/10.2.0
2023-05-15 09:50:02 +02:00
Knut Sveidqvist
458ac84749
Merge pull request #4383 from amsubhash/feature/4282_add_quadrant_chart
...
Added support for quadrant chart
2023-05-15 09:49:23 +02:00
Knut Sveidqvist
fa3e800802
Merge remote-tracking branch 'origin/release/10.2.0' into release/10.2.0
2023-05-15 08:52:13 +02:00
Knut Sveidqvist
c755e45961
Merge pull request #4349 from danielcompton/patch-1
...
Indent subgraph sections
2023-05-15 08:46:38 +02:00
Gusted
a991c32732
Improve the wording of security level values
...
- The current wording can be misinterpreted because, for some people
'tags' might not be associated with HTML tags.
- Improve the wording to make it clear that HTML tags are intended.
2023-05-13 20:25:04 +02:00
Subhash Halder
c4aebe6d57
Added quadrantChart to the side bar
2023-05-13 20:28:49 +05:30
Subhash Halder
0f354ff974
Added e2e test cases with some fixes
2023-05-13 19:45:45 +05:30
Subhash Halder
b2a5ddcd85
Added documentation for the quadrantChart
2023-05-13 17:33:31 +05:30
Subhash Halder
816800adcd
Restructured the build function and addressed more review comment
2023-05-12 20:16:26 +05:30
Subhash Halder
fe9c109837
Fixed some parser issue and added test cases for the parser
2023-05-12 17:09:14 +05:30
Subhash Halder
1253733962
Fixed review comment
2023-05-11 12:19:59 +05:30
Subhash Halder
9a7dbab5ed
Converted files to typescript and added proper types
2023-05-09 20:17:04 +05:30
Sidharth Vinod
93370a8e11
Merge branch 'develop' into release/10.2.0
...
* develop:
Updated url
Updated url
Updated url
Updated url
add blog post to blog page
add the latest blog post
2023-05-09 10:24:38 +05:30
Sidharth Vinod
4e3c2adffc
Merge branch 'master' into develop
...
* master:
Updated url
Updated url
Updated url
Updated url
add blog post to blog page
add the latest blog post
2023-05-09 10:24:14 +05:30
Sidharth Vinod
75e73a4f03
Bump version
2023-05-09 10:20:33 +05:30
Sidharth Vinod
17c798a1b3
Merge branch 'develop' into release/10.2.0
...
* develop: (49 commits)
Debug fetch-contributors
Fix lockfile
Revert "Replace esno & ts-node with tsx"
Fix lockfile
Fix build
Update pnpm-lock
Replace esno & ts-node with tsx
chore(deps): update all minor dependencies
chore(deps): update all patch dependencies
Fix missing `await` in usage document
Add integrations
test: fix classDiagramGrammer unit test
restore path calculation for grammar test
Allow overlapping notes
remove spellcheck warnings
Fix path in test
fix import issue
requested update
Reject ridiculous years in Gantt charts.
Remove unnecessary dependencies
...
2023-05-09 10:13:15 +05:30
Sidharth Vinod
bd53e9d449
Debug fetch-contributors
2023-05-09 09:56:40 +05:30
Sidharth Vinod
3677d44a58
Revert "Replace esno & ts-node with tsx"
...
This reverts commit 75337287ea
.
2023-05-08 22:08:11 +05:30
Subhash Halder
272ccded93
[draft] Added support for quadrant chart
2023-05-08 19:23:58 +05:30
Sidharth Vinod
1b48c19897
Merge branch 'develop' into sidv/contributors
...
* develop:
chore(deps): update all minor dependencies
requested update
Update packages/mermaid/src/docs/syntax/flowchart.md
Update docs
Docs: Flowchart - minor verbiage update
2023-05-08 18:51:10 +05:30
Sidharth Vinod
2dc780a766
Merge pull request #4315 from mermaid-js/huynhicode-docs-flowchart
...
Docs: Flowchart - minor verbiage update
2023-05-08 18:49:47 +05:30
Sidharth Vinod
8e9d1bfc35
Merge branch 'develop' into sidv/contributors
...
* develop:
chore(deps): update all patch dependencies
2023-05-08 18:46:39 +05:30
Sidharth Vinod
75337287ea
Replace esno & ts-node with tsx
2023-05-08 18:46:14 +05:30
renovate[bot]
d7e140a829
chore(deps): update all patch dependencies
2023-05-08 10:08:10 +00:00
Knut Sveidqvist
25a7164df2
Merge branch 'develop' into sidv/contributors
2023-05-08 09:17:49 +02:00
Knut Sveidqvist
a226b073a0
Merge pull request #4374 from remcohaszing/add-integrations
...
Add integrations
2023-05-08 09:13:16 +02:00
Knut Sveidqvist
d1690a03db
Updated url
2023-05-08 09:09:32 +02:00
Knut Sveidqvist
d8c67cd2c9
Updated url
2023-05-08 09:08:18 +02:00
Knut Sveidqvist
ccc87be462
Merge branch 'develop' into Overlap-notes-messages
2023-05-08 09:04:19 +02:00
Knut Sveidqvist
f8b029de0e
Merge pull request #4376 from rhysd/doc/missing_await
...
Fix missing `await` in usage document
2023-05-08 09:01:22 +02:00
rhysd
c6c3b07c33
Fix missing `await` in usage document
2023-05-08 13:44:40 +09:00
Remco Haszing
7df21c01ec
Add integrations
...
This adds the projects `mermaid-isomorphic`, `rehype-mermaidjs`, and
`gatsby-remark-mermaid` to the integrations page.
This also removes `remark-mermaid`. This project is outdated and
unmaintained.
2023-05-07 21:00:17 +02:00
Alois Klink
a1e64c2102
test: fix classDiagramGrammer unit test
...
The classDiagramGrammer.spec.ts unit test had some bad filepath
manipulation that fails on UNIX platforms.
Instead, we can use the recommended method from the Node.JS
documentation, see https://nodejs.org/api/esm.html#importmetaurl .
Fixes: 221640aa25
2023-05-07 18:05:43 +01:00
Knut Sveidqvist
7f9ebcf2c6
Merge pull request #4361 from tcbuzor/feature-4146-eraggregation
...
add master detail relationship support
2023-05-07 08:04:07 +02:00
Justin Greywolf
7e240dac22
restore path calculation for grammar test
2023-05-04 09:15:21 -07:00
Justin Greywolf
06fdb95389
Allow overlapping notes
2023-05-03 22:15:59 -07:00
Justin Greywolf
43819f1bd8
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
2023-05-03 17:01:43 -07:00
Justin Greywolf
221640aa25
Fix path in test
2023-05-03 17:01:27 -07:00
Justin Greywolf
5f1a507820
Merge pull request #4206 from ksilverwall/feature/class-namespace
...
Implement `package` on class diagram
2023-05-03 16:58:08 -07:00
Justin Greywolf
61e31b3fe6
fix import issue
2023-05-03 16:29:57 -07:00
Justin Greywolf
e903f06f75
Merge branch 'develop' into svgDrawRefactor
2023-05-03 16:18:17 -07:00
Steph
35051f1946
add blog post to blog page
2023-05-02 23:50:14 -07:00
Steph
a5e0630e21
requested update
2023-05-02 23:41:14 -07:00
Atul Varma
725b80831e
Reject ridiculous years in Gantt charts.
2023-05-02 09:46:59 -04:00
Sidharth Vinod
cb3982de7e
Remove unnecessary dependencies
...
Co-authored-by: Alois Klink <alois.klink@gmail.com>
2023-05-02 14:16:35 +05:30
Steph
b30e9620f4
Update packages/mermaid/src/docs/syntax/flowchart.md
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-05-01 23:04:04 -07:00
Steph
4c9e35e269
add the latest blog post
2023-05-01 22:48:29 -07:00
eopaant
18571052ad
added style to reflect true aggregation
2023-05-01 22:34:36 -05:00
Kazuki Tsunemi
0d373f3a6a
Modify jsdoc of addClasses
2023-05-01 19:12:39 +09:00
Kazuki Tsunemi
70a52da393
namespace rect is not filled
2023-05-01 19:06:46 +09:00
eopaant
3549ffc4ac
add master detail relationship support
2023-04-30 13:19:35 -05:00
Oliver Kopp
df1095166e
Add hint on "flowchart" and "graph" (and some more styling)
2023-04-30 20:16:24 +02:00
raghvendra
38efaf93c8
updating es6 rules in flowchart diagram
2023-04-29 16:06:17 +05:30
Sidharth Vinod
dfa65c5fc8
remove nr
2023-04-29 11:30:11 +05:30
Sidharth Vinod
32928224e5
Remove contributor-names from git
2023-04-29 10:55:24 +05:30
Sidharth Vinod
4456c2a267
Fix user-avatar copying
2023-04-29 10:55:06 +05:30
Sidharth Vinod
9e0410e0d3
Simplify contributors
2023-04-29 10:51:03 +05:30
Sidharth Vinod
cdc68d99fe
Cleanup
2023-04-29 10:50:30 +05:30
Sidharth Vinod
baf5e8f6b2
Fix docs, mmd -> mermaid
2023-04-29 10:13:00 +05:30
Sidharth Vinod
99abd4c31b
Fix avatar fetching
2023-04-29 10:12:47 +05:30
Sidharth Vinod
9238deaf00
Merge branch 'develop' into sidv/contributors
...
* develop: (237 commits)
submit built docs
update Font Awesome Version
Clarify FontAwesome support
Update version
Fix classParser
Check for conflict when linting jison
Update class grammar test
fix Class diagram grammar
Skip sourcemap
Bump version
Update deps
Fix unit tests
Update vite
Fix applitools cypress
Update packages/mermaid/package.json
chore(deps): update dependency typescript to v5
fix typedoc
fix(deps): update all minor dependencies
chore(deps): update pnpm to v8
chore(deps): update fregante/setup-git-user action to v2
...
2023-04-29 09:32:07 +05:30
Sidharth Vinod
88f9233aa8
Merge branch 'develop' into sidv/zenuml
...
* develop:
submit built docs
update Font Awesome Version
Clarify FontAwesome support
2023-04-27 10:36:16 +05:30
Sidharth Vinod
91f1ef9c42
Back to JS with jsdoc types
2023-04-26 11:00:35 +05:30
Sidharth Vinod
eba3a7bdcc
Add unsupported text
2023-04-26 10:55:37 +05:30
Sidharth Vinod
5bbce45c56
Reduce changes in test
2023-04-26 10:51:54 +05:30
Sidharth Vinod
395a794758
Fix deps
2023-04-26 10:37:03 +05:30
Sidharth Vinod
4d3e5e42e1
Use mdast-util-from-markdown instead of simple-markdown
2023-04-26 10:30:13 +05:30
Sidharth Vinod
9b912c4a59
handleMarkdown JS -> TS
2023-04-26 10:11:19 +05:30
Daniel Compton
c6fbabc70e
Indent subgraph sections
...
The two subgraph paragraphs below "Subgraphs" should be
indented below it.
2023-04-26 09:39:17 +12:00
Sidharth Vinod
8cd48bf405
Add docs
2023-04-26 00:31:00 +05:30
Sidharth Vinod
ec62c2bf5b
Merge branch 'develop' into sidv/zenuml
...
* develop: (33 commits)
Update version
Fix classParser
Check for conflict when linting jison
Update class grammar test
fix Class diagram grammar
Skip sourcemap
Bump version
Update deps
Fix unit tests
Update vite
Fix applitools cypress
Update packages/mermaid/package.json
chore(deps): update dependency typescript to v5
fix typedoc
fix(deps): update all minor dependencies
chore(deps): update pnpm to v8
chore(deps): update fregante/setup-git-user action to v2
fix(deps): update all minor dependencies
chore(deps): update dependency start-server-and-test to v2
chore(deps): update dependency rimraf to v5
...
2023-04-26 00:15:52 +05:30
Sidharth Vinod
b9e7ba023f
Update ZenUML
2023-04-26 00:12:39 +05:30
Josh Bouganim
284d032d26
update Font Awesome Version
2023-04-25 11:06:43 -07:00
Josh Bouganim
9859491381
Clarify FontAwesome support
2023-04-25 11:01:09 -07:00
Kazuki Tsunemi
95d8e3a5df
Merge branch 'develop' into feature/class-namespace
2023-04-25 16:40:42 +09:00
Sidharth Vinod
597a162249
Update version
2023-04-24 00:35:50 +05:30
Sidharth Vinod
24f5a15f20
Fix classParser
2023-04-24 00:34:41 +05:30
Sidharth Vinod
d09151e870
Update class grammar test
2023-04-24 00:15:30 +05:30
Sidharth Vinod
60db22886a
fix Class diagram grammar
2023-04-24 00:15:07 +05:30
Sidharth Vinod
07dcb8cc44
Bump version
2023-04-23 23:38:34 +05:30
Sidharth Vinod
d79f946cbc
Merge branch 'develop' into MultipleUpdatesToClassDiagram
...
* develop:
Update deps
Fix unit tests
2023-04-23 23:22:32 +05:30
Sidharth Vinod
b0c58a9764
Update deps
2023-04-23 23:15:26 +05:30
Sidharth Vinod
94991520ea
Fix unit tests
2023-04-23 23:15:05 +05:30
Sidharth Vinod
05e7a6bd4b
Merge branch 'develop' into MultipleUpdatesToClassDiagram
...
* develop: (30 commits)
Update vite
Fix applitools cypress
Update packages/mermaid/package.json
chore(deps): update dependency typescript to v5
fix typedoc
fix(deps): update all minor dependencies
chore(deps): update pnpm to v8
chore(deps): update fregante/setup-git-user action to v2
fix(deps): update all minor dependencies
chore(deps): update dependency start-server-and-test to v2
chore(deps): update dependency rimraf to v5
chore(deps): update dependency eslint-plugin-unicorn to v46
chore(deps): update actions/deploy-pages action to v2
chore(deps): update dependency eslint-plugin-jsdoc to v43
Split docs into build and deploy
fix(deps): update dependency dompurify to v3
chore(deps): update dependency concurrently to v8
Split renovate groups
Upgrade vitepress
chore(deps): update pnpm to v7.30.5
...
2023-04-23 22:50:40 +05:30
Sidharth Vinod
9298f631f9
Merge pull request #4296 from Will-Low/patch-2
...
Updating documentation on notes for classes within class diagrams
2023-04-23 22:48:15 +05:30
Sidharth Vinod
562514964e
Update packages/mermaid/package.json
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-04-23 15:49:20 +05:30
Sidharth Vinod
125be13df4
Merge branch 'develop' into sidv/addUMD
...
* develop: (69 commits)
chore(deps): update dependency typescript to v5
fix typedoc
fix(deps): update all minor dependencies
chore(deps): update pnpm to v8
chore(deps): update fregante/setup-git-user action to v2
fix(deps): update all minor dependencies
chore(deps): update dependency start-server-and-test to v2
chore(deps): update dependency rimraf to v5
chore(deps): update dependency eslint-plugin-unicorn to v46
chore(deps): update actions/deploy-pages action to v2
chore(deps): update dependency eslint-plugin-jsdoc to v43
Split docs into build and deploy
fix(deps): update dependency dompurify to v3
chore(deps): update dependency concurrently to v8
Split renovate groups
Upgrade vitepress
chore(deps): update pnpm to v7.30.5
pie diagram mermaid module import fix
Update docs
docs(flowchart): wrap br tag by codeblock
...
2023-04-23 15:31:17 +05:30
renovate[bot]
9e58f7bd99
chore(deps): update dependency typescript to v5
2023-04-22 20:51:24 +00:00
Sidharth Vinod
5634c6ca1a
fix typedoc
2023-04-23 02:03:28 +05:30
renovate[bot]
e4bc3e2269
fix(deps): update all minor dependencies
2023-04-22 20:01:25 +00:00
renovate[bot]
e6d11b9443
chore(deps): update dependency start-server-and-test to v2
2023-04-22 19:26:13 +00:00
Sidharth Vinod
12ed81855a
Add zenuml
2023-04-23 00:34:59 +05:30
renovate[bot]
f597f15f82
chore(deps): update dependency rimraf to v5
2023-04-22 18:53:56 +00:00
renovate[bot]
ddde451915
fix(deps): update dependency dompurify to v3
2023-04-22 08:28:31 +00:00
renovate[bot]
93eb72248a
chore(deps): update dependency concurrently to v8
2023-04-20 04:15:28 +00:00
Sidharth Vinod
2fe0a1360f
Upgrade vitepress
2023-04-20 09:35:28 +05:30
Steph
fd6d1941b7
Docs: Flowchart - minor verbiage update
...
Minor verbiage update to Flowchart doc
2023-04-18 12:39:35 -07:00
Sidharth Vinod
44f6d11537
Merge pull request #4310 from Bogay/fix/escape-br-tag-in-flowchart-doc
...
docs(flowchart): wrap br tag by codeblock
2023-04-19 00:27:31 +05:30
bogay
b3959299bc
docs(flowchart): wrap br tag by codeblock
...
so that it can render `<br>` text on doc correctly.
2023-04-18 18:51:52 +08:00
dix
1d4fc5051e
fix(doc): Link to Obsidian doc/integration
2023-04-18 11:37:39 +02:00
Knut Sveidqvist
6ccdc2bd01
Fix for async handling flowchart-elk
2023-04-17 19:33:51 +02:00
Will-Low
28155b0e0a
Removing redundant code block
2023-04-17 10:24:06 -07:00
Will-Low
47edb2c0bb
Merge branch 'mermaid-js:develop' into patch-2
2023-04-17 07:30:18 -07:00
Justin Greywolf
642bc1a739
update tests for package visibility
2023-04-17 07:24:27 -07:00
Justin Greywolf
5b0eb702e5
Merge branch 'develop' into MultipleUpdatesToClassDiagram
2023-04-17 06:51:51 -07:00
Justin Greywolf
62870597d6
Fixed failing tests
2023-04-17 06:51:08 -07:00
Sidharth Vinod
01de155e3c
Merge pull request #4278 from lishid/patch-2
...
Fix git graph css bracket leak
2023-04-17 17:29:27 +05:30
Justin Greywolf
59a85a7dfd
Multiple Fixes to classes
2023-04-16 19:42:51 -07:00
Kazuki Tsunemi
204baa4586
Merge branch 'develop' into feature/class-namespace
2023-04-17 11:27:10 +09:00
eitsupi
8c4fb6c753
docs(integrations): list quarto
2023-04-15 16:49:32 +09:00
Justin Greywolf
ac63788a9c
organized and fixed tests
2023-04-14 10:13:21 -07:00
Alois Klink
32538b5b03
Merge branch 'develop' into lishid/patch-2
...
The E2E tests are failing, but will probably be fixed by commit
9bb0cef8
(fix: wait for image rendering in nodes, 2023-03-30)
on the `develop` branch.
2023-04-14 02:09:22 +01:00
Will-Low
19363965ad
Updating documentation on notes for classes
...
I was confused by the documentation on notes for a specific class. Updated the wording slightly and added an example for clarity.
2023-04-13 09:08:48 -07:00
Remco Haszing
e84c5ec4c9
Fix broken tests
2023-04-13 15:13:52 +02:00
Remco Haszing
aa5c1a5f78
Merge branch 'develop' into fix-node16-module-resolution
2023-04-13 14:58:17 +02:00
Sidharth Vinod
d9ebb0d492
Merge pull request #4295 from aloisklink/test/test-styles
...
Fix and test a bunch of invalid CSS issues
2023-04-13 18:08:11 +05:30
Sidharth Vinod
634d6602b9
Merge pull request #4272 from slab/develop
...
Add Slab to the list of integrations
2023-04-13 18:05:24 +05:30
Sidharth Vinod
ea6f9c2d59
Merge pull request #4286 from legonigel/4195_arrow_end_size
...
Fix #4195 start and end arrow have different sizes
2023-04-13 15:05:56 +05:30
Zihua Li
d13b58bec8
Merge branch 'mermaid-js:develop' into develop
2023-04-13 16:00:01 +08:00
Alois Klink
b4164b6ab5
test: test that styles and themes return valid CSS
...
Test that `src/diagrams/*/styles.ts` module returns a valid
CSS stylesheet that can be parsed via [stylis][1] and then
becomes a valid CSS that [csstree-validator][2] validates.
We test this for every diagram and for every theme, because
many of the invalid CSS bugs are caused by missing theme vars.
There are some CSS errors that I couldn't easily fix, so I've written
the tests to ignore the following CSS errors:
- 'Unknown property `rx`' (Valid in SVG2 draft and in some browsers)
- 'Unknown property `ry`' (Valid in SVG2 draft and in some browsers)
- 'Unknown property `dy`'
- This doesn't seem to be valid CSS in any SVG version, but maybe
some browsers support it 🤷 I feel like we should probably change
this though.
[1]: https://github.com/thysultan/stylis
[2]: https://github.com/csstree/validator
2023-04-13 08:27:32 +01:00
Alois Klink
aee18ca018
fix: fix `scaleLabelColor` in theme forest/neutral
...
The `scaleLabelColor` variable in `theme-forest` and `theme-neutral`
was set to `"calculated"`, as it defaults to `this.labelTextColor`
**before** `this.labelTextColor` was set.
Moving the `this.labelTextColor` assignments before `scaleLabelColor`
is calculated fixes this.
Fixes mindmap and timeline invalid CSS in theme forest and neutral.
2023-04-13 07:32:18 +01:00
Alois Klink
cd976871f0
fix: define `gitBranchLabel`* in theme forest/dark
...
Define `gitBranchLabel[0-7]` in `theme-dark` and `theme-forest` to fix
invalid CSS for gitgraphs.
The values have been copied from [`theme-default`][1]).
[1]: 727bf30824/packages/mermaid/src/themes/theme-default.js (L296-L303)
2023-04-13 07:32:18 +01:00
Alois Klink
4f9c4548bf
fix: define `excludeBkgColor` for `theme-dark`
...
Define `excludeBkgColor` for `theme-dark` to fix invalid CSS
for gantt diagrams.
All the other themes defined this to '#eeeeee', but I thought that
was a bit too bright in a dark theme, so instead I set it to
`darken(this.sectionBkgColor, 10);`.
2023-04-13 07:32:18 +01:00
Alois Klink
720408e143
fix: define `border2` for `theme-base`
...
`border2` is a theme variable used by the CSS for flowcharts and
user-journey.
I've defined this to default to `tertiaryBorderColor` in theme-base,
as other themes tend to set `border2` to the same value as
`clusterBorder`, which in theme-base is `tertiaryBorderColor`.
2023-04-13 07:32:18 +01:00
Alois Klink
54f827d850
fix: define `arrowheadColor` for `theme-base`
...
Define `arrowheadColor` as `invert(this.background)` in
`theme-base.js`, as it's currently `undefined`, which causes CSS
issues when using `theme-base`.
I've picked `invert(this.background)` so that it matches
the default value of `lineColor`.
2023-04-13 07:32:18 +01:00
Alois Klink
7566b5620e
fix: fix `requirementBorderSize` theme variable
...
Currently, `requirementBorderSize` defaults to `primaryBorderColor`,
which is a color, not a valid SVG `stroke-width`.
Instead, I've made it default to `1`.
2023-04-13 07:32:18 +01:00
Alois Klink
9cb7a4a3f5
fix: fix invalid CSS `fill-opacity` value
...
Fix an invalid value for the CSS `fill-opacity` value.
Percentage values for `fill-opacity` are only supported in the SVG 2.0
draft, so according to [MDN][1]:
> it is not widely supported yet, […] as a consequence, it is best
> practices [sic] to set opacity with a value in the range `[0-1]`.
[1]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-opacity
2023-04-13 07:32:18 +01:00
Alois Klink
616d370a51
fix: fix personBorder/Bkg C4 diagram theme vars
...
The current `personBorder`/`personBkg` theme variables for C4 diagrams
are set to the string `'calculated'`.
However, despite being `'calculated'`, they never seem to change to
anything else, and so become invalid CSS variables.
I've instead changed these to just default to base theme vars,
as that's what they do in [`these-base.js`][1].
[1]: 727bf30824/packages/mermaid/src/themes/theme-base.js (L106-L107)
2023-04-13 07:32:18 +01:00
Alois Klink
83d7d6c48f
fix: fix invalid CSS for class diagram
...
`.divider` had a `stroke` property of `1` that was invalid.
This looks like a typo from PR
https://github.com/mermaid-js/mermaid/pull/1567 ,
as the `src/theme/class.scss` file's `.divider` section correctly
shows `stroke-width: 1;`.
Fixes: https://github.com/mermaid-js/mermaid/pull/1567
2023-04-13 07:32:18 +01:00
onayiga
1c98621cf4
Update index.md
...
Minor grammatical and editorial changes; Updated Mermaid API section to make use of active voice for enhanced readability and comprehension.
2023-04-12 23:12:16 -04:00
Justin Greywolf
727bf30824
Merge pull request #4268 from Valentine14th/bug/4023-image-rendering
...
fix: image rendering in nodes
2023-04-10 10:09:40 -07:00
legonigel
aa3c0023f4
Fix #4195 start and end arrow have different sizes
...
In #3938 , it appears that the marker sizes for pointEnd was
unintentionally changed. This reverts the change in marker size.
It is also possible that the intention was to change the viewBox size
for both start and end, but I doubt this since it makes the arrows
significantly smaller than other markers.
2023-04-09 20:56:00 -07:00
Emerson Bottero
37eb100bb2
chore: add files to imports
2023-04-08 23:50:10 -03:00
Laura Valentine Tscharner
9bb0cef82b
fix: wait for image rendering in nodes
2023-04-08 16:28:58 +01:00
Emerson Bottero
4643bb1c00
fix: really import esm version of dayjs
2023-04-07 23:38:05 -03:00
Knut Sveidqvist
d132d26246
Merge branch 'master' into develop
2023-04-06 08:33:18 +02:00
Sidharth Vinod
24c9506935
fix version
2023-04-05 22:07:46 +05:30
Sidharth Vinod
ca8ce8201c
Merge branch 'develop' into sidv/addUMD
...
* develop: (81 commits)
revert pnpm changes
doc update
auto generated from pnpm run
auto generated from pnpm run
linting
added example of Bar chart
Update docs
Adding rendering tests and unit tests
Syntax for markdown strings is a single backtick.
updated labels in the chart
Update docs
updated example data smaller
Bar chart
fix: Remove comment line completely
fix: trimStart to text
test: add space before init
fix uncaughexception in tests
fix(#4256 ): Keep error diagram on screen
fix(#4137 ): Cleanup comments before parsing
Update docs
...
2023-04-05 22:04:53 +05:30
Ch K
43137fbdb2
Merge branch 'mermaid-js:develop' into develop
2023-04-05 10:12:12 +10:00
Ch K
7ac84fb9af
linting
2023-04-05 09:18:11 +10:00
Ch K
efc4062721
added example of Bar chart
2023-04-05 09:07:01 +10:00
Lishid
5693f63603
Fix git graph css bracket leak
2023-04-04 11:22:19 -04:00
Knut Sveidqvist
8e6d16e601
Update docs
2023-04-04 15:53:53 +02:00
Knut Sveidqvist
80df10067d
Adding Mermaid Strings to news
2023-04-04 15:39:23 +02:00
Knut Sveidqvist
75adb8ae90
Updated package.json
2023-04-04 14:38:09 +02:00
Knut Sveidqvist
fc1962c795
Version set 10.1.0 and fix for label centering
2023-04-04 14:36:05 +02:00
Knut Sveidqvist
1a56a18f9b
Fixing issues with centering of labels for subgraphs and handling of special characters in html strings
2023-04-04 12:49:14 +02:00
Knut Sveidqvist
1841346ff6
Fixing issues in mindmaps and class diagram notes after tests
2023-04-04 10:45:39 +02:00
Knut Sveidqvist
e8799ad515
Merge remote-tracking branch 'origin/release/10.1.0' into release/10.1.0
2023-04-04 08:29:54 +02:00
Knut Sveidqvist
2b9872d656
Some styling fixes for markdown strings
2023-04-04 08:29:15 +02:00
Knut Sveidqvist
9ffd4d2344
Merge pull request #4254 from mermaid-js/add-latest-news-section
...
Docs: add Latest News section
2023-04-04 08:27:11 +02:00
Steph
815f4cab73
add blog post
2023-04-03 10:48:59 -07:00
Zihua Li
bc573ef0bb
Add Slab to the list of integrations
2023-04-03 23:17:29 +08:00
Knut Sveidqvist
5d536b9973
Adding documentation for markdown strings
2023-04-03 14:41:13 +02:00
Knut Sveidqvist
917a54f3cd
Merge branch 'develop' into 4220-string-synax-and-features
2023-04-03 12:31:56 +02:00
Knut Sveidqvist
471c842a58
Adding rendering tests and unit tests
2023-04-03 12:12:51 +02:00
Knut Sveidqvist
99f65813a1
Syntax for markdown strings is a single backtick.
2023-04-03 10:43:15 +02:00
Remco Haszing
da7725f38e
Merge branch 'develop' into fix-node16-module-resolution
2023-04-01 12:05:19 +02:00
Knut Sveidqvist
057c9e4b81
Merge branch 'develop' into feature/1618_repeating_tasks
2023-03-31 08:42:10 +02:00
Knut Sveidqvist
c4e4efd4b8
Merge pull request #4258 from mermaid-js/sidv/fix/4256
...
fix(#4256 ): Keep error diagram on screen
2023-03-31 08:34:53 +02:00
Knut Sveidqvist
da066553bd
Merge pull request #4257 from mermaid-js/sidv/fix/4137
...
fix(#4137 ): Cleanup comments before parsing
2023-03-31 08:32:55 +02:00
Sidharth Vinod
006da82470
fix: Remove comment line completely
2023-03-31 00:35:56 +05:30
Sidharth Vinod
1945a62990
fix: trimStart to text
2023-03-31 00:25:33 +05:30
Sidharth Vinod
d16894daf4
test: add space before init
2023-03-31 00:18:53 +05:30
Justin Greywolf
e357bbee42
Refactor to consolidate shared svgDraw components
2023-03-30 11:04:19 -07:00
Sidharth Vinod
46ab6f46f2
fix( #4256 ): Keep error diagram on screen
2023-03-30 23:09:46 +05:30
Sidharth Vinod
48d267c6dc
fix( #4137 ): Cleanup comments before parsing
2023-03-30 22:08:50 +05:30
Steph
35366f79ac
add announcements page content
2023-03-29 14:48:09 -07:00
Steph
4c0980629c
add blog page content
2023-03-29 14:46:19 -07:00
Steph
8bd2c0f272
create announcements and blog pages
2023-03-29 14:27:04 -07:00
Steph
2896865163
add latest news section
2023-03-29 14:23:44 -07:00
Sidharth Vinod
a49cdabd6c
Add Slack invite link
2023-03-29 21:50:15 +05:30
Remco Haszing
2dd6329872
Define and export the Mermaid type
...
This represents the type of the default export. This is useful when it’s
being passed around or declared as a global.
2023-03-29 16:55:58 +02:00
Knut Sveidqvist
507a518a91
Bugfix for port selection when using diamonds in elk layout of flowcharts
2023-03-29 16:17:59 +02:00
Knut Sveidqvist
4caf7d7c7b
Adding support for markdown string in flowchart-elk
2023-03-29 16:01:08 +02:00
Knut Sveidqvist
89eec225ce
Merge branch 'develop' into 4220-string-synax-and-features
2023-03-29 09:34:49 +02:00
Knut Sveidqvist
cbc2df1ff6
Merge branch 'develop' into feature/1618_repeating_tasks
2023-03-29 09:23:18 +02:00
Knut Sveidqvist
e4a2c74b1b
Merge pull request #4247 from kshitijsaksena/bug/4137_fix_comment_bug
...
Updated render to remove comments from text
2023-03-28 16:26:54 +02:00
Knut Sveidqvist
63160293c7
Updating support for the new type of strings for flowcharts-v2
2023-03-28 15:28:52 +02:00
PIRADATA
022e6670d0
docs: fix hexagon node flowchart code example
...
Use `mermaid-example` instead of `mmd` so that Mermaid formats
the code properly.
2023-03-25 20:13:04 +00:00
Kshitij
e3760d1709
Fixed regex bug
2023-03-25 20:13:30 +05:30
Kshitij
0475591fb6
Updated render to remove comments from text
2023-03-25 15:46:52 +05:30
Jeremy Funk
ba1c5dc6c7
Change to using display mode yaml
2023-03-25 01:56:50 +01:00
Jeremy Funk
2f8c571a5c
Fix unit test
2023-03-24 00:37:25 +01:00
Jeremy Funk
a70b3a881d
Add comment
2023-03-24 00:22:52 +01:00
Jeremy Funk
950f560d81
Refactor
2023-03-24 00:20:36 +01:00
Jeremy Funk
fd9680a050
Fix bug
2023-03-24 00:18:52 +01:00
Jeremy Funk
2d815e9626
Add documentation
2023-03-24 00:09:06 +01:00
Jeremy Funk
8c0550b2b7
Code refactoring, add e2e test
2023-03-23 23:45:59 +01:00