Sidharth Vinod
db8a14cdaf
10.0.0-rc.2
2023-02-19 18:36:04 +05:30
Sidharth Vinod
4ea7294eeb
fix( #3406 , #3394 ): Remove init & initThrowsErrors
...
New run function added as replacement.
2023-02-19 16:10:08 +05:30
Sidharth Vinod
57fd3e586a
chore: Rename lazy loaded diagram definitions
2023-02-19 14:58:55 +05:30
Sidharth Vinod
e6b4e2c084
Remove Readme
2023-02-19 14:13:57 +05:30
Sidharth Vinod
6aa3ea43ae
Remove Readme
2023-02-19 14:13:30 +05:30
Sidharth Vinod
735aceb37a
Fix E2E Tests
2023-02-19 14:03:11 +05:30
Sidharth Vinod
d2927435ab
Fix tests
2023-02-19 13:09:31 +05:30
Sidharth Vinod
eaa84d2d91
feat: Break render and parse types
...
Both render and parse are async now.
Return type of render contains svg and bindFunctions.
Parse will not throw error if parseOptions.silent is passed.
2023-02-19 13:08:13 +05:30
Rodja Trappe
941b959da3
add links to NiceGUI integration
2023-02-19 05:40:45 +01:00
Sidharth Vinod
d22e8d92c6
chore: Remove all non async render/parse/init
2023-02-19 01:10:15 +05:30
Sidharth Vinod
45adc5fb6b
Remove CJS builds from docs
2023-02-19 00:58:36 +05:30
Sidharth Vinod
c1aad5975c
Merge branch 'release/9.4.2' into release/10.0.0
...
* release/9.4.2:
RC version
Revert #4034
Revert #4034
fix: Vite, D3, Vitest Types
fix(api): tree shaking package.json import
2023-02-19 00:55:23 +05:30
Sidharth Vinod
631ff8fb9e
chore: Remove cjs from build
2023-02-19 00:37:11 +05:30
Sidharth Vinod
735faa83e9
Merge branch 'release/9.4.2' into pr/AielloChan/4101
...
* release/9.4.2:
RC version
Revert #4034
Revert #4034
fix: Vite, D3, Vitest Types
2023-02-19 00:05:53 +05:30
Sidharth Vinod
2c062d648a
Merge branch 'develop' into release/9.4.2
...
* develop:
Add highlight tag info in contributing.md
chore(deps): update dependency cypress to v12
docs: fix links
Fix types
chore(deps): update dependency vite to v4
2023-02-19 00:04:44 +05:30
Sidharth Vinod
ea8128e881
RC version
2023-02-18 23:48:09 +05:30
Sidharth Vinod
bd98f1477f
Revert #4034
2023-02-18 23:46:11 +05:30
Sidharth Vinod
0f36bbf3e1
Revert #4034
2023-02-18 23:45:45 +05:30
Sidharth Vinod
3c4a6a19bb
fix: Vite, D3, Vitest Types
2023-02-18 22:35:14 +05:30
Aiello
e31924eadc
fix(api): tree shaking package.json import
...
Manually tree shaking import statement of package.json
2023-02-18 23:21:20 +08:00
Sidharth Vinod
bb8bd111f8
Merge branch 'develop' into sidv/classDiagramLabels
...
* develop: (39 commits)
Add highlight tag info in contributing.md
chore(deps): update dependency cypress to v12
docs: fix links
Skip precommit hooks on CI
Fix release-publish
Fix timeline and mindmap
Updating integration instructions for timeline and mindmap
Remove node heap
Revert "chore: Set node heap size"
Revert "Remove text hint"
Split cytoscape
Linear build
Remove text hint
Fix elk import
Dynamic elk import
Remove heap option
elk web-worker
Test publish docs
chore: Add file extension for dynamic import
chore: Defer elk loading
...
2023-02-16 18:06:41 +05:30
Sidharth Vinod
4ed6ec1a4d
Add highlight tag info in contributing.md
2023-02-16 18:00:41 +05:30
Sidharth Vinod
17238c0326
Merge branch 'master' into develop
...
* master: (24 commits)
docs: fix links
Skip precommit hooks on CI
Fix release-publish
Fix timeline and mindmap
Updating integration instructions for timeline and mindmap
Remove node heap
Revert "chore: Set node heap size"
Revert "Remove text hint"
Split cytoscape
Linear build
Remove text hint
Fix elk import
Dynamic elk import
Remove heap option
elk web-worker
Test publish docs
chore: Add file extension for dynamic import
chore: Defer elk loading
Update vitepress
Fix links to integrations.md
...
2023-02-16 17:52:07 +05:30
Sidharth Vinod
ac231949f0
Merge pull request #4071 from mermaid-js/renovate/vite-4.x
...
chore(deps): update dependency vite to v4
2023-02-16 17:50:08 +05:30
Sidharth Vinod
d543bc0411
docs: fix links
2023-02-16 17:27:51 +05:30
Sidharth Vinod
b22978dfb2
Fix timeline and mindmap
2023-02-16 16:52:15 +05:30
Knut Sveidqvist
71e4f1152b
Updating integration instructions for timeline and mindmap
2023-02-16 12:05:38 +01:00
Sidharth Vinod
8c7043ffaf
Revert "Remove text hint"
...
This reverts commit ec6ef35d21
.
2023-02-16 15:27:43 +05:30
Sidharth Vinod
f81f9f7c95
Split cytoscape
2023-02-16 15:21:45 +05:30
Sidharth Vinod
ec6ef35d21
Remove text hint
2023-02-16 15:07:55 +05:30
Sidharth Vinod
c815c84e1c
Fix elk import
2023-02-16 15:00:35 +05:30
Sidharth Vinod
b8315cec6c
Dynamic elk import
2023-02-16 14:42:47 +05:30
Sidharth Vinod
83797eef38
elk web-worker
2023-02-16 14:21:33 +05:30
Sidharth Vinod
a1a252cc29
Merge branch 'master' into release/9.4.1
...
* master:
Update vitepress
Fix links to integrations.md
chore: Set node heap size
2023-02-16 13:01:10 +05:30
Sidharth Vinod
533bd7da3c
chore: Add file extension for dynamic import
2023-02-16 12:56:32 +05:30
Sidharth Vinod
037504785c
chore: Defer elk loading
2023-02-16 12:47:28 +05:30
Sidharth Vinod
62f7fb082e
Update vitepress
2023-02-16 12:47:00 +05:30
Sidharth Vinod
b89b90dbb9
Fix links to integrations.md
2023-02-16 12:35:43 +05:30
Sidharth Vinod
31afd7499b
chore: Linear build
2023-02-16 12:05:41 +05:30
Knut Sveidqvist
25da0c6c8e
Merge branch 'master' into develop
2023-02-15 16:31:44 +01:00
Per Brolin
98bec36f81
Merge branch 'release/9.4.0'
2023-02-15 16:20:22 +01:00
Per Brolin
97614b8af5
Updated to 9.4.0
2023-02-15 15:54:02 +01:00
Knut Sveidqvist
343e48302e
Fix for direction issue with elk rendering
2023-02-15 15:12:52 +01:00
Per Brolin
aef989fe03
Corrected sequenceRenderer
2023-02-15 15:11:23 +01:00
Per Brolin
0c38f20281
Clearing sequence diagram before rendering
2023-02-15 14:17:46 +01:00
Knut Sveidqvist
eed427b4ac
Adding simple direction logic
2023-02-15 14:10:38 +01:00
Knut Sveidqvist
027296df68
Working version before applying direction logic
2023-02-15 13:54:33 +01:00
Sidharth Vinod
10e6c92766
Lint
2023-02-14 10:56:16 +05:30
Sidharth Vinod
e1710fddd9
Cleanup nodes.js
2023-02-14 10:22:17 +05:30
Sidharth Vinod
bcfefefbd4
docs: Update classdiagram docs
2023-02-14 00:56:40 +05:30
Sidharth Vinod
ef4fbd8bb3
classLabel tests
2023-02-14 00:54:42 +05:30
Sidharth Vinod
17e317385a
Formatting
2023-02-14 00:37:17 +05:30
Sidharth Vinod
102900749e
Add support for classDiagram labels
2023-02-14 00:36:43 +05:30
Sidharth Vinod
46f2aebabc
Cleanup Renderer
2023-02-13 22:48:11 +05:30
Sidharth Vinod
b9c2f62b47
Cleanup classDB
2023-02-13 21:31:43 +05:30
Sidharth Vinod
9d75665460
Fix links to integrations.md
2023-02-13 10:55:24 +05:30
Per Brolin
a956be7bbf
Release candidate
2023-02-10 11:03:25 +01:00
Sidharth Vinod
fd8fb96ec2
chore: Copy readme before publishing
2023-02-10 12:14:58 +05:30
Sidharth Vinod
ad6a43cf81
Add logo to readme
2023-02-09 12:46:05 +05:30
Sidharth Vinod
f6d9868e35
chore: Lint fix
2023-02-09 11:34:20 +05:30
Sidharth Vinod
94d4ee3a2c
Merge pull request #4015 from JeffTrain/develop
...
docs: minor fix on markdown
2023-02-09 11:33:28 +05:30
Sidharth Vinod
004432fae9
Fix types
2023-02-09 11:28:27 +05:30
Sidharth Vinod
07764348eb
Merge pull request #4069 from mermaid-js/renovate/jsdom-21.x
...
chore(deps): update dependency jsdom to v21
2023-02-09 11:13:03 +05:30
Frederic Lavigne
f791cd2b24
💄 section width now covers all tasks
2023-02-08 22:02:19 -06:00
renovate[bot]
72e8b7fb38
chore(deps): update dependency rimraf to v4
2023-02-09 00:49:20 +00:00
renovate[bot]
3a89cc7993
chore(deps): update dependency jsdom to v21
2023-02-09 00:47:08 +00:00
renovate[bot]
d45eda1c60
chore(deps): update dependency @types/uuid to v9
2023-02-09 00:41:24 +00:00
Sidharth Vinod
f83f09d8b0
Fix vitest type
2023-02-09 01:29:41 +05:30
Knut Sveidqvist
74df4a7a68
Mind map coming in from the cold. A lazy loaded diagram in the same way as timeline.
2023-02-08 17:42:58 +01:00
Knut Sveidqvist
580903051f
Fixing broken test
2023-02-08 13:40:41 +01:00
Knut Sveidqvist
ce037a84ca
Fixing build after last batch of changes
2023-02-08 13:16:33 +01:00
Sidharth Vinod
7f254e37e9
Cleanup
2023-02-08 16:01:29 +05:30
Sidharth Vinod
d562a81019
Merge branch 'develop' into timeline
...
* develop: (45 commits)
Showcase section to the docs - keepings docs up to date (#4055 )
bugfix: add missing d3 curves to flowchart and docs
fix(deps): update dependency dagre-d3-es to v7.0.8
build(pre-commit): cache eslint in pre-commit
build(lint): cache eslint with strategy content
Update cypress/integration/rendering/sequencediagram.spec.js
feat(er): allow leading underscore for attributes name
ci(lint): show nice error on lint failure
chore: add moment to dependencies
Update docs
Update mindmap.md
chore: remove moment-mini
docs(readme-ch): fix twitter link
build(lint): cache prettier on `pnpm run lint`
fix: moment-mini default exporter
docs(readme): update broken twitter badge
test(er): improve tests on multiple key constraints
Fixes Typo, remove console.log
doc(er): add documentation on multiple key constraints
feat(er): allow multiple constraints on attributes
...
2023-02-08 15:57:09 +05:30
Knut Sveidqvist
6a045db83c
Fix for e2e issue with mindmap tests, not related to timeline
2023-02-08 11:24:09 +01:00
Omer Rosenbaum
73ee9e9a92
Showcase section to the docs - keepings docs up to date ( #4055 )
...
* Add a Showcase section to the docs with Swimm
* Build docs
* Move FAQ to Config
* Create showcases page
* Build docs
* Prettier
* feat: Redirect old docs URLs
---------
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-02-07 23:15:48 +05:30
Sidharth Vinod
923ddc8309
Merge pull request #4038 from natasha-jarus/bug/missing-flowchart-curves
...
bugfix: add missing d3 curves to flowchart and docs
2023-02-07 14:00:53 +05:30
Sidharth Vinod
64096b22dc
Merge pull request #3965 from oleveau/feature/AddBoxForSeqDiagrams
...
Add Box support in Sequence Diagrams
2023-02-07 13:58:32 +05:30
Natasha Jarus
84d563584f
bugfix: add missing d3 curves to flowchart and docs
2023-02-06 13:28:40 -08:00
renovate[bot]
ac67794fb2
fix(deps): update dependency dagre-d3-es to v7.0.8
2023-02-06 01:07:08 +00:00
Sidharth Vinod
71e5a53172
Merge pull request #4034 from emersonbottero/develop
...
fix: moment-mini default exporter
2023-02-05 11:48:56 +05:30
Tom PERRILLAT-COLLOMB
c2ec63d4fd
feat(er): allow leading underscore for attributes name
2023-01-30 12:34:06 +01:00
Emerson Bottero
df10d64989
chore: add moment to dependencies
2023-01-29 11:24:48 -03:00
GavinPen
cb1a20264d
Update mindmap.md
...
Minor Improvement to wording
2023-01-28 17:42:30 +00:00
Emerson Bottero
7179f1bcba
chore: remove moment-mini
2023-01-26 20:55:57 -03:00
ashishj
61f33567ae
Making timeline diagram lazy-loaded internal, removing separate package
2023-01-26 10:29:35 +01:00
Olivier Leveau
9fb6f1998f
Merge branch 'develop' into feature/AddBoxForSeqDiagrams
2023-01-26 09:14:18 +01:00
Emerson Bottero
19e3624e89
fix: moment-mini default exporter
2023-01-26 01:23:41 -03:00
Sidharth Vinod
c51f6df82c
Merge pull request #4030 from tomperr/feature/4009_er_multiple_constraints
...
feat(er): add multiple key constraints
2023-01-26 00:16:58 +05:30
Tom PERRILLAT-COLLOMB
dc0a46f742
test(er): improve tests on multiple key constraints
2023-01-25 19:40:40 +01:00
Sidharth Vinod
c76728b423
Merge pull request #3902 from weedySeaDragon/bug/3858_state_named_state_container
...
Bug/3858 [state] trailing whitespace in ids for named state container
2023-01-25 22:51:34 +05:30
Sidharth Vinod
0aa7da261f
Merge pull request #3962 from aloisklink/build/add-autogenerated-header-after-yaml-codeblocks
...
Add support for YAML frontmatter in Markdown docs (used for Vitepress config)
2023-01-25 22:50:20 +05:30
ashishj
52bd5181f9
More Lint Fixes
2023-01-25 18:03:04 +01:00
ashishj
49ce5222c9
Lint Fixes
2023-01-25 17:49:35 +01:00
ashishj
5c14df0aeb
Added jest test cases
2023-01-25 17:45:47 +01:00
ashishj
8af5c4c341
Fix parser grammer conflicts
2023-01-25 17:44:34 +01:00
Olivier Leveau
f7756ccc00
Fixes Typo, remove console.log
2023-01-25 17:02:10 +01:00
Tom PERRILLAT-COLLOMB
3066a4b43a
doc(er): add documentation on multiple key constraints
2023-01-25 15:13:58 +01:00
Tom PERRILLAT-COLLOMB
26e9b1790b
feat(er): allow multiple constraints on attributes
...
little changes in grammar to get a list of constraints (PK, FK or UK), so little changes in renderer to handle this list
2023-01-24 21:20:11 +01:00
Sidharth Vinod
6792bb94b7
chore: Use logger
2023-01-24 16:11:04 +05:30
Sidharth Vinod
b36e5d0d3b
fix: Remove unnecessary void's.
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-01-24 16:08:43 +05:30
Sidharth Vinod
a28f6bf80c
Merge branch 'develop' into sidv/fixUnhandledPromise
...
* develop:
chore: Skip 57-elk test
Update docs
Update integrations.md
2023-01-24 16:00:35 +05:30
Alois Klink
816f2f512e
build(docs): hide YAML when building for GitHub
...
YAML front-matter is currently only used for Vitepress.
Because of that, to avoid confusion, we can remove this YAML
front-matter when converting the Markdown in packages/mermaid/src/docs
to go into the `docs/` folder for GitHub browsing.
2023-01-22 19:23:57 +00:00
Alois Klink
76c3716b2d
docs: add vitepress metadata to flowchart docs
...
Changes the title in Vitepress, as well as using `outline: "deep"`
for a better outline/table-of-contents for the page.
See https://vitepress.vuejs.org/config/theme-configs#outline
for docs on what `outline: "deep"` does.
2023-01-22 19:21:53 +00:00
Alois Klink
2f1a521db6
build(docs): add auto-generated header after YAML
...
Add the auto-generated header after any YAML front-matter blocks.
YAML front-matter is normally only valid in Markdown when it's at the
beginning of the Markdown file. GitHub/Vitepress may otherwise render
it incorrectly.
2023-01-22 19:21:53 +00:00
Alois Klink
8f4caa4537
refactor(docs): use remark-compatible plugin
...
Change the `transformBlocks` function, which transforms a markdown str,
and instead making it into a
`transformMarkdownAst` function, which transforms a Markdown AST.
This means we can use the remark/unifiedjs plugin infrastructure, see
https://unifiedjs.com/learn/guide/create-a-plugin/
2023-01-22 19:21:51 +00:00
Alois Klink
b26cdb3e46
build(docs): support YAML frontmatter in markdown
...
Vitepress uses YAML frontmatter to configure Vitepress specific
settings, see https://vitepress.vuejs.org/config/frontmatter-configs
We just need to use `remark-frontmatter` to add support for it.
GitHub also renders the YAML front-matter nicely in a table
automatically, but maybe we should instead strip it, if it's only
used by Vitepress?
2023-01-22 19:21:18 +00:00
Knut Sveidqvist
de8928b2d9
#4016 Fix for max_sections in mindmap renderer
2023-01-20 12:48:06 +01:00
pbrolin47
e5b33087f3
Merge pull request #4013 from mermaid-js/4012-handling-rows-wiht-only-spaces
...
Mindmaps: Handling rows with only spaces in them (#4012 )
2023-01-20 10:23:06 +01:00
Knut Sveidqvist
bc56a7d4f1
#4012 Neater grammar for the rows before mindmap
2023-01-20 10:21:13 +01:00
Knut Sveidqvist
80903e427c
#4012 Allowing multiple lines before the mindmap statement
2023-01-20 10:18:26 +01:00
Per Brolin
e8db9b2bd5
Merge branch 'master' of github.com:mermaid-js/mermaid
2023-01-20 09:01:48 +01:00
Knut Sveidqvist
023f2354cd
2023-01-20 08:31:01 +01:00
cnjeftia
96d5bc7695
docs: minor fix on markdown
2023-01-20 11:29:16 +08:00
ashishj
7ef71cc04d
Remove old test cases
2023-01-19 21:05:38 +01:00
Knut Sveidqvist
3cd15cdcf2
#4012 Handling rows with only spaces in them
2023-01-19 20:50:36 +01:00
ashishj
e865368649
Updating version and clean up package.json
2023-01-19 20:42:33 +01:00
ashishj
be818ad57f
Pushing fix for broken themeVariable functionality
2023-01-19 20:30:11 +01:00
ashishj
ca22e85e55
Merge branch 'release/9.4.0' into timeline
2023-01-19 19:20:29 +01:00
ashishj
652a42fe1a
Add directive parsing functionality to timeline diagram
2023-01-19 19:03:05 +01:00
Bastian Ebeling
3aeef7b846
Update integrations.md
...
Corrected `Vs Code` to `VS Code` and inserted `Markdown Preview Enhanced`
2023-01-19 07:15:32 +01:00
Olivier Leveau
250f1f9687
Merge branch 'develop' into feature/AddBoxForSeqDiagrams
2023-01-18 11:35:39 +01:00
Sidharth Vinod
5b9839cbd0
fix package.json
...
add `@types/cytoscape`
2023-01-18 00:53:00 +05:30
Sidharth Vinod
afe3f593e1
fix( #4003 ): Remove unhandled promises
...
Add eslint rules to check for unhandled promises
Fix all existing unhandled promise issues
2023-01-18 00:47:49 +05:30
Sidharth Vinod
8a485c3c88
Merge pull request #3993 from jonabc/bug/sequence-firefox-font-size
...
Parse style string and number font size values from configuration inputs
2023-01-17 22:07:11 +05:30
Jon Ruskin
9629c8d8d6
use undefined not null
2023-01-17 08:31:36 -07:00
Sidharth Vinod
c0f9b3c00b
Merge branch 'develop' into sidv/internalFCV3
...
* develop:
Update docs
docs(sequenceDiagram): subvert prettification of arrow types
2023-01-17 14:07:12 +05:30
Sidharth Vinod
3c12e66f73
Merge pull request #3988 from cakemanny/docs/correct-arrow-type-display
...
docs(sequenceDiagram): subvert prettification of arrow types
2023-01-16 15:18:59 +05:30
renovate[bot]
ea3d7bc594
fix(deps): update dependency dagre-d3-es to v7.0.6
2023-01-16 05:18:31 +00:00
Sidharth Vinod
1c8c69f8db
Merge branch 'sidv/properlyWaitTests' into sidv/internalFCV3
...
* sidv/properlyWaitTests:
feat: Wait for rendering to finish before taking image snapshots
Update docs
chore(deps): update all non-major dependencies
Fix: Too many `primaryBorderColor`
2023-01-16 02:11:59 +05:30
Jon Ruskin
b93ce24c3d
handle string and number font size configurations
2023-01-14 14:05:05 -07:00
Daniel Golding
0a4a3bda16
docs(sequenceDiagram): subvert prettification of arrow types
...
The rendering of the arrows becomes prettified using some sort of font library on mermaid.js.org .
Quote in backticks to indicate these are code.
2023-01-13 17:05:53 +01:00
Howard He
e44e1210e2
Fix: Too many primaryBorderColor
...
Only keep one `primaryBorderColor` field in Theme Variables part.
before:
![before](https://s2.loli.net/2023/01/13/I657QWjsAlVokfE.png )
after:
![after](https://s2.loli.net/2023/01/13/ZQ7PSfcdIKBtGsm.png )
2023-01-13 17:13:56 +08:00
Sidharth Vinod
05d1fc44e8
Merge branch 'develop' into sidv/internalFCV3
...
* develop:
test(sequenceDiagram): mock more d3 curve* types
test(docs): fix test failure due to bad merge
chore(dev-deps): update vitest to `^0.27.1`
2023-01-13 10:23:59 +05:30
Alois Klink
164b9bc2cb
test(sequenceDiagram): mock more d3 curve* types
...
vitest is throwing an error, since these types are used in
packages/mermaid/src/utils.ts, but are not being mocked.
I've added all the curve types I needed to make Vitest happy.
At some point, we may need to improve these mocks, since in d3,
they have the type CurveFactory, not string.
2023-01-13 00:27:48 +00:00
Alois Klink
16540f3005
test(docs): fix test failure due to bad merge
...
Fixes a semantic merge conflict due to the PRs:
- https://github.com/mermaid-js/mermaid/pull/3954
Changed `docs.mts` to use a remark object created by `remark()`
- https://github.com/mermaid-js/mermaid/pull/3946
Added test code that mocked the frozen remark object
(e.g. `remark` not `remark()`).
To fix this issue, we can mock `remark()` so that it always returns
the same remark object, which can then be used the `docs.mts` script,
as well as spied on in the `docs.spec.ts` test file.
Reported-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-01-13 00:17:17 +00:00
Sidharth Vinod
242a508d50
feat: Flowchart-elk integration
2023-01-12 18:26:08 +05:30
Sidharth Vinod
9acd562b9e
Merge pull request #3954 from aloisklink/build/support-GFM-in-markdown-documentation
...
Support GitHub Flavored Markdown in markdown documentation
2023-01-12 12:47:07 +05:30
Sidharth Vinod
3238ee4c2e
Merge pull request #3972 from atmikeguo/develop
...
Fix nonstandard syntax
2023-01-12 12:44:03 +05:30
oleveau
7b5bebd9c4
Sanitize text of the box
2023-01-11 22:10:41 +01:00
Ashish Jain
b67c023b0a
Merge pull request #3938 from mermaid-js/layout-v3-continued
...
Layout v3 continued
2023-01-11 20:01:24 +01:00
Knut Sveidqvist
e28a766e7d
Cleanup, updating the module name and description for flowchart in package.json
2023-01-11 19:56:04 +01:00
Knut Sveidqvist
3f7f04e02f
Adjusted as per @ashishjain0512 review comments
2023-01-11 19:40:25 +01:00
ashishj
68609fd8d0
Merge develop in timeline branch
2023-01-11 18:13:26 +01:00
Knut Sveidqvist
ce6f62e24e
Merge pull request #3946 from weedySeaDragon/chore/3922_doc-diagram-only
...
(chore) Docs: add tag to produce only a diagram, not code example
2023-01-11 18:04:41 +01:00
Knut Sveidqvist
094b97de12
Merge branch 'develop' into layout-v3-continued
2023-01-11 18:03:09 +01:00
Knut Sveidqvist
0e3dadc53c
Updated as per the suggestions from @weedySeaDragon
2023-01-11 17:58:05 +01:00
Knut Sveidqvist
1fca5131c3
Merge pull request #3947 from nekikara/bug/3865_c4_context_border_color
...
Bug/3865 C4Context: $borderColor has no effect
2023-01-11 17:56:00 +01:00
renovate[bot]
a56d0bc36b
fix(deps): update dependency dompurify to v2.4.3
2023-01-09 02:52:02 +00:00
Chidozie Nnachor
568a3329e1
docs: update sequenceDiagram.md to include line break ( #3960 )
...
Included an example for adding a line break to notes. It seems like an issue irking a lot of (new) users
Co-authored-by: Alois Klink <alois@aloisklink.com>
Co-authored-by: Chidozie Nnachor <Chidozie.Nnachor@keylane.com>
2023-01-07 23:39:36 +00:00
atmikeguo
1968d1bb28
Fix nonstandard syntax
2023-01-07 20:05:57 +08:00
Olivier Leveau
117f0ab6da
Fix test / Add Tests
2023-01-06 13:38:03 +01:00
Olivier Leveau
64a935515c
Better color detection + fix win32 path handling
2023-01-06 12:47:09 +01:00
Olivier Leveau
e6befbaa3f
Merge branch 'develop' into feature/AddBoxForSeqDiagrams
2023-01-06 11:06:00 +01:00
Olivier Leveau
e659601e03
Add Box support in Sequence Diagrams
2023-01-05 15:40:40 +01:00
Guilherme Gonzaga
10cb3e26d5
docs: Remove duplicate in ER-diagram documentation
2023-01-03 14:49:20 -04:00
Alois Klink
ef51111b86
build(docs): support GFM in markdown docs
...
Support using GFM in markdown documentation.
GitHub has some custom features in their Markdown documentation.
For example, they support using tables, footnotes, and task lists.
Vitepress supports tables too.
However, remark sometimes throws an error when parsing tables,
so we should use `remark-gfm` to handle them.
2023-01-01 21:28:03 +00:00
Ashley Engelund (weedySeaDragon @ github)
36c0a30c50
Merge remote-tracking branch 'MERMAID/develop' into chore/3922_doc-diagram-only
2022-12-28 12:10:20 -08:00
nekikara
f233ce1fed
add double quote
2022-12-27 20:43:33 +01:00
nekikara
d13c1bce47
fix the way to set stroke and stroke-width properties
2022-12-27 19:49:18 +01:00
Sidharth Vinod
06c357916e
Merge pull request #3943 from nekikara/bug/3876_fix_typo_in_c4_svg-draw
...
fix typos accessing techn property in drawC4Shape function
2022-12-27 10:33:09 +05:30
Ashley Engelund (weedySeaDragon @ github)
78443861a6
test/spec for some of docs.mts
2022-12-26 13:13:47 -08:00
Ashley Engelund (weedySeaDragon @ github)
34aef1a6f5
refactor: transformBlocks(); + MERMAID_DIAGRAM_ONLY behavior; comments, constants
2022-12-26 13:13:02 -08:00
steph
7d0cec0a49
add margin to left and right side of team cards
2022-12-26 12:48:36 -08:00
steph
d8c3f8fc16
updates to the homepage
2022-12-26 12:04:58 -08:00
nekikara
d8aa44f0c5
fix typos accessing techn property in drawC4Shape function
2022-12-24 20:25:59 +01:00
Sidharth Vinod
2c88c6b526
Merge pull request #3921 from tomperr/fix/3795_class_tilde_visibility
...
fix(generic): fix generic type detection
2022-12-24 00:33:39 +05:30
Sidharth Vinod
8ed1ad5a8e
Merge pull request #3907 from huynhicode/docs/formatting
...
docs: fix text overflow
2022-12-24 00:30:31 +05:30
Alois Klink
a58b41a38e
Merge branch 'develop' into fix/3706_support-indented-yaml-only-in-html
2022-12-22 19:24:33 +00:00
Tom PERRILLAT-COLLOMB
df42f96b5a
docs(classDiagram): add nested generic type example in docs
2022-12-22 11:17:44 +01:00
Knut Sveidqvist
c535b10534
Adding info in the docs for enabling elk flowcharts.
2022-12-22 11:00:30 +01:00
Knut Sveidqvist
913ba34386
#815 Adding possibility to configure elk as renderer for flowcharts
2022-12-22 10:33:41 +01:00
steph
dbfb29de27
Merge branch 'develop' into docs/formatting
2022-12-21 14:43:56 -08:00
steph
22b66193dc
update outdate format info formatting
2022-12-21 11:24:48 -08:00
Omer Rosenbaum
895c16a793
Add Swimm to the list of integrations
2022-12-21 10:56:09 +02:00
Steph
b220718b96
Update packages/mermaid/src/docs/syntax/gantt.md
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-12-20 09:37:42 -08:00
Steph
0f337d654f
Update packages/mermaid/src/docs/syntax/gantt.md
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-12-20 09:37:26 -08:00
Sidharth Vinod
cdba2b4ac8
Update CDN links
2022-12-20 10:56:39 +05:30
steph
469bdcef2f
add support for vitepress blocks
2022-12-19 21:14:39 -08:00
Sidharth Vinod
2baa36fd1f
Merge pull request #3930 from Frank-Mayer/patch-1
...
fixed Composition arrow
2022-12-20 10:40:54 +05:30
steph
fca58f5942
remove text and add social icons
2022-12-19 17:45:25 -08:00
Steph
f17f81d12c
Merge branch 'develop' into docs/navbar
2022-12-19 12:16:06 -08:00
Frank Mayer
86946c9bfd
fixed Composition arrow
...
Composition arrow was displayed as \*-- but should be *--
2022-12-19 15:38:52 +01:00
Sidharth Vinod
95e4443ff2
Merge branch 'master' into develop
...
* master:
Revert "Add CNAME"
fix Redirect
fix: Remove basepath from docs
2022-12-19 14:26:54 +05:30
Sidharth Vinod
81aee3554e
Revert "Add CNAME"
...
This reverts commit 7670ada9ac
.
2022-12-19 14:26:20 +05:30
Sidharth Vinod
fd5780d5a1
fix Redirect
2022-12-19 13:51:05 +05:30
Sidharth Vinod
8e7dd1d148
fix: Remove basepath from docs
2022-12-19 13:29:09 +05:30
Sidharth Vinod
14ea1430d8
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
...
* 'develop' of https://github.com/mermaid-js/mermaid :
chore(deps): update pnpm to v7.18.2
docs: fix typo
fix dev server watch mode
2022-12-19 13:13:42 +05:30
Alois Klink
61fdca58a1
Merge pull request #3925 from Foo-x/docs/fix-typo
...
docs: fix typo
2022-12-18 15:58:01 +00:00
Foo-x
a6ea439ef3
docs: fix typo
2022-12-18 23:44:14 +09:00
Tom PERRILLAT-COLLOMB
56e28a7f40
test(generic): add generic type unit test
2022-12-16 22:35:20 +00:00
Tom PERRILLAT-COLLOMB
5705515483
fix(generic): fix generic type regex
...
instead of looking for single tildes, we are now looking for pairs, which avoid bugs when there is an odd number of tildes
2022-12-16 22:17:39 +00:00
Sidharth Vinod
612f9327e9
Merge branch 'master' into develop
...
* master:
Add CNAME
2022-12-17 00:34:07 +05:30
Alois Klink
1e3d76a0aa
docs(README.zh-CN): fix book image src
...
Copied from ec026eaf82
2022-12-16 18:31:25 +00:00
Sidharth Vinod
7670ada9ac
Add CNAME
2022-12-16 21:59:44 +05:30
Knut Sveidqvist
bb9b0b015e
#815 Styling subgraphs with color shades
2022-12-16 16:28:24 +01:00
Ashley Engelund
521a30dcd7
add a space near the start for symmetry and readability
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2022-12-16 06:37:05 -08:00
Knut Sveidqvist
3e64b439ce
Merge pull request #3917 from tomperr/feature/3910_er_unique_key
...
feat(er): add unique key
2022-12-16 13:03:30 +01:00
Knut Sveidqvist
1bf636d697
Merge pull request #3892 from mahomedalid/feature/3771_string_length
...
Adding support for parenthesis in the er diagram attribute types.
2022-12-16 12:58:30 +01:00
Sidharth Vinod
f019250494
Merge pull request #3916 from aloisklink/fix/use-determenistic-uuids-for-er-diagrams
...
fix(er): switch to deterministic UUIDs in ER
2022-12-16 12:44:12 +05:30
steph
528facf88d
minor syntax update
2022-12-15 13:11:07 -08:00