Knut Sveidqvist
8fb9b21f59
#5237 Fix four double circle background
2024-05-28 08:50:16 +02:00
Knut Sveidqvist
b8dd4b9048
#5237 Finishing the roughup of the nodes
2024-05-27 17:42:07 +02:00
Ashish Jain
4f6586873f
wip: Broke out flowchar shapes for common rendering
2024-05-27 15:17:59 +02:00
Knut Sveidqvist
a56aa56cbc
Merge branch '5237-unified-layout-common-renderer' into 5237-unified-layout-flowchart
2024-05-24 16:30:24 +02:00
Knut Sveidqvist
48e313bf18
Merge pull request #5539 from mermaid-js/sidv/5237
...
Internal: Fix build
2024-05-24 16:26:50 +02:00
Knut Sveidqvist
fa6bcd8b30
#5237 Adding new rendering for flowcharts
2024-05-24 13:28:33 +02:00
Sidharth Vinod
eed5ba6c1e
Merge branch 'sidv/5237' of https://github.com/mermaid-js/mermaid into sidv/5237
...
* 'sidv/5237' of https://github.com/mermaid-js/mermaid :
Update docs
2024-05-24 15:37:30 +05:30
Sidharth Vinod
8e40f31ed3
chore: Fix import
2024-05-24 15:37:25 +05:30
sidharthv96
af05df937e
Update docs
2024-05-24 09:48:45 +00:00
Sidharth Vinod
f01a9d50fb
chore: Fix formatting
2024-05-24 15:15:42 +05:30
Sidharth Vinod
f14b65cf43
chore ignore file
2024-05-24 15:12:30 +05:30
Sidharth Vinod
e5069083c9
Merge branch '5237-unified-layout-common-renderer' into sidv/5237
...
* 5237-unified-layout-common-renderer:
Tweaking spacings for elk and confurinable network placement strategy
#5237 Elk spacing tweak and fix for fonthandling in directives
#5237 Handling label size for elk layout
#5237 Handling paddings in subgraphs for state diagrams
#5237 Handling paddings in subgraphs for state diagrams
2024-05-24 14:50:03 +05:30
Sidharth Vinod
8a079299a6
chore: Fix eslint errors
2024-05-24 14:38:05 +05:30
Sidharth Vinod
dfe223c3b8
chore: Fix eslint errors
2024-05-24 14:32:22 +05:30
Sidharth Vinod
e09410448c
chore: Fix typos, remove unused docs
2024-05-24 10:11:22 +05:30
Sidharth Vinod
269ddf4a34
chore: Add reason to tsignore
2024-05-24 10:09:16 +05:30
Sidharth Vinod
e41bccad64
chore: Fix types.d.ts
2024-05-24 10:08:06 +05:30
Knut Sveidqvist
7da85b9005
Tweaking spacings for elk and confurinable network placement strategy
2024-05-23 11:59:31 +02:00
Knut Sveidqvist
8d23b684f5
#5237 Elk spacing tweak and fix for fonthandling in directives
2024-05-23 11:12:36 +02:00
Knut Sveidqvist
47776e3ca1
#5237 Handling label size for elk layout
2024-05-23 10:50:39 +02:00
Sidharth Vinod
52e0dc6464
chore: Suppress type errors
...
Should fix properly
2024-05-23 10:06:42 +05:30
Knut Sveidqvist
5413668c1a
#5237 Handling paddings in subgraphs for state diagrams
2024-05-22 16:18:00 +02:00
Knut Sveidqvist
3e60270193
Merge branch '5237-unified-layout-common-renderer' of github.com:mermaid-js/mermaid into 5237-unified-layout-common-renderer
2024-05-22 16:05:31 +02:00
Knut Sveidqvist
ddaa7afbb5
#5237 Handling paddings in subgraphs for state diagrams
2024-05-22 16:02:57 +02:00
Sidharth Vinod
2377a0d753
chore: Cleanup state renderer v3
2024-05-22 18:04:33 +05:30
Sidharth Vinod
a4de1b4944
Merge pull request #5535 from mermaid-js/sidv/5237
...
Internal
2024-05-22 17:24:28 +05:30
Sidharth Vinod
5b66810646
feat: Remove direct file dependency of mermaid from elk, by using peerDependency.
2024-05-22 17:01:34 +05:30
Sidharth Vinod
aa63f320f8
Minor cleanups
2024-05-21 22:24:04 +05:30
Sidharth Vinod
ca2c112c9a
Fix cspell
2024-05-21 17:58:02 +05:30
Sidharth Vinod
75b0ee3daf
Remove unused code
2024-05-21 17:56:50 +05:30
Sidharth Vinod
60c79dfb2f
Add d3
2024-05-21 17:55:10 +05:30
Sidharth Vinod
c10ab23387
Merge branch 'develop' into 5237-unified-layout-common-renderer
...
* develop: (50 commits)
Update pnpm to v9
chore: Fix link
Update docs
fixup, docs: update plugin's name
Update docs
Changed Mermaid Chart GPT plugin's name
Updated Mermaid Chart ChatGPT plugin link
chore(deps): update all patch dependencies
run the pnpm --filter mermaid run docs:build command
Update flowchart.md
chore: address @Yokozuna59's code reviews
Lint fix
Fix for proper handling of block-diagram labels
Fix for proper handling of block-diagram labels
docs: Add blog post - Documentation Software (#5519 )
refactor: remove non-null assertion operator
chore: remove unrefSubSchemas
chore: Build config types before building types
chore: Ignore `vite.config.ts.timestamp-`
chore(deps): update all patch dependencies
...
2024-05-21 17:52:11 +05:30
Sidharth Vinod
ec7adb7e00
Update pnpm to v9
2024-05-21 17:48:30 +05:30
Knut Sveidqvist
0d2c7c3b2c
#5237 Removed node properties, doc status in types
2024-05-20 14:33:54 +02:00
Knut Sveidqvist
c8f2abad18
#5237 Removed use of node.type from renderer
2024-05-20 14:29:38 +02:00
Knut Sveidqvist
b6ef7367c2
#5237 Removed style, class, labelText and props from node
2024-05-20 14:21:01 +02:00
Knut Sveidqvist
4463e9d7a3
#5237 Removal of debug logs
2024-05-20 13:14:33 +02:00
Knut Sveidqvist
991721e955
#5237 Elk tweaks and additional layout algorithms
2024-05-17 12:46:02 +02:00
Knut Sveidqvist
47d4929bc6
#5237 Handling tainted subgraphs
2024-05-17 09:30:51 +02:00
Knut Sveidqvist
ff36301cc5
#5237 Fix for direction handling using ELK
2024-05-16 14:36:02 +02:00
Ashish Jain
7fb079ef3c
#5237 node data type remarks
2024-05-16 12:19:26 +02:00
Sidharth Vinod
7bcba29493
Merge branch 'master' of https://github.com/mermaid-js/mermaid into develop
...
* 'master' of https://github.com/mermaid-js/mermaid :
chore: Fix link
Update docs
fixup, docs: update plugin's name
Update docs
Changed Mermaid Chart GPT plugin's name
Updated Mermaid Chart ChatGPT plugin link
run the pnpm --filter mermaid run docs:build command
Update flowchart.md
Lint fix
Fix for proper handling of block-diagram labels
Fix for proper handling of block-diagram labels
docs: Add blog post - Documentation Software (#5519 )
update content
add ai blog post
2024-05-16 14:26:38 +05:30
Sidharth Vinod
8744008630
Merge pull request #5509 from Abrifq/patch-6
...
Updated Mermaid Chart ChatGPT plugin link
2024-05-16 14:22:52 +05:30
Sidharth Vinod
418d34cbee
chore: Fix link
2024-05-16 14:21:44 +05:30
Sidharth Vinod
fcd5c2c21d
Merge branch 'master' into pr/Abrifq/5509
...
* master:
run the pnpm --filter mermaid run docs:build command
Update flowchart.md
Lint fix
Fix for proper handling of block-diagram labels
Fix for proper handling of block-diagram labels
docs: Add blog post - Documentation Software (#5519 )
update content
add ai blog post
2024-05-16 14:16:53 +05:30
Abrifq
e3c6281b26
Update docs
2024-05-16 14:13:44 +05:30
Arda Aydın
ae5b886148
fixup, docs: update plugin's name
2024-05-16 14:13:44 +05:30
Abrifq
c5badf8341
Update docs
2024-05-16 14:13:43 +05:30
Arda Aydın
da882de0d4
Changed Mermaid Chart GPT plugin's name
2024-05-16 14:13:43 +05:30
Abrifq
633febaeab
Updated Mermaid Chart ChatGPT plugin link
2024-05-16 14:13:42 +05:30
Sidharth Vinod
bf9485c231
Merge pull request #5513 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-05-16 08:35:44 +00:00
renovate[bot]
a722bdcd37
chore(deps): update all patch dependencies
2024-05-16 07:44:05 +00:00
Sidharth Vinod
8a5fe53706
Merge pull request #5468 from mermaid-js/fix/maps
...
fix: move from objects to Maps
2024-05-16 07:27:23 +00:00
Sidharth Vinod
362e49aa2c
Merge pull request #5517 from GRASBOCK/patch-1
...
Update flowchart.md
2024-05-16 10:44:32 +05:30
Richard Körner
6d2939c9b9
run the pnpm --filter mermaid run docs:build command
2024-05-16 10:43:18 +05:30
GRASBOCK
9a11cb7bb3
Update flowchart.md
...
fix callback by setting the window callback to the respective callback function in the jsfiddle and code sample
2024-05-16 10:43:17 +05:30
Sidharth Vinod
45cd2c005b
chore: Minor fixes when reading code
2024-05-15 21:34:16 +05:30
Sidharth Vinod
2d241808e9
chore: Minor fixes
2024-05-15 21:23:33 +05:30
Sidharth Vinod
9fc17f67c6
Merge branch '5237-unified-layout-common-renderer' of https://github.com/mermaid-js/mermaid into 5237-unified-layout-common-renderer
...
* '5237-unified-layout-common-renderer' of https://github.com/mermaid-js/mermaid :
#5237 Increasing fill weight for rects in rough
2024-05-15 19:02:15 +05:30
Knut Sveidqvist
287e903385
#5237 Increasing fill weight for rects in rough
2024-05-15 15:31:06 +02:00
Sidharth Vinod
b1b27f7a2b
Merge branch '5237-unified-layout-common-renderer' of https://github.com/mermaid-js/mermaid into 5237-unified-layout-common-renderer
...
* '5237-unified-layout-common-renderer' of https://github.com/mermaid-js/mermaid :
#5237 Theme support for stateStart, stateEnd, choice and fork/join
#5237 Improved Edge Handling
#5237 pass css node style like bgColor, borderColor, borderWeight for roughjs
2024-05-15 19:00:58 +05:30
Sidharth Vinod
745ec0daae
chore: Update imports in layout-elk
2024-05-15 19:00:45 +05:30
Sidharth Vinod
64f1d2f005
chore: Move layout-elk to different package
2024-05-15 18:59:53 +05:30
Knut Sveidqvist
55afd8cdb8
#5237 Theme support for stateStart, stateEnd, choice and fork/join
2024-05-15 15:28:39 +02:00
Knut Sveidqvist
42a12a62ac
#5237 Improved Edge Handling
2024-05-15 15:06:16 +02:00
Ashish Jain
e8018ed779
#5237 pass css node style like bgColor, borderColor, borderWeight for roughjs
2024-05-15 11:20:10 +02:00
Yash Singh
00eaebeac8
Merge pull request #5518 from aloisklink/5468/refactor/remove-TypeScript-non-null-assertion-when-possible
2024-05-14 18:36:13 -07:00
Yash Singh
dd92aecdca
chore: address @Yokozuna59's code reviews
2024-05-14 18:33:47 -07:00
Knut Sveidqvist
20f9e503cb
#5237 Fix for arrowheads when usising non linear curves with roughjs
2024-05-14 21:32:16 +02:00
Sidharth Vinod
2df26ca323
Merge branch 'develop' into fix/maps
2024-05-14 22:15:54 +05:30
Knut Sveidqvist
b7cb9673b0
Merge branch 'release/10.9.1'
2024-05-14 13:01:17 +02:00
Knut Sveidqvist
8d815f878c
Lint fix
2024-05-14 13:00:45 +02:00
Knut Sveidqvist
dab26df9c4
Fix for proper handling of block-diagram labels
2024-05-14 12:55:39 +02:00
Knut Sveidqvist
c7fe9a6465
Fix for proper handling of block-diagram labels
2024-05-14 12:53:41 +02:00
Steph
4f26f3ae2e
docs: Add blog post - Documentation Software ( #5519 )
...
Add blog post documentation software
2024-05-14 16:39:16 +09:00
Alois Klink
730fa89e4c
refactor: remove non-null assertion operator
...
Remove the non-null assertion operator when possible from PR
https://github.com/mermaid-js/mermaid/pull/5468
2024-05-14 03:28:59 +09:00
Sidharth Vinod
0326d899c4
Merge pull request #5514 from mermaid-js/sidv/removeUnrefSubschemas
...
chore: remove unrefSubSchemas
2024-05-13 12:12:14 +05:30
Sidharth Vinod
c993adfcdb
chore: remove unrefSubSchemas
2024-05-13 10:14:28 +05:30
Sidharth Vinod
4885b311f8
chore: Build config types before building types
2024-05-13 08:47:23 +05:30
Sidharth Vinod
3274f673ab
chore: Ignore vite.config.ts.timestamp-
2024-05-13 08:46:13 +05:30
Knut Sveidqvist
f5fefc0499
#5237 Style support in rects
2024-05-10 15:51:48 +02:00
Knut Sveidqvist
ab077992f5
#5237 Updating configuration otions and adding handdrawnSeed
2024-05-10 14:56:52 +02:00
Ashish Jain
2f80c3a2c4
#5237 pass useRough to note & group nodes
2024-05-10 14:14:17 +02:00
Knut Sveidqvist
4c0b8f6f40
#5237 Rough rendering of notes
2024-05-10 13:47:45 +02:00
Knut Sveidqvist
ce6f2739b5
#5237 Theme support
2024-05-10 13:21:39 +02:00
Knut Sveidqvist
7ecb772c6c
#5237 Alternating background
2024-05-10 07:43:04 +02:00
Ashish Jain
f480fb7c85
#5237 added state refactor test page
2024-05-08 15:27:36 +02:00
Knut Sveidqvist
94bb43907d
Merge branch '5237-unified-layout-common-renderer' of github.com:mermaid-js/mermaid into 5237-unified-layout-common-renderer
2024-05-08 14:16:47 +02:00
Knut Sveidqvist
32a62bede8
#5237 Edge labels for ELK - mergwe
2024-05-08 14:16:04 +02:00
Ashish Jain
7372d9055a
#5237 added state refactor test page
2024-05-08 14:13:19 +02:00
Knut Sveidqvist
3ff4a6910d
#5237 Edge labels for ELK
2024-05-08 14:13:18 +02:00
Ashish Jain
683695bec2
#5237 add support for note shape
2024-05-08 11:10:05 +02:00
Ashish Jain
fbe13f4e9e
#5237 fix for duplicate nodes for join fork
2024-05-08 09:43:01 +02:00
Sidharth Vinod
4f642428de
Merge pull request #5504 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-05-08 06:19:56 +00:00
renovate[bot]
954f5d7d42
chore(deps): update all patch dependencies
2024-05-08 06:04:26 +00:00
Sidharth Vinod
4a12c46350
Merge pull request #5503 from igorwessel/feat/add-from-to-id-in-edge
...
feat(state): add from, to ids for edge
2024-05-08 05:21:44 +00:00
Sidharth Vinod
9eb64cd6db
Update docs
2024-05-08 10:59:18 +05:30
Sidharth Vinod
7b8e76c26f
Merge pull request #5480 from mermaid-js/update-browserslist
...
Update Browserslist
2024-05-08 10:57:06 +05:30
Sidharth Vinod
665be1ecfe
Merge pull request #5506 from conradagramont/patch-1
...
Added to "others" section on integration with Astro
2024-05-08 10:56:48 +05:30
Sidharth Vinod
edda73c7fc
chore: Update ordering
2024-05-08 10:56:08 +05:30
Sidharth Vinod
6413529a6e
Merge pull request #5490 from Timac/patch-1
...
Update integrations-community: Add MarkChart, a macOS app to preview …
2024-05-08 10:54:14 +05:30
Sidharth Vinod
f5e1df08a0
Merge pull request #5483 from NicolasNewman/5435/inconsistent-math-rendering
...
fix: inconsistent MathML rendering & erroneous <br />s being added
2024-05-08 10:53:52 +05:30
Conrad Agramont
bb2bbfdf92
Added to "others" section on integration with Astro
2024-05-07 13:24:04 -07:00
Sidharth Vinod
7529db8254
Merge branch 'develop' into 5237-unified-layout-common-renderer
...
* develop: (462 commits)
Update packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison
fix: Simplify actor type of activeStart and activeEnd
chore(deps): update all patch dependencies
chore: Fix typo
chore(deps): update all patch dependencies
chore: remove repetitive words
Update stateDiagram.md
Update stateDiagram.md
fix: simply from and to in message to string type
docs: Add quadrant point styling
feat: Change precedence of styling
chore(deps): update all minor dependencies
chore(deps): update all patch dependencies
fix: eslint ignore, type definition
chore(deps): update all patch dependencies
fix: Remove `ImperativeState` type restriction.
📝 🐛 fix schema link
update latest news section
Changes to rendering/gitGraph.spec.js - Added additional rendering test functionality for recognizing 'switch' as an alias to 'checkout'.
1. Changes to gitGraph.jison - Updated the regex to allow either 'checkout' or 'switch' 2. Changes to gitGraphParser.spec.js - Additional test coverage added for the changes made to the parser. 3. Changes to gitGraphParserV2.spec.js - Additional test coverafe added for the changes made to the parser. 4. Changes to gitgraph.md - Updated documentation to let users know that checkout/switch can be used interchangeably.
...
2024-05-07 21:16:15 +05:30
Knut Sveidqvist
b9a73c88b5
#5237 Bugfix for fork/join
2024-05-07 15:47:39 +02:00
Nicolas Newman
22bd26272d
Merge branch 'develop' into 5435/inconsistent-math-rendering
2024-05-06 09:53:11 -05:00
Knut Sveidqvist
d497a5c4ac
#5237 Adjustment for different sematics between dagre and elk positioning
2024-05-06 16:21:25 +02:00
Knut Sveidqvist
323737f3a6
#5237 Setting layout algorithm and handrawn or not via configuration
2024-05-06 14:42:36 +02:00
Knut Sveidqvist
39bffcb3a0
#5237 Support for composit states WIP, rough
2024-05-06 13:19:40 +02:00
Knut Sveidqvist
16cd7bf649
#5237 Support for composit states WIP, rough
2024-05-06 13:09:57 +02:00
Igor Wessel
da150e8767
feat: use standard edge id function for class,flow,state diagram
2024-05-06 08:07:47 -03:00
Igor Wessel
1f64452716
feat(utils): create a standard edge id function
2024-05-06 07:46:42 -03:00
cmmoran
10871af93b
chore: update browsers list
2024-05-06 07:06:55 +00:00
Yash Singh
50c9ede69d
chore: rm autocompleted import
2024-05-04 09:44:08 -07:00
Yash Singh
ca4fa11859
trigger e2e again
2024-05-04 09:42:56 -07:00
Knut Sveidqvist
853948a93d
#5237 Support for composit states WIP
2024-05-04 11:34:57 +02:00
Igor Wessel
9986b023d7
feat(state): add from, to in edge
2024-05-04 06:21:12 -03:00
Yash Singh
58af76384a
fix: classrenderer v2 using in op
2024-05-03 21:19:52 -07:00
Yash Singh
e2ca8e820e
format
2024-05-03 21:12:48 -07:00
Yash Singh
1cbd730b8d
fix: class diagram notes plss
2024-05-03 21:07:09 -07:00
Yash Singh
6f1a553234
fix: git graph diffs
2024-05-03 20:37:45 -07:00
Knut Sveidqvist
b2c286ff1d
#5237 Recusive structuture refactoring for subgraphs
2024-05-03 15:58:39 +02:00
Ashish Jain
024bffd683
#5237 pass useRough to edges
2024-05-03 13:03:34 +02:00
Ashish Jain
5e53d6cfee
#5237 fix for node duplication
2024-05-03 12:50:02 +02:00
Knut Sveidqvist
913b29dbcb
#5237 First elk iteration
2024-05-03 12:02:19 +02:00
Yash Singh
e68ba3f1df
Merge branch 'develop' into fix/maps
2024-05-02 15:34:50 -07:00
Yash Singh
92f1941fb0
fix: some changes
2024-05-02 15:28:59 -07:00
Sidharth Vinod
e68125eb6a
Merge pull request #5471 from ad1992/aakansha/types
...
fix: simply from and to in message to string type
2024-05-01 17:44:15 +00:00
Sidharth Vinod
4f1c3547bf
Merge pull request #5494 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-05-01 17:33:01 +00:00
Sidharth Vinod
e102ac2b58
Update packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison
2024-05-01 23:02:46 +05:30
Justin Greywolf
a536484408
Merge pull request #5495 from mermaid-js/update-mermaid-chart-page
...
DOCS: update Mermaid Chart page
2024-05-01 08:09:07 -07:00
Aakansha Doshi
63dca5bb86
Merge branch 'develop' into aakansha/types
2024-05-01 18:18:45 +05:30
Sidharth Vinod
bc7ecf330b
fix: Simplify actor type of activeStart and activeEnd
2024-05-01 17:34:38 +05:30
Ashish Jain
703c25a6e2
#5237 node text cut off
2024-04-30 16:57:57 +02:00
renovate[bot]
d4e00de1fd
chore(deps): update all patch dependencies
2024-04-30 10:26:27 +00:00
Knut Sveidqvist
0c36248073
#5237 Support for composit states
2024-04-30 10:07:58 +02:00
Knut Sveidqvist
08e4489ede
#5237 Support for composit states
2024-04-30 10:06:52 +02:00
Steph
76801ff564
update content
2024-04-29 14:12:55 -07:00
NicolasNewman
c4ccfec316
Update docs
2024-04-29 14:49:56 +00:00
NicolasNewman
1ac9244e68
style(mathml): linting
2024-04-29 09:46:50 -05:00
Ashish Jain
7e837dfee2
#5237 add support for diagram title
2024-04-29 15:58:54 +02:00
Knut Sveidqvist
21185227ad
Merge
2024-04-29 11:21:51 +02:00
Knut Sveidqvist
b3e29dc11b
#5237 Adding elk support
2024-04-29 11:20:58 +02:00
Ashish Jain
9f6fc5a074
#5237 WIP
2024-04-29 11:19:06 +02:00
Sidharth Vinod
f2d3ac1e7b
Merge pull request #5492 from mermaid-js/add-blog-post
...
DOCS: Add AI in Software Diagramming blog post
2024-04-27 11:12:15 +05:30
Steph
edad740e15
add ai blog post
2024-04-26 13:17:36 -07:00
Sidharth Vinod
8265e53128
Merge pull request #5485 from cbugk/develop
...
Add named composite state example to stateDiagram-v2
2024-04-26 18:08:12 +00:00
Sidharth Vinod
d316b05fa1
Merge pull request #5476 from welfuture/develop
...
chore: remove repetitive words
2024-04-26 17:47:49 +00:00
Sidharth Vinod
3000f0208f
Merge branch 'develop' into develop
2024-04-26 23:16:41 +05:30
Sidharth Vinod
e49c95c220
chore: Fix typo
2024-04-26 23:16:11 +05:30
Sidharth Vinod
47c5abb8a5
Merge pull request #5478 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-04-26 23:13:09 +05:30
renovate[bot]
be9b349e51
chore(deps): update all patch dependencies
2024-04-26 15:51:00 +00:00
Knut Sveidqvist
b22ae106b2
#5237 Adding support for decision
2024-04-26 15:00:19 +02:00
Knut Sveidqvist
7fe4a2ce6c
#5237 More rough shapes
2024-04-26 14:15:07 +02:00
Ashish Jain
8102ba4d52
#5237 added support for node with label/description
2024-04-26 12:46:53 +02:00
Ashish Jain
dd5bfb3b24
#5237 WIP
2024-04-26 12:24:02 +02:00
Alexandre Colucci
18defaae6d
Update integrations-community: Add MarkChart, a macOS app to preview Mermaid diagrams
2024-04-26 08:17:40 +02:00
Knut Sveidqvist
a2702e4058
#5237 Adding support for rounded rect
2024-04-26 07:24:57 +02:00
Knut Sveidqvist
e6e463092c
#5237 Adding roughjs edges
2024-04-25 15:48:33 +02:00
Yash Singh
128c69aa76
fix: use maps for quadrant diagrams
2024-04-24 19:15:21 -07:00
Ashish Jain
3e4193e3d5
#5237 WIP
2024-04-24 15:23:13 +02:00
Knut Sveidqvist
da40dbf1dd
#5237 Adding roughjs
2024-04-24 15:21:28 +02:00
Knut Sveidqvist
01350467bd
Merge branch '5237-unified-layout-common-renderer' of github.com:mermaid-js/mermaid into 5237-unified-layout-common-renderer
2024-04-24 14:51:07 +02:00
Knut Sveidqvist
6b1d568172
#5237 Adding roughjs
2024-04-24 14:40:09 +02:00
Ashish Jain
d220720dde
#5237 WIP
2024-04-24 14:40:05 +02:00
Knut Sveidqvist
b7f864cdb0
#5237 Adding missing await
2024-04-23 15:26:19 +02:00
Knut Sveidqvist
1f8accd6e0
#5237 WIP, refactoring, adding
2024-04-23 14:09:02 +02:00
Knut Sveidqvist
8205e3619a
#5237 WIP, testing common layoutAndRender
2024-04-23 11:04:43 +02:00
NicolasNewman
7f33ae0f40
fix(mathml): fixed flowchart equations being cut off
2024-04-22 17:15:10 -05:00
NicolasNewman
13aa3265e3
docs(mathml): updated docs to include forceLegacyMathML
2024-04-22 17:14:36 -05:00
NicolasNewman
3b0687e557
feat(mathml): added additional config option for forcing legacy rendering
2024-04-22 17:12:12 -05:00
welfuture
273941a9fe
chore: remove repetitive words
...
Signed-off-by: welfuture <wellfuture@qq.com >
2024-04-20 20:46:14 +08:00
Celil Buğra Karacan
718811be9c
Update stateDiagram.md
...
Add explanation for naming a composite state
2024-04-19 16:40:34 +03:00
Celil Buğra Karacan
8d9cb09261
Update stateDiagram.md
...
Add renamed composite as an example of composites with spaced names.
2024-04-19 16:39:03 +03:00
Aakansha Doshi
196d88559c
fix: simply from and to in message to string type
2024-04-18 20:41:44 +05:30
Yash-Singh1
357da0ca28
Update docs
2024-04-17 03:50:39 +00:00
Yash Singh
9b411fa8d4
test: sankey, pie, seq diagram
2024-04-16 20:47:47 -07:00
Yash Singh
087a5748c8
test: seq, state
2024-04-16 17:52:26 -07:00
Yash Singh
6105185d05
test: requirement, sankey
2024-04-16 17:14:49 -07:00
Yash Singh
c993a817d1
test: block, er, gantt, git, pie
2024-04-16 14:46:50 -07:00
Yash Singh
002aa29f19
test: unsafe props to make sure they work with changes
2024-04-16 13:52:25 -07:00
Yash Singh
07de090723
fix: move from objects to Maps
2024-04-16 13:52:25 -07:00
Sidharth Vinod
3809732e48
Merge pull request #5173 from ilyes-ced/feature/add-point-styling-quadrant-to-charts
...
feat: Add point styling for quadrant chart
2024-04-16 09:17:07 +05:30
Sidharth Vinod
eb4a6fd2ed
docs: Add quadrant point styling
...
Co-authored-by: ilyes-ced <109927235+ilyes-ced@users.noreply.github.com >
2024-04-16 08:45:22 +05:30
Sidharth Vinod
3357844a1f
feat: Change precedence of styling
2024-04-16 08:44:21 +05:30
Sidharth Vinod
0d8fe3b626
Merge pull request #5433 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2024-04-15 12:11:26 +05:30
renovate[bot]
5df988d2ac
chore(deps): update all minor dependencies
2024-04-15 05:49:28 +00:00
Sidharth Vinod
e9ef277929
Merge pull request #5463 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-04-15 11:17:24 +05:30
renovate[bot]
2dcdcba227
chore(deps): update all patch dependencies
2024-04-15 02:00:26 +00:00
Sidharth Vinod
5b6c5dff0a
fix: eslint ignore, type definition
2024-04-14 12:11:01 +05:30
Sidharth Vinod
7fa887b644
Merge pull request #5426 from ad1992/aakansha/typesafe
...
fix: make sequenceDB typesafe
2024-04-14 04:09:05 +00:00
Sidharth Vinod
5c6b2cf490
Merge pull request #5446 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-04-14 04:08:48 +00:00
renovate[bot]
e0930b5cbb
chore(deps): update all patch dependencies
2024-04-13 21:31:37 +00:00
Sidharth Vinod
2a3d03254d
Merge branch 'develop' into aakansha/typesafe
2024-04-13 11:53:58 +05:30
Sidharth Vinod
e570863801
Merge pull request #5445 from FutzMonitor/5422issue
...
Adds 'Switch' as an Alias for 'Checkout`
2024-04-13 06:21:44 +00:00
Sidharth Vinod
866d9416b4
fix: Remove ImperativeState
type restriction.
2024-04-13 11:50:19 +05:30
Sidharth Vinod
e048085b5a
Merge branch 'develop' into 5422issue
2024-04-13 11:31:08 +05:30
Sidharth Vinod
9ed2f4b2d3
Merge branch 'master' into develop
...
* master:
📝 🐛 fix schema link
2024-04-12 23:59:27 +05:30
Sidharth Vinod
c2eb2184fc
Merge branch 'master' into develop
...
* master:
update latest news section
add Turing machine blog post
2024-04-12 23:58:52 +05:30
Sidharth Vinod
a2e3b4ca06
Merge pull request #5456 from dudeofawesome/patch-1
...
📝 🐛 fix schema link
2024-04-12 23:57:44 +05:30
Louis Orleans
909ad02a18
📝 🐛 fix schema link
...
The original domain (`mermaid-js.github.io`) only redirects to the new domain (`mermaid.js.org`) from the root `/`. I've updated the link to point to the new domain directly.
2024-04-12 23:56:14 +05:30
Sidharth Vinod
4a930d2b5b
Merge pull request #5455 from mermaid-js/update-latest-news
...
DOCS: update latest news
2024-04-12 09:25:08 +05:30
steph
4a19103891
update latest news section
2024-04-11 10:53:34 -07:00
futzmonitor
bb0c45b090
Changes to rendering/gitGraph.spec.js
...
- Added additional rendering test functionality for recognizing 'switch' as an alias to 'checkout'.
2024-04-08 09:45:44 -04:00
futzmonitor
d0583f9947
1. Changes to gitGraph.jison
...
- Updated the regex to allow either 'checkout' or 'switch'
2. Changes to gitGraphParser.spec.js
- Additional test coverage added for the changes made to the parser.
3. Changes to gitGraphParserV2.spec.js
- Additional test coverafe added for the changes made to the parser.
4. Changes to gitgraph.md
- Updated documentation to let users know that checkout/switch can be used interchangeably.
2024-04-07 20:40:57 -04:00
Aakansha Doshi
12bd301401
revert from and to type to object
2024-04-05 18:22:48 +05:30
Aakansha Doshi
a14637b416
Merge branch 'develop' into aakansha/typesafe
2024-04-05 17:19:12 +05:30
Aakansha Doshi
5d1ac22fd1
add eslint rule consistent-type-definations
2024-04-05 17:17:01 +05:30
Sidharth Vinod
3ccfea84b8
Merge pull request #5430 from jakobskrym/feature/support-fa-kit-custom-icons
...
Feature/support fa kit custom icons
2024-04-03 21:54:11 +05:30
Jakob
38beca11fd
Merge branch 'develop' into feature/support-fa-kit-custom-icons
2024-04-03 09:02:33 +02:00
Jakob
3555577581
Update createText.ts
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2024-04-03 09:02:20 +02:00
Sidharth Vinod
e852596862
Merge pull request #5432 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-04-03 10:54:31 +05:30
renovate[bot]
f15fde26f9
chore(deps): update all patch dependencies
2024-04-03 04:02:11 +00:00
Sidharth Vinod
73c426f8be
Merge pull request #5421 from ad1992/aakansha/lint
...
fix: remove unused import
2024-04-03 01:32:49 +05:30
Aakansha Doshi
8f40c1a77f
revert lock file
2024-04-02 15:10:22 +05:30
Aakansha Doshi
0d00e88580
simplify message type from and to
2024-04-02 11:40:11 +05:30
Aakansha Doshi
8792e0a978
move types to separate file
2024-04-02 10:40:34 +05:30
Aakansha Doshi
e27e56f7bf
use interfaces instead of types
2024-04-02 10:38:04 +05:30
Knut Sveidqvist
6b7e1225dd
#5237 Adding basic flow, WIP
2024-04-01 19:46:06 +02:00
jakobskrym
0051620840
feat: create utils func + test cases
2024-04-01 19:05:35 +02:00
jakobskrym
63f9d3e0b4
docs: finish docs
2024-03-30 12:28:18 +01:00
jakobskrym
90b1111382
docs: update docs with new info
2024-03-30 12:21:01 +01:00
jakobskrym
0aa526d707
feat: add in additional files
2024-03-30 12:08:16 +01:00
jakobskrym
4daef2591d
feat: add support for fa-kit icons
2024-03-30 12:03:55 +01:00
Alois Klink
2d91aa0b06
Merge pull request #5425 from mermaid-js/add-blog-post
...
DOCS: add Turing machine blog post
2024-03-29 17:47:30 +00:00
Aakansha Doshi
2fd6de0af5
more type fixes
2024-03-29 15:27:13 +05:30
Aakansha Doshi
799af4e550
fix test
2024-03-29 15:05:03 +05:30
Aakansha Doshi
b8e0bcee5b
fix type
2024-03-29 14:27:51 +05:30
Aakansha Doshi
3567308a22
fix: make sequenceDB typesafe
2024-03-29 13:31:02 +05:30
Steph
aca0bebaf4
add Turing machine blog post
2024-03-28 12:50:10 -07:00
Aakansha Doshi
4ee4555cbd
fix: remove unused import
2024-03-27 19:18:14 +05:30
ilyes-ced
253adcb0eb
added docs build
2024-03-26 22:54:01 +00:00
ilyes-ced
585609b907
lint fix
2024-03-26 22:50:27 +00:00
ilyes-ced
1d8332d61e
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-26 22:45:03 +00:00
ilyes-ced
3f95c78428
added styling docs
2024-03-26 22:44:37 +00:00
Sidharth Vinod
8e95c4db55
Merge pull request #5414 from mermaid-js/renovate/major-all-major
...
chore(deps): update all major dependencies (major)
2024-03-26 11:49:36 +05:30
renovate[bot]
f476a7566c
chore(deps): update all major dependencies
2024-03-25 13:46:41 +00:00
Sidharth Vinod
4304fba0f5
Merge pull request #5411 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-03-25 19:14:55 +05:30
renovate[bot]
07bd9825a1
chore(deps): update all patch dependencies
2024-03-25 11:50:29 +00:00
Sidharth Vinod
69c7cb9f6f
Update docs
2024-03-25 12:02:28 +05:30
Sidharth Vinod
fd473af5b0
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
...
* 'develop' of https://github.com/mermaid-js/mermaid :
Update entityRelationshipDiagram.md
chore(deps): update dependency type-fest to v4.14.0
2024-03-25 12:01:58 +05:30
Sidharth Vinod
d1f02f6bed
Merge pull request #5412 from mermaid-js/renovate/all-minor
...
chore(deps): update dependency type-fest to v4.14.0
2024-03-25 11:59:59 +05:30
Sidharth Vinod
c5cc9dbffa
Merge pull request #5413 from anlai46/updateEntityRelationshipMD
...
Update entityRelationshipDiagram.md
2024-03-25 11:58:35 +05:30
anlai46
43e183b658
Update entityRelationshipDiagram.md
...
- Added Wikipedia link
- Removed comma "," at the end of a bullet point
- Removed additional period "."
2024-03-24 21:32:57 -04:00
renovate[bot]
153f319666
chore(deps): update dependency type-fest to v4.14.0
2024-03-25 00:34:55 +00:00
ilyes-ced
3b8e6ecc42
small fix (follow)
2024-03-24 18:55:56 +00:00
ilyes-ced
29ec8cbd0a
small fixes
2024-03-24 18:48:57 +00:00
Sidharth Vinod
3072604070
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-23 22:59:54 +05:30
Sidharth Vinod
562d10809c
v11.0.0-alpha.7
2024-03-23 18:53:26 +05:30
Sidharth Vinod
c00bf26c77
Merge pull request #5259 from JingyuMarcelLee/feature/5239_git-graph-bottom-to-top-orientation
...
feat(git-graph): GitGraph Bottom-to-Top Orientation
2024-03-23 18:11:14 +05:30
Sidharth Vinod
a2f54f7da4
Merge branch 'develop' into feature/5239_git-graph-bottom-to-top-orientation
2024-03-23 17:40:29 +05:30
Sidharth Vinod
12bf139708
Merge pull request #5183 from rowanfr/origin/3258_Flowchart_nodeSpacing_Subgraph
...
Flowchart: Apply `nodeSpacing`/`rankSpacing` config to subgraphs
2024-03-23 17:39:25 +05:30
Sidharth Vinod
dbb69ad7cd
Add extra test
2024-03-23 17:37:45 +05:30
Sidharth Vinod
b78f16ef19
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-23 17:09:50 +05:30
Sidharth Vinod
223f339682
Merge pull request #4856 from dreathed/bug/4391_make_markdown_auto_wrapping_optional
...
Bug/4391 make markdown auto wrapping optional
2024-03-23 17:09:23 +05:30
Sidharth Vinod
3f556fa3fc
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-23 17:07:14 +05:30
Sidharth Vinod
16db0c039f
Merge branch 'develop' into pr/dreathed/4856
...
* develop:
Wait for image to be rendered
Fix flowchart-elk render test
chore: Add example page link in index
fix: ELK diagram remove re-parsing
Added linting
fixed title bounds calculation, removed extra title from merging issues
Centered Title function and changed rendering order for Elk flowchart to find Boundingbox
Fixed styling for lines for ELK flowchart
2024-03-23 16:37:44 +05:30
Sidharth Vinod
94874ddbbe
Add visual test
2024-03-23 16:35:47 +05:30
Sidharth Vinod
ea86697973
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
...
* 'develop' of https://github.com/mermaid-js/mermaid :
Fix flowchart-elk render test
chore: Add example page link in index
fix: ELK diagram remove re-parsing
Added linting
fixed title bounds calculation, removed extra title from merging issues
Centered Title function and changed rendering order for Elk flowchart to find Boundingbox
Fixed styling for lines for ELK flowchart
2024-03-23 15:58:30 +05:30
Sidharth Vinod
fa1605e7e7
Wait for image to be rendered
2024-03-23 15:57:29 +05:30
Sidharth Vinod
0edef7b3cb
Merge pull request #4844 from itsalam/bug/4813_Fix_Elk_title_arrow_styling
...
Fixed styling for lines for ELK flowchart
2024-03-23 15:46:21 +05:30
Sidharth Vinod
64757670fc
Update docs
2024-03-23 15:43:32 +05:30
Sidharth Vinod
edac77de74
Merge branch 'develop' into pr/dreathed/4856
...
* develop: (21 commits)
Linting
chore: temp fix for eslint OOM
chore: Update error snapshots
Fix ESLint
chore: Prettier
chore: YOLO `pnpm --recursive update`
chore: Remove commitlint
Fix flowchart-elk render test
chore: Add example page link in index
chore: Remove cy.viewport
fix: Cypress test for Suppress Error
fix: Race condition when running suppressError test.
fix: Retain default behavior when rendering errors cases
chore: Add suppressErrorRendering to secure flags.
fix: Remove blank SVG
docs: Rebuild
Add test
Add test
chore: Add suppressErrorRendering to config
Throw error when detecting diagram type failed and `suppressErrorRendering` is set
...
2024-03-23 15:42:55 +05:30
Sidharth Vinod
63e3b1af52
Linting
2024-03-23 15:35:41 +05:30
Sidharth Vinod
f6fa88e5ff
Merge pull request #5405 from mermaid-js/sidv/cleanup3
...
Update all dependencies
2024-03-23 15:33:10 +05:30
Sidharth Vinod
78587e11c7
Merge pull request #4359 from rhysd/bug/4358_suppress_error_rendering
...
Add `suppressErrorRendering` option to avoid inserting 'Syntax error' message to DOM directly
2024-03-23 15:30:43 +05:30
Sidharth Vinod
784d06f0ae
chore: temp fix for eslint OOM
2024-03-23 15:24:18 +05:30
Sidharth Vinod
6846c8f2ed
chore: Update error snapshots
2024-03-23 15:24:18 +05:30
Sidharth Vinod
cfa4501793
Fix ESLint
2024-03-23 15:24:18 +05:30
Sidharth Vinod
16f1dccd22
chore: Prettier
2024-03-23 15:24:18 +05:30
Sidharth Vinod
3278899787
chore: YOLO pnpm --recursive update
2024-03-23 15:24:17 +05:30
Sidharth Vinod
cdbee64086
chore: Remove commitlint
2024-03-23 15:23:17 +05:30
Sidharth Vinod
90e134cb26
Merge branch 'develop' into pr/itsalam/4844
...
* develop:
Fix flowchart-elk render test
chore: Add example page link in index
2024-03-23 15:17:42 +05:30
Sidharth Vinod
725b618111
Fix flowchart-elk render test
2024-03-23 15:17:12 +05:30
Sidharth Vinod
f135a3a5e7
chore: Add example page link in index
2024-03-23 15:16:51 +05:30
Sidharth Vinod
8f8e4806a9
Fix flowchart-elk render test
2024-03-23 15:12:48 +05:30
Sidharth Vinod
100123b43e
chore: Add example page link in index
2024-03-23 15:07:21 +05:30
Sidharth Vinod
45a5424ebf
fix: Remove space which caused extra newline on diagrams
2024-03-23 14:59:36 +05:30
Sidharth Vinod
be37f2c576
fix: Remove repeated config calls
2024-03-23 14:58:55 +05:30
Sidharth Vinod
26ed819664
fix: ELK diagram remove re-parsing
2024-03-23 14:34:46 +05:30
Sidharth Vinod
f907ac30c6
chore: Minor fixes #4856
2024-03-23 14:15:33 +05:30
Sidharth Vinod
60be7012aa
chore: Increase ESLint memory limit
2024-03-23 14:15:22 +05:30
Sidharth Vinod
002d493035
Merge branch 'develop' into pr/dreathed/4856
...
* develop: (935 commits)
chore: Minor fixes
chore: Build docs
Use develop as base on develop branch.
Update renovate json
update link
update announcement and blog pages
Remove `--force` flag
Tweak editor.bash
update link
chore: update browsers list
Update integrations-community: add Drupal and module.
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
chore: update browsers list
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
Update keywords and description
...
2024-03-23 13:57:07 +05:30
Sidharth Vinod
a41d6cfef1
Merge branch 'develop' into pr/itsalam/4844
...
* develop: (517 commits)
chore: Minor fixes
chore: Build docs
Use develop as base on develop branch.
Update renovate json
update link
update announcement and blog pages
Remove `--force` flag
Tweak editor.bash
update link
chore: update browsers list
Update integrations-community: add Drupal and module.
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
chore: update browsers list
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
Update keywords and description
...
2024-03-23 13:53:51 +05:30
Sidharth Vinod
ecfa149efc
Merge branch 'develop' into pr/rhysd/4359
...
* develop: (453 commits)
chore: Minor fixes
chore: Build docs
Use develop as base on develop branch.
Update renovate json
update link
update announcement and blog pages
Remove `--force` flag
Tweak editor.bash
update link
chore: update browsers list
Update integrations-community: add Drupal and module.
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
chore: update browsers list
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
Update keywords and description
...
2024-03-23 13:46:26 +05:30
Sidharth Vinod
be1270d070
chore: Minor fixes
2024-03-23 13:44:02 +05:30
Sidharth Vinod
75ee4b7709
chore: Build docs
2024-03-23 13:40:07 +05:30
Sidharth Vinod
d5b1028732
Merge pull request #5272 from Ronid1/feature/5245-sequence_diagrame_add_classes_to_actors_text
...
Feature/5245 sequence diagram add classes to actors text
2024-03-23 13:31:54 +05:30
Sidharth Vinod
6c0be03e62
Merge branch 'develop' into feature/5245-sequence_diagrame_add_classes_to_actors_text
2024-03-23 13:31:47 +05:30
Sidharth Vinod
7ddea1270f
Merge pull request #5393 from mermaid-js/update-browserslist
...
Update Browserslist
2024-03-23 13:30:05 +05:30
Sidharth Vinod
97578c2d3d
Merge pull request #5306 from loucadufault/patch-1
...
Update docs to properly showcase participant ordering
2024-03-23 13:29:49 +05:30
Sidharth Vinod
64806ed169
Merge pull request #5389 from swirtSJW/patch-1
...
Update integrations-community: add Drupal and module.
2024-03-23 13:27:43 +05:30
Sidharth Vinod
a14c3bcc89
Merge branch 'develop' into patch-1
2024-03-23 13:27:11 +05:30
Sidharth Vinod
1699a23ff0
Merge branch 'develop' into update-browserslist
2024-03-23 13:26:54 +05:30
Sidharth Vinod
268c3fdbd8
Use develop as base on develop branch.
2024-03-23 13:25:19 +05:30
Sidharth Vinod
7689e03739
Merge pull request #5309 from Ronid1/bug/5133-sequence_diagram_fix_arrow_corner
...
bug/5133 sequence diagram fix arrow corner
2024-03-23 11:46:20 +05:30
Sidharth Vinod
d875540b3a
Merge branch 'master' into develop
...
* master:
update link
update announcement and blog pages
Remove `--force` flag
Tweak editor.bash
update link
2024-03-23 11:43:27 +05:30
Sidharth Vinod
16aa9a310c
Update renovate json
2024-03-23 11:02:34 +05:30
rowanfr
d0a008566e
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-22 19:50:26 -05:00
Sidharth Vinod
d6c1a59bd4
Merge pull request #5358 from Ronid1/feature/4661_gantt_customize_days_of_weekend
...
Feature/4661 gantt customize days of weekend
2024-03-22 10:19:46 +00:00
Sidharth Vinod
07117b4c8a
Merge branch 'develop' into feature/4661_gantt_customize_days_of_weekend
2024-03-22 15:28:50 +05:30
Alois Klink
46d20c9968
Merge pull request #5400 from mermaid-js/add-press-release
...
DOCS: Add Press Release
2024-03-22 00:12:59 +00:00
steph
de1b2c31a1
update link
2024-03-21 12:45:13 -07:00
steph
1f9cbe218f
update announcement and blog pages
2024-03-21 12:37:05 -07:00
JingyuMarcelLee
b914f48a91
Minor spelling correction
2024-03-20 01:25:43 -04:00
JingyuMarcelLee
de89355a49
Recommitted Changed due to polluted branch
2024-03-20 01:20:20 -04:00
Sidharth Vinod
6502036be9
Merge pull request #5394 from mermaid-js/update-announcement-bar-link
...
DOCS: update Announcement bar link
2024-03-19 08:49:25 +05:30
Sidharth Vinod
f86da19362
Remove --force
flag
2024-03-19 08:45:19 +05:30
Sidharth Vinod
b04e150dc1
Tweak editor.bash
2024-03-19 08:38:45 +05:30
Steph
1c0c374c29
update link
2024-03-18 14:32:26 -07:00
Knut Sveidqvist
fcda3dc8c6
#5237 Sample orchestration of new flow in state diagrams-v3
2024-03-18 15:51:27 +01:00
cmmoran
d370dd43b1
chore: update browsers list
2024-03-18 07:06:21 +00:00
Steve Wirt
c90d7b8395
Update integrations-community: add Drupal and module.
2024-03-16 15:17:10 -04:00
rowanfr
4feb2e639b
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-12 14:16:25 -05:00
ilyes-ced
37ba7af6f6
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-11 22:02:34 +00:00
Sidharth Vinod
10fb85663f
Merge branch 'master' into develop
...
* master:
Support Firefox
Address review comments
Change run symbol
feat: Make the examples interactive in the documentation site.
Add langium
add latest blog posts
2024-03-11 19:12:12 +05:30
Sidharth Vinod
33287a63ad
Support Firefox
2024-03-11 19:11:15 +05:30
Sidharth Vinod
3134a87e72
Merge pull request #5368 from mermaid-js/add-blog-posts
...
DOCS: add latest blog posts
2024-03-11 18:57:11 +05:30
Sidharth Vinod
d68b59a390
Merge pull request #5375 from mermaid-js/update-browserslist
...
Update Browserslist
2024-03-11 18:56:37 +05:30
Sidharth Vinod
447263ecc2
Merge pull request #5376 from mermaid-js/sidv/editableExamples
...
feat: Make the examples interactive in the documentation site
2024-03-11 17:59:58 +05:30
Sidharth Vinod
08a7f662ea
Address review comments
...
Support ctrl+enter
Support mermaid-nocode
Use `contenteditable="plaintext-only"`
Co-authored-by: Alois Klink <alois@aloisklink.com >
2024-03-11 17:03:26 +05:30
Sidharth Vinod
007fb5deb9
Merge pull request #5373 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2024-03-11 09:47:55 +00:00
Sidharth Vinod
6422175ef2
Change run symbol
2024-03-11 14:56:37 +05:30
Sidharth Vinod
32ca0b97fc
feat: Make the examples interactive in the documentation site.
...
Ctrl/Cmd + Enter and a run button is added.
The feature was first implemented in https://github.com/mermaid-js/mermaid/pull/5330 .
This is a simplified version without introducing additional dependencies.
Co-authored-by: Anton <m@antonz.org >
2024-03-11 14:56:37 +05:30
Sidharth Vinod
244b161032
Add langium
2024-03-11 14:56:18 +05:30
cmmoran
75a6fb1d91
chore: update browsers list
2024-03-11 07:07:00 +00:00
renovate[bot]
32c2aecc62
chore(deps): update all patch dependencies
2024-03-11 05:40:15 +00:00
Sidharth Vinod
b0ef0de032
Merge pull request #5374 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2024-03-11 05:23:42 +00:00
renovate[bot]
92692653a7
chore(deps): update all minor dependencies
2024-03-11 02:16:01 +00:00
rowanfr
77ba19cd04
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-09 16:09:42 -06:00
ilyes-ced
5b43460ea4
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-09 16:29:15 +00:00
Sidharth Vinod
579f1f9dc1
Update keywords and description
2024-03-09 13:56:51 +05:30
rowanfr
de4ad764ce
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-08 17:22:48 -06:00
ilyes-ced
33444466f3
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-08 18:02:54 +00:00
Sidharth Vinod
73888eafe1
Merge branch 'master' into develop
...
* master:
Update new diagram doc to reflect focus on Langium
docs(integrations): update link to Mermaid app for Slack
@mermaid-js/mermaid-zenuml v0.2.0
Draft release
v10.9.0
Add release version in docs
zenUML 0.2.0-rc.2
v10.9.0-rc.2
Bump @mermaid-js/mermaid-zenuml version to 0.2.0
Bump version
Fix store link
2024-03-08 23:13:29 +05:30
Sidharth Vinod
cd3d560e8d
Merge pull request #5372 from mermaid-js/sidv/updateNewDiagramDoc
...
Update new diagram doc to reflect focus on Langium
2024-03-08 23:12:51 +05:30
Sidharth Vinod
c0497d3413
Update new diagram doc to reflect focus on Langium
...
Mark JISON as deprecated.
2024-03-08 23:11:28 +05:30
Sidharth Vinod
648f779e2c
Merge pull request #5338 from ad1992/aakansha/line-name
...
feat: add name attribute and class "actor-line" to line
2024-03-08 14:28:11 +00:00
ilyes-ced
b1915132d5
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-08 14:18:34 +00:00
Sidharth Vinod
e6d80c60fb
Merge pull request #5370 from JackuB/docs/update-slack-integration
...
docs(integrations): update link to Mermaid app for Slack
2024-03-08 15:06:08 +05:30
Sidharth Vinod
05f59f6ed2
Merge pull request #5351 from kamalkishor1991/patch-1
...
Add LLM integration section in productivity tools and add HueHive
2024-03-08 09:34:54 +00:00
Jakub Mikulas
8f457815e9
docs(integrations): update link to Mermaid app for Slack
...
Signed-off-by: Jakub Mikulas <jakub@mikul.as >
2024-03-08 10:13:52 +01:00
Aakansha Doshi
233944bf24
use actorBorderColor for actorLineColor in theme-neutral
2024-03-08 11:20:44 +05:30
rowanfr
424d988f93
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-07 19:56:26 -06:00
Steph
3926594c6a
add latest blog posts
2024-03-07 13:02:16 -08:00
Kamal Joshi
5f84344c3c
make LLM integrations a new headline
2024-03-07 20:20:58 +05:30
Sidharth Vinod
01082f86b7
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-07 18:30:24 +05:30
Kamal Joshi
9fa681f5a8
build docs
2024-03-07 13:24:52 +05:30
Kamal Kishor Joshi
36b6733c4f
Merge branch 'develop' into patch-1
2024-03-07 13:10:58 +05:30
Sidharth Vinod
2c195c73a9
Merge branch 'develop' into feature/4661_gantt_customize_days_of_weekend
2024-03-07 12:38:19 +05:30
Sidharth Vinod
1dd05ffbb1
Merge branch 'develop' into aakansha/line-name
2024-03-07 10:38:17 +05:30
Sidharth Vinod
4884b01b8a
Merge pull request #5365 from aloisklink/ci/stop-commenting-size-diff-in-PRs
...
ci(e2e): avoid commenting on PRs in CI, fixing PRs from forks
2024-03-07 10:38:05 +05:30
Alois Klink
46136b5632
ci(e2e): avoid commenting on PRs in CI
...
GitHub Actions can't comment on PRs, if the PR is made from a forked
repo, as [the github token won't have write permissions][1].
However, we can instead use GitHub Actions' [Adding a Job Summary][2]
feature, which prints some custom output for each job.
[1]: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#changing-the-permissions-in-a-forked-repository
[2]: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary
Fix: e0448a7b7b
2024-03-06 18:51:17 +00:00
rowanfr
ae29dd124c
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-06 12:06:06 -06:00
Ronid1
703460ea95
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into feature/4661_gantt_customize_days_of_weekend
2024-03-06 09:09:42 -08:00
Ronid1
b7c889bb70
fix review commets
2024-03-06 09:08:19 -08:00
Aakansha Doshi
12bbbcaff0
Empty-Commit
2024-03-06 19:20:56 +05:30
Aakansha Doshi
b156c1ab25
assign actorLineColor
2024-03-06 19:15:41 +05:30
ilyes-ced
358d855c88
fixed typo
2024-03-06 13:29:15 +00:00
ilyes-ced
1059dd389f
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-06 13:13:19 +00:00
Aakansha Doshi
f1bcf89723
Merge branch 'develop' into aakansha/line-name
2024-03-06 17:26:21 +05:30
Aakansha Doshi
099a239207
revert styling changes
2024-03-06 17:20:15 +05:30
Sidharth Vinod
821076ba9c
Merge pull request #5235 from mermaid-js/sizeDiff
...
Calculate package size diff on PRs
2024-03-06 14:56:01 +05:30
Sidharth Vinod
60dd27671b
Merge branch 'develop' into sizeDiff
...
* develop: (280 commits)
chore: Remove unused imports in block
Fix spelling
Update docs
Lychee ignore chrome webstore
Update link
chore(deps): update all patch dependencies
build(docs): vendor CSS dependencies
chore(deps): update all minor dependencies
Ran lint:fix
Fix chrome webstore url causing 404
build(deps): update `langium` to `v3` and apply the required changes
Resolves E2E testing issues and issue #5343
Fix spelling
Fix community integrations
Fix docs
docs: Fix config
Update all minor dependencies
Amend docs to document gitgraph parallel commits
Fix lint
Use Yarn Add COREPACK_ENABLE_STRICT
...
2024-03-06 14:55:18 +05:30
Sidharth Vinod
0b0d901b7f
Merge pull request #5069 from mermaid-js/next
...
v11
2024-03-06 14:53:13 +05:30
Sidharth Vinod
7fec51f322
chore: Remove unused imports in block
2024-03-06 14:18:27 +05:30
Sidharth Vinod
1659ace65d
Fix spelling
2024-03-06 14:16:32 +05:30
Sidharth Vinod
3340608689
Merge branch 'develop' into next
...
* develop:
Update docs
chore(deps): update all patch dependencies
2024-03-06 14:05:16 +05:30
rowanfr
5ccdb6f213
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-03-05 16:38:24 -06:00
Ronid1
0981b66a5f
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into Feature/4661_gantt_customize_days_of_weekend
2024-03-05 12:01:02 -08:00
Ronid1
3ddcc2d4ea
fix lint inssue
2024-03-05 12:00:14 -08:00
Ronid1
6005479918
update docs
2024-03-05 11:53:50 -08:00
Ronid1
19e049642b
add unit and integration tests
2024-03-05 11:18:49 -08:00
ilyes-ced
b8e6672e60
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-03-05 18:36:12 +00:00
Sidharth Vinod
dbeb0a4720
@mermaid-js/mermaid-zenuml v0.2.0
2024-03-05 22:56:09 +05:30
Sidharth Vinod
a43cd55c53
Merge branch 'develop' into next
...
* develop:
Lychee ignore chrome webstore
Update link
build(docs): vendor CSS dependencies
chore(deps): update all minor dependencies
Ran lint:fix
Fix chrome webstore url causing 404
2024-03-05 21:07:26 +05:30
Ronid1
b67dee1eed
configure weekends start day
2024-03-04 11:53:47 -08:00
Kamal Joshi
be6b3176f4
fix linting issues
2024-03-03 08:51:55 +05:30
Kamal Kishor Joshi
aef29affa3
Add LLM integration section in productivity tools and add HueHive
...
Since mermaid diagram creation is a perfact usecase for LLMs adding a section for LLM integration make sense. HueHive is a tool to create and visualize mermaid diagrams with the help of ChatGPT.
Please let me know if it is fine to add this or this should be added in some other section. Thanks.
PS: I am creater of HueHive diagrams tool.
2024-03-02 23:19:11 +05:30
Sidharth Vinod
70d236244f
Merge pull request #5345 from Yokozuna59/update-langium-to-v3
...
build(deps): update `langium` to `v3` and apply the required changes
2024-03-01 14:44:20 +05:30
Sidharth Vinod
171a2019ec
Merge branch 'next' into pr/Yokozuna59/5345
...
* next: (100 commits)
Resolves E2E testing issues and issue #5343
Fix spelling
Fix community integrations
Fix docs
docs: Fix config
Update all minor dependencies
Amend docs to document gitgraph parallel commits
Fix lint
Use Yarn Add COREPACK_ENABLE_STRICT
Added link to Blazorade Mermaid to the community integrations page.
Bump node version
Add lcov to cspell
Correcting path to docker-entrypoint.sh
Update recommended Vitest extension
Replace mermaid-js.github.io links
Replace links to docs with links to webhelp
Link to contributing page on webhelp
Changes to timeline.md 1. Added colons to all 'NOTES' for consistency.
Changes to timeline.md 1. Updates the Wikipedia citation to include a link. 2. Removed periods from documentation sections to be consistent (some had periods, some didn't) 3. Added a space to a coding example for spacing consistency.
Replace version number placeholder
...
2024-03-01 12:22:14 +05:30
Sidharth Vinod
70df6bbbca
Merge branch 'develop' into next
...
* develop:
Resolves E2E testing issues and issue #5343
2024-03-01 12:20:45 +05:30
Sidharth Vinod
5807d521b7
Merge branch 'develop' into next
...
* develop: (99 commits)
Fix spelling
Fix community integrations
Fix docs
docs: Fix config
Update all minor dependencies
Amend docs to document gitgraph parallel commits
Fix lint
Use Yarn Add COREPACK_ENABLE_STRICT
Added link to Blazorade Mermaid to the community integrations page.
Bump node version
Add lcov to cspell
Correcting path to docker-entrypoint.sh
Update recommended Vitest extension
Replace mermaid-js.github.io links
Replace links to docs with links to webhelp
Link to contributing page on webhelp
Changes to timeline.md 1. Added colons to all 'NOTES' for consistency.
Changes to timeline.md 1. Updates the Wikipedia citation to include a link. 2. Removed periods from documentation sections to be consistent (some had periods, some didn't) 3. Added a space to a coding example for spacing consistency.
Replace version number placeholder
Fix link to Contributors section in README
...
2024-03-01 12:18:25 +05:30
ilyes-ced
67e482ff97
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-02-29 21:53:59 +00:00
Reda Al Sulais
2b2bbe35d0
build(deps): update langium
to v3
and apply the required changes
2024-02-29 20:38:15 +03:00
Alois Klink
8862d63377
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-02-29 16:27:13 +00:00
ilyes-ced
fc7427536c
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-02-29 13:08:58 +00:00
rowanfr
0cb365cf31
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-02-29 05:45:16 -06:00
Aakansha Doshi
49a0d0d9bf
Merge branch 'develop' into aakansha/line-name
2024-02-29 12:11:45 +05:30
rowanfr
3602191f69
Added E2E testing for spacing
...
This adds E2E testing for spacing and provides more appropriate comments for the changes made to `index.js`
2024-02-28 17:12:20 -06:00
rowanfr
5935e277e6
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-02-28 14:01:43 -06:00
rowanfr
0ce33cb160
Update packages/mermaid/src/dagre-wrapper/index.js
...
The code setting the `ranksep` and `nodesep` to subgraphs was made cleaner and more legible while maintaining the intended functionality of subgraph spacing
Co-authored-by: Alois Klink <alois@aloisklink.com >
2024-02-28 13:55:21 -06:00
Ronid1
d945030803
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into bug/5133-sequence_diagram_fix_arrow_corner
2024-02-27 11:31:58 -08:00
Aakansha Doshi
60a484f1e4
feat: add name attribute to line
2024-02-27 18:20:03 +05:30
Ronid1
c8fc989237
update arrowhead coordinates
2024-02-22 15:08:58 -08:00
loucadufault
392ebd0af4
Update docs to properly showcase participant ordering
2024-02-21 18:45:26 -05:00
ilyes-ced
cabcf1e270
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-02-20 01:15:41 +00:00
ilyes-ced
af7364bdf9
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-02-14 18:21:51 +00:00
ilyes-ced
14e1e6368a
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-02-12 14:15:50 +00:00
ilyes-ced
f1aa6fff9c
some fixes
2024-02-11 18:56:33 +00:00
Sidharth Vinod
d11bfaa6c4
Merge pull request #4751 from Yokozuna59/add-pie-langium-parser
...
feat: add `pie` langium parser
2024-02-11 21:54:36 +05:30
Sidharth Vinod
25cd86feec
Fix docs
2024-02-11 20:26:43 +05:30
Sidharth Vinod
062176d8d0
Merge branch 'next' into pr/Yokozuna59/4751
...
* next:
Fix BlockDiagramConfig
Fix docs
2024-02-11 20:26:16 +05:30
Sidharth Vinod
a344d88020
Fix BlockDiagramConfig
2024-02-11 20:25:33 +05:30
Sidharth Vinod
30b180d77b
Fix docs
2024-02-11 20:22:35 +05:30
Sidharth Vinod
00423ed152
Fix config
2024-02-11 20:05:08 +05:30
Sidharth Vinod
48ff3b2c11
Merge branch 'next' into pr/Yokozuna59/4751
...
* next: (118 commits)
Update Deps
chore(deps): update all patch dependencies
fix typo cutomers => customers
chore(deps): update all minor dependencies
Fix macOS onboarding issues
Bump @zenuml/core and update render options in mermaid-zenuml (#5257 )
Fixed Typo in ErrorRenderer.ts (#5256 )
#3358 Removing redundant file
#3358 Fix after review
Fix selector
#3358 Renaming of IOperation to ActionFun
chore: Add interface naming
build(deps-dev): bump vite from 4.4.12 to 4.5.2
Update container
Update container
Remove pnpm cache
3358 Adding types for blockArrowHelper
#3358n Updated lockfile
Update docs
#3358 Another set of review changes
...
2024-02-11 20:00:27 +05:30
Sidharth Vinod
eee0d4bf31
Update Deps
2024-02-11 19:58:55 +05:30
Sidharth Vinod
e047755a21
Merge branch 'develop' into next
...
* develop: (124 commits)
chore(deps): update all patch dependencies
fix typo cutomers => customers
chore(deps): update all minor dependencies
Fix macOS onboarding issues
Bump @zenuml/core and update render options in mermaid-zenuml (#5257 )
Fixed Typo in ErrorRenderer.ts (#5256 )
#3358 Removing redundant file
#3358 Fix after review
Fix selector
#3358 Renaming of IOperation to ActionFun
chore: Add interface naming
build(deps-dev): bump vite from 4.4.12 to 4.5.2
Update container
Update container
Remove pnpm cache
3358 Adding types for blockArrowHelper
#3358n Updated lockfile
Update docs
#3358 Another set of review changes
Use `.node-version` file in workflows
...
2024-02-11 19:56:55 +05:30
Sidharth Vinod
b30d609d19
Merge branch 'add-pie-langium-parser' of github.com:Yokozuna59/mermaid into pr/Yokozuna59/4751
...
* 'add-pie-langium-parser' of github.com:Yokozuna59/mermaid: (48 commits)
make pie parser async
Changes to gantt.html 1. Added a Gantt diagram that demonstrates to users that hashtages and semicolons can be added to titles, sections, and task data. Changes to gantt.spec.js 1. Added unit tests to ensure that semicolons and hashtags didn't break the functionality of the gantt diagram when used in titles, sections or task data. Changes to /parser/gantt.spec.js 1. Added rendering tests to ensure that semicolons and hashtags in titles, sections, and task data didn't break the rendering of Gantt diagrams.
perf: prevent adding multiple DOMPurify hooks
Update docs
chore: Update tests
Fix types
refactor: Make parser.parse async
refactor: Support async parsers Add `Diagram.fromText`
Lint
Remove echo
RefTest
Echo event
Update cypress
Fix applitools
Fix applitools
add sequenceDiagram link e2e test
fix sequence diagram popup
Changes to gantt.jison 1. Consistent spacing on line 30
Changes to gantt.jison 1. Removed typo
Changes to gnatt.jison 1. Removed the hash and semicolon symbols from the title regex to allow for their use. 2. Removed the hash and semicolon symbols from the section regex to allow for their use. 3. Removed the hash and semicolon symbols for the taskTxt regex to allow for their use. I did not remove the colon because the parser fails to recognize when the actual taskData begins if that distinctions isn't kept. 4. Removed the regex \#[^\n]* which skipped comments to fix some bugs with hash symbols in the taskTxt. I tested this changed by putting it back and using the comment to see if it was recognized as a comment, but I would receive a syntax error and the diagram would not be rendered. So, I think we can safely remove that line, BUT it would be best practice if someone else tested this change to ensure that this will not break anyone's Gantt diagrams.
...
2024-02-11 19:36:26 +05:30
ilyes-ced
8ad056b8a2
1 tiny typo
2024-02-07 01:20:04 +00:00
ilyes-ced
c1cb171071
added styles values validation + unit tests
2024-02-07 00:57:05 +00:00
ilyes-ced
17959f648a
various fixes + add unit tests for parsed styles
2024-02-07 00:21:33 +00:00
Ronid1
c3d9aa791a
update docs
2024-02-06 15:17:15 -08:00
Ronid1
f846e7719e
add tests
2024-02-06 15:12:13 -08:00
Ronid1
f25c215f6a
add actor-man and actor-box classes to text tag
2024-02-06 14:34:09 -08:00
ilyes-ced
2640120be8
fixed parsing for classes and styles are in jison
2024-02-06 22:18:17 +00:00
ilyes-ced
b55014617e
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-02-06 21:06:23 +00:00
ilyes-ced
42589a0034
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-02-05 15:42:44 +00:00
rowanfr
82c405289d
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-27 18:41:01 -06:00
Reda Al Sulais
191ea24e29
make pie parser async
2024-01-27 21:17:23 +03:00
Reda Al Sulais
72a6fad1db
Merge branch next into add-pie-langium-parser
2024-01-27 20:55:15 +03:00
Reda Al Sulais
a2a99485f9
Merge branch 'mermaid-js:develop' into add-pie-langium-parser
2024-01-27 20:35:26 +03:00
Sidharth Vinod
969e2c1ff1
Merge pull request #5233 from mermaid-js/AsyncParse
...
refactor: Support async parsers [internal]
2024-01-27 20:43:22 +05:30
Sidharth Vinod
7d0faa3fed
Merge branch 'develop' into bug/4358_suppress_error_rendering
2024-01-26 23:29:27 +05:30
Sidharth Vinod
4256177531
chore: Remove cy.viewport
2024-01-26 23:07:13 +05:30
Sidharth Vinod
327530fb9d
Merge branch 'develop' into pr/rhysd/4359
...
* develop: (171 commits)
Lint
Remove echo
RefTest
Echo event
Update cypress
Fix applitools
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Cleanup e2e.yml
Ignore push events on merge queue
Remove ::
Remove ::
Remove ::
...
2024-01-26 23:05:16 +05:30
Reda Al Sulais
55be75c974
Merge branch next into add-pie-langium-parser
2024-01-25 14:56:34 +03:00
Yokozuna59
47a6ce4342
Update docs
2024-01-25 14:32:23 +03:00
Sidharth Vinod
3ecb841c1a
Remove dummy change from e2e.yml
2024-01-24 22:17:10 +05:30
Sidharth Vinod
1d2450245e
Remove dummy change
2024-01-24 22:16:21 +05:30
Sidharth Vinod
f6c4c9260f
Remove log
2024-01-24 22:13:17 +05:30
Sidharth Vinod
f354d68350
Format message
2024-01-24 22:12:33 +05:30
Sidharth Vinod
bea76aa682
Format Size
2024-01-24 21:59:58 +05:30
Sidharth Vinod
6d4b27aacb
Fix out format
2024-01-24 21:51:15 +05:30
Sidharth Vinod
e008b7dae7
Remove logs
2024-01-24 21:45:30 +05:30
Sidharth Vinod
96a3991c56
Update glob
2024-01-24 21:42:31 +05:30
Sidharth Vinod
8d1d691bc3
debug
2024-01-24 21:38:59 +05:30
Sidharth Vinod
e07608209b
debug
2024-01-24 21:28:49 +05:30
Sidharth Vinod
50cdb74d54
Fix file path
2024-01-24 21:25:05 +05:30
Sidharth Vinod
edc091f4d4
Test
2024-01-24 21:16:10 +05:30
Sidharth Vinod
e0448a7b7b
Feat: Calculate package size change on PRs
2024-01-24 21:12:16 +05:30
Sidharth Vinod
0f02f5ff34
Skip running tests
2024-01-24 21:04:57 +05:30
Sidharth Vinod
b2111adef5
Feat: Calculate package size change on PRs
2024-01-24 21:02:12 +05:30
Sidharth Vinod
442da6c4a2
chore: Update tests
2024-01-24 14:03:43 +05:30
Sidharth Vinod
f715863540
Fix types
2024-01-24 13:59:16 +05:30
Sidharth Vinod
ed7dbb100d
refactor: Make parser.parse async
2024-01-24 13:50:45 +05:30
Sidharth Vinod
52fdea0419
refactor: Support async parsers
...
Add `Diagram.fromText`
2024-01-24 13:41:51 +05:30
Sidharth Vinod
b7c72cb38a
Merge pull request #4839 from mermaid-js/feat/948_packetDiagram
...
feat: Add packet diagram
2024-01-24 01:05:07 +05:30
Sidharth Vinod
5cc20b5e44
Merge branch 'next' into feat/948_packetDiagram
...
* next: (316 commits)
Lint
Remove echo
RefTest
Echo event
Update cypress
Fix applitools
Fix applitools
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Cleanup e2e.yml
Ignore push events on merge queue
Remove ::
Remove ::
...
2024-01-24 00:58:55 +05:30
Sidharth Vinod
ce9a9db33a
Merge branch 'develop' into next
...
* develop:
Lint
Remove echo
RefTest
Echo event
Update cypress
Fix applitools
2024-01-24 00:47:31 +05:30
Sidharth Vinod
31e19a0434
Fix applitools
2024-01-23 20:28:11 +05:30
Sidharth Vinod
16968eb38c
Fix lint
2024-01-23 20:12:54 +05:30
Sidharth Vinod
5c46b98eee
Merge branch 'next' into pr/Yokozuna59/4751
...
* next: (35 commits)
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Delete docs/syntax/gantt.html
Add more detailed docs for Gantt tasks
Update docs
Update packages/mermaid/src/docs/syntax/flowchart.md
Update flowchart.md #5195
Add tests for gitgraphs with unconnected branches
Include logic for gitgraph with unconnected branches
Include undefined on findClosestParent return types and update the function
Remove unnecessary argument on findClosestParent call
Use already defined const instead of method call
Fix pnpm-lock by resetting it, sorry!
...
2024-01-23 20:02:01 +05:30
Sidharth Vinod
ba46747cb0
Merge branch 'develop' into next
...
* develop: (35 commits)
docs: fix lint
docs: move community to Discord
Swap condition blocks to avoid using negation
Reposition const declaration to ideal place
Change repetitive values into consts
docs: fix swimm link
Fix Update Browserslist
Use pnpm/action-setup@v2
Fix lint
Delete docs/syntax/gantt.html
Add more detailed docs for Gantt tasks
Update docs
Update packages/mermaid/src/docs/syntax/flowchart.md
Update flowchart.md #5195
Add tests for gitgraphs with unconnected branches
Include logic for gitgraph with unconnected branches
Include undefined on findClosestParent return types and update the function
Remove unnecessary argument on findClosestParent call
Use already defined const instead of method call
Fix pnpm-lock by resetting it, sorry!
...
2024-01-23 20:01:40 +05:30
rowanfr
140645b760
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-22 23:58:19 -06:00
Yokozuna59
0dcca35ec2
Update docs
2024-01-20 11:14:58 +00:00
Reda Al Sulais
c7eaee037e
Merge branch next into add-sankey-langium-parser
2024-01-20 14:10:30 +03:00
rowanfr
fa201ad9ad
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-19 18:52:16 -06:00
Sidharth Vinod
832e3f5d49
Merge branch 'develop' into next
2024-01-19 23:24:37 +05:30
Sidharth Vinod
6a1a38b395
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-19 22:18:14 +05:30
Sidharth Vinod
6261fce91f
Merge pull request #5077 from mermaid-js/sidv/FlowDB_TS
...
refactor: Convert flowDB to TS
2024-01-19 14:15:23 +05:30
Sidharth Vinod
e8f655439d
Fix merge error
2024-01-19 13:59:53 +05:30
Sidharth Vinod
c11093fa71
Update packages/mermaid/src/diagrams/flowchart/flowDb.ts
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2024-01-19 13:49:10 +05:30
Sidharth Vinod
af7282511a
Merge branch 'next' into sidv/FlowDB_TS
...
* next: (194 commits)
Use pixelmatch for image comparison
Run all tests
Fix lint
Update lockfile
E2E test
Use cache to store snapshots
chore(deps): update all patch dependencies
Change string concatenation to template literal
Revert "Revert 5041 feature/4935 subgraph title margin config option"
build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.5
Draft release on master
docs: Add release version
Revert "fix: render the participants in same order as they are created"
Revert "Feature/4935 subgraph title margin config option"
Fix typo
Run dev docs without npx
Remove npx completely from run script
Update docs
Fix linters
Removed volta requirement, leave pnpm only
...
2024-01-19 13:48:03 +05:30
Sidharth Vinod
58b6cf0174
Merge branch 'develop' into next
...
* develop: (50 commits)
Use pixelmatch for image comparison
Run all tests
Fix lint
Update lockfile
E2E test
Use cache to store snapshots
chore(deps): update all patch dependencies
Change string concatenation to template literal
Revert "Revert 5041 feature/4935 subgraph title margin config option"
build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.5
Run dev docs without npx
Remove npx completely from run script
Update docs
Fix linters
Removed volta requirement, leave pnpm only
Fixed dead link
build
Update docs
Updated contributing docs after review, minor fixes
Updated gantt chart docs to show all config options
...
2024-01-19 13:46:10 +05:30
Sidharth Vinod
7abcb61afb
Merge branch 'develop' into bug/4813_Fix_Elk_title_arrow_styling
2024-01-19 12:44:50 +05:30
rowanfr
ff5240c0bc
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-18 22:37:43 -06:00
ilyes-ced
4e3d935acf
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-01-18 11:23:13 +00:00
rowanfr
3fad11e104
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-17 22:40:19 -06:00
Sidharth Vinod
aab7631a9f
Merge branch 'develop' into next
...
* develop: (62 commits)
Draft release on master
docs: Add release version
Revert "fix: render the participants in same order as they are created"
Revert "Feature/4935 subgraph title margin config option"
Fix typo
add inadvertent tracking removal
update announcement bar
Update integrations-community.md (Add Codemia to the list of productivity tools using Mermaid.)
v10.7.0
10.6.2-rc.3
docs: Remove broken integration
chore: Minor cleanup of imperativeState
chore(deps): update all minor dependencies
adds corresponding change in docs/ecosystem
Adds Unison programming language to community integrations list
update verbiage
update verbiage
add jetbrains blog post
additional updates
Fixed parser/tests
...
2024-01-16 19:15:33 +05:30
ilyes-ced
38ee1724a8
Merge branch 'develop' into feature/add-point-styling-quadrant-to-charts
2024-01-16 10:06:08 +00:00
rowanfr
0c7e2e2364
Fixed linting error
2024-01-15 20:48:29 -06:00
rowanfr
f693084065
Fixed configuration override on subgraphs
...
There was an issue with overriding the subgraphs with the main graphs direction which this commit fixes. It only overrides `rankdir` on the `setGraph` function so that the subgraph preserves it's `rankdir`. There is likely a better way of doing this by modifying the initialization of subgraph configuration to match the main graph when it comes to other elements in the JSON object which composes the graph label.
As we modify the codebase this added line can be deprecated once we add more modular control to subgraphs such as allowing custom spacing or configurations for them. As `rankdir` is the only thing one can set with the `direction` keyword that is the only variable being overwritten for now.
2024-01-15 20:21:01 -06:00
rowanfr
a5ecc7a06d
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-15 16:40:08 -06:00
rowanfr
565f1543c6
Update demos/flowchart.html
...
Co-authored-by: Nikolay Rozhkov <nironame@gmail.com >
2024-01-14 17:12:12 -06:00
ilyes-ced
0d8016d926
cypress tests
2024-01-13 12:30:41 +00:00
ilyes-ced
a599e33ec2
add: class names and class definitions|todo: tests
2024-01-12 20:41:25 +00:00
rowanfr
36c84b3fec
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-11 18:31:53 -06:00
ilyes-ced
9cca389031
fix:styles can be in random order and are optional
2024-01-11 23:27:48 +00:00
ilyes-ced
e965507470
Merge branch 'mermaid-js:develop' into feature/add-point-styling-quadrant-to-charts
2024-01-11 22:42:19 +00:00
rowanfr
65fd3a3193
Merge branch 'develop' into origin/3258_Flowchart_nodeSpacing_Subgraph
2024-01-10 19:06:55 -06:00
rowanfr
3bbd8fe4c9
Removed unnecessary function
...
Removed unnecessary function to pass test coverage CI
2024-01-07 23:08:42 -06:00
rowanfr
beb308c5b3
Resolved issue with subgraph configuration
...
This commit resolves the issues with subgraph configuration, specifically for nodeSpacing and rankSpacing. This commit additionally adds an example graph to the `flowchart.html` to demonstrate this resolution. This commit resolves #3258
2024-01-07 05:56:53 -06:00
Reda Al Sulais
526d2a61f8
Merge branch 'mermaid-js:develop' into add-pie-langium-parser
2024-01-02 23:05:40 +03:00
ilyes-ced
8ab00442ea
add: tests
2024-01-02 01:53:03 +00:00
ilyes-ced
cba803abaf
add: point styling for quadrant chart (incomplete)
2024-01-01 23:26:14 +00:00
Reda Al Sulais
54a09ead95
pref: remove rearrangeRules
from AbstractMermaidTokenBuilder
2023-12-31 15:31:15 +03:00
Reda Al Sulais
c2ea23f01f
Merge branch next into add-pie-langium-parser
2023-12-31 15:21:47 +03:00
Sidharth Vinod
ff6188bd80
Merge pull request #5118 from mermaid-js/sidv/diagramType
...
feat: Add diagramType to RenderResult and ParseResult
2023-12-10 22:05:40 +05:30
Sidharth Vinod
dc1b2a6873
Merge pull request #5126 from diegosogari/chore/5125-fix-duplicate-config-types
...
Remove default properties before generating the config types
2023-12-10 22:05:12 +05:30
Diego Sogari
d732a146c2
Merge branch 'next' into chore/5125-fix-duplicate-config-types
2023-12-08 09:35:43 -03:00
Sidharth Vinod
b9bc518a0a
chore: Add docs
2023-12-08 10:06:36 +05:30
Sidharth Vinod
edf32911be
Merge branch 'sidv/diagramType' of https://github.com/mermaid-js/mermaid into sidv/diagramType
...
* 'sidv/diagramType' of https://github.com/mermaid-js/mermaid :
Update docs
Update packages/mermaid/src/docs/config/usage.md
2023-12-08 09:57:33 +05:30
Sidharth Vinod
b8470a471b
chore: Add docs
2023-12-08 09:57:08 +05:30
sidharthv96
45880395ea
Update docs
2023-12-08 04:18:24 +00:00
Sidharth Vinod
6f3c9205cd
Update packages/mermaid/src/docs/config/usage.md
...
Co-authored-by: Alois Klink <alois@mermaidchart.com >
2023-12-08 09:45:49 +05:30
Sidharth Vinod
96c90b24d1
Merge branch 'next' into sidv/diagramType
...
* next:
chore: Fix import.meta.vitest warnings
Update docs
Update NiceGuy.io links in integrations-community.md
2023-12-08 09:39:14 +05:30
Sidharth Vinod
aa4bfa0727
chore: Fix import.meta.vitest warnings
2023-12-08 09:38:54 +05:30
Sidharth Vinod
8873ffca12
chore: Overload parse type to be more specific.
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-12-08 09:37:46 +05:30
Diego Sogari
0bda748ad9
Remove default properties before generating the config types
2023-12-07 17:30:56 -03:00
Sidharth Vinod
867686fe34
refactor: Address review comments
2023-12-07 11:27:48 +05:30
Sidharth Vinod
60f92dcdbc
Merge branch 'develop' into next
...
* develop:
Update docs
Update NiceGuy.io links in integrations-community.md
2023-12-07 11:02:27 +05:30
Sidharth Vinod
6871ad09e6
test: Update tests
2023-12-06 22:27:00 +05:30
Sidharth Vinod
479188bc40
refactor: Change return type to retain partial backwards compatibility.
2023-12-06 22:23:37 +05:30
Sidharth Vinod
c3c7ccd78a
feat: Add diagramType to RenderResult and ParseResult #5117
2023-12-06 21:11:07 +05:30
Sidharth Vinod
000b432bb2
Merge branch 'develop' into next
...
* develop: (70 commits)
build(deps-dev): bump vite from 4.4.9 to 4.4.12
Changes to .prettierignore 1. Added 'demos/dev/**' to be ignored by Prettier. 2. Added '!/demos/dev/example.html' so that Prettier ensures no one changes the example.html in a way that doesn't obey the Prettier code formatting rules.
build: use `tsx` instead of `ts-node-esm`
chore: Downgrade node to 18.18.2
fix : #5100 Add viewbox to sankey
chore(deps): update all minor dependencies
chore: Rename test
test: Add unit test for generic classname and namespace
fix: Check if parentCommit is provided
Split type from generic class name
Condition of Parent Id Without Merge Commit Added
Referenced the PmWiki's Cookbook recipe enabling MermaidJs schematics in wiki pages
test(e2e): fix pie chart E2E tests for PR #4288
Add dummy commit to trigger GH checks
chore: Revert unnecessary export
refactor: Remove unnecessary calculations
chore: Fix computeWidth function
chore: Cleanup setupGraphViewbox
Update docs
update mermaidAPI to cleanup the text before passing to getDiagramFromText
...
2023-12-06 20:50:04 +05:30
Alois Klink
dacd2cbc30
Merge remote-tracking branch 'origin/develop' into bug/4358_suppress_error_rendering
...
I ran `pnpm run --filter mermaid docs:build` to fix merge conflicts in
docs/config/setup/modules/mermaidAPI.md
2023-12-06 09:12:00 +00:00
Sidharth Vinod
65a08efa00
chore: Cleanup types
2023-11-28 00:31:05 +05:30
Sidharth Vinod
60266289e0
chore: Remove unused file
2023-11-28 00:17:16 +05:30
Sidharth Vinod
3145758411
Convert flowDb.spec.js
2023-11-28 00:15:22 +05:30
Sidharth Vinod
d7948a845d
fix: Flatten Nodelist
2023-11-28 00:12:22 +05:30
Sidharth Vinod
aff69e583e
chore: Fix bindFunctions type
2023-11-27 23:10:36 +05:30
Sidharth Vinod
e7f7b6ad68
chore: Separate types
2023-11-27 14:44:03 +05:30
Sidharth Vinod
b5e58f4076
refactor: Convert flowDB to TS
2023-11-27 10:57:04 +05:30
Sidharth Vinod
fd0f51926e
Move mermaid-parser to @mermaid-js/parser
2023-11-26 21:17:08 +05:30
Sidharth Vinod
733d6fe6eb
Move mermaid-parser to @mermaid-js/parser
2023-11-26 21:10:00 +05:30
Sidharth Vinod
b2509c82b8
Merge branch 'develop' into bug/4813_Fix_Elk_title_arrow_styling
2023-11-25 10:34:55 +05:30
Sidharth Vinod
bffbf87cb3
Version for rc release
2023-11-24 14:08:56 +05:30
Sidharth Vinod
63890cc2fd
Version for rc release
2023-11-24 14:07:52 +05:30
Sidharth Vinod
9ade49b39c
Version for rc release
2023-11-24 14:02:55 +05:30
Sidharth Vinod
6d49cd6859
Merge pull request #5049 from mermaid-js/sidv/splitELK
...
Move ELK to standalone package
2023-11-24 11:05:34 +05:30
Sidharth Vinod
5eb116059b
Turn off patch coverage
2023-11-24 11:04:11 +05:30
Sidharth Vinod
bcdd1c56bf
chore: Optimize dev server
2023-11-24 10:54:43 +05:30
Sidharth Vinod
cbcd2cce9b
chore: Optimize dev server
2023-11-24 10:38:32 +05:30
Sidharth Vinod
94c3d7fb60
Merge branch 'next' into sidv/splitELK
...
* next: (39 commits)
reset the testTimeout to 5 seconds and change it directly in the test
update testTimeout from 5 seconds to 10 seconds
Update all patch dependencies
fix broken link
add latest blog post
Update all minor dependencies
fix linting
fix: set proper shiki theme for light and dark modes
fix: change shiki theme to github-light
add latest blog post
GitGraph: made reroute fn more readable
GitGraph: simplified branch check in arrow rerouting fn
GitGraph: added commit IDs to e2e test to remove false positives
GitGraph: Moved branch curve check to within reroute check fn
GitGraph: corrected minor typo in comment.
GitGraph: added 2x e2e tests for branches not used immediately
GitGraph: added branch checking to rerouting
GitGraph: Added e2e tests for deferred branch use.
GitGraph: e2e tests, added commit IDs to test graphs
GitGraph: fixed an e2e branch for vertical branch
...
2023-11-24 09:55:31 +05:30
Sidharth Vinod
a2db4a464a
Merge branch 'develop' into next
...
* develop: (39 commits)
reset the testTimeout to 5 seconds and change it directly in the test
update testTimeout from 5 seconds to 10 seconds
Update all patch dependencies
fix broken link
add latest blog post
Update all minor dependencies
fix linting
fix: set proper shiki theme for light and dark modes
fix: change shiki theme to github-light
add latest blog post
GitGraph: made reroute fn more readable
GitGraph: simplified branch check in arrow rerouting fn
GitGraph: added commit IDs to e2e test to remove false positives
GitGraph: Moved branch curve check to within reroute check fn
GitGraph: corrected minor typo in comment.
GitGraph: added 2x e2e tests for branches not used immediately
GitGraph: added branch checking to rerouting
GitGraph: Added e2e tests for deferred branch use.
GitGraph: e2e tests, added commit IDs to test graphs
GitGraph: fixed an e2e branch for vertical branch
...
2023-11-24 09:54:02 +05:30
Sidharth Vinod
fe7da97c5c
fix flow elk test
2023-11-23 22:51:08 +05:30
Sidharth Vinod
c294a0a9ac
test: Add flowchart-elk overriding test
2023-11-23 22:41:22 +05:30
Sidharth Vinod
30fe363b57
chore: Update pnpm-lock
2023-11-23 22:32:32 +05:30
Sidharth Vinod
4ec57836d8
chore: Optimize build:types
2023-11-23 22:31:11 +05:30
Sidharth Vinod
5b7ba838f1
Merge branch 'sidv/splitELK' of https://github.com/mermaid-js/mermaid into sidv/splitELK
...
* 'sidv/splitELK' of https://github.com/mermaid-js/mermaid :
5043 Allow registered diagrams to be overridden.
2023-11-23 22:15:08 +05:30
Sidharth Vinod
ac99eb59d2
Cleanup package.json
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-11-23 22:15:04 +05:30
Sidharth Vinod
1be09df9d4
Merge pull request #5050 from mermaid-js/sidv/splitELK2
...
Allow registered diagrams to be overridden.
2023-11-23 22:11:41 +05:30
Sidharth Vinod
38b3a2080b
5043 Allow registered diagrams to be overridden.
2023-11-20 00:29:13 +05:30
Sidharth Vinod
0fec0ef624
5043 Move ELK to standalone package
2023-11-19 00:44:44 +05:30
Sidharth Vinod
f0d6789722
fix: Netlify build
2023-11-16 11:03:55 +05:30
Sidharth Vinod
7ef61d58fd
test: Add packet test for title, accTitle, accDescr
2023-11-16 10:58:25 +05:30
Sidharth Vinod
96ae4a5967
chore: Remove unnecessary(?) mocks.
2023-11-16 10:49:26 +05:30
Sidharth Vinod
bca645f63d
test: Add packet and xychart into mermaidAPI test
2023-11-16 10:48:25 +05:30
Sidharth Vinod
a8105f084e
fix: Use configureSvgSize
...
Co-authored-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-11-16 10:42:41 +05:30
Reda Al Sulais
e86f09aaed
Apply suggested style from code review
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-11-15 12:53:43 +03:00
Reda Al Sulais
692a7471c1
chore: apply review changes
2023-11-15 12:46:58 +03:00
Sidharth Vinod
480645d22f
fix: Add language to codeblock
2023-11-15 12:26:24 +05:30
Sidharth Vinod
784a853ec7
feat: Add theming to packet
2023-11-15 12:20:28 +05:30
Sidharth Vinod
088fc392ab
Fix SVG width
2023-11-15 09:42:35 +05:30
Sidharth Vinod
0d7644c782
refactor: Fix types
2023-11-15 09:25:49 +05:30
Sidharth Vinod
f15d24b4e8
Merge branch 'next' into feat/948_packetDiagram
...
* next:
fix text-decoration for abstract attibutes
ci(pr-labeler): add required `template` option
ci(pr-labeler): replace TimonVS/pr-labeler-action
style(pr-labeler): format .github/pr-labeler.yml
docs(ci/pr-labeler): warn about security issues
ci(release-draft): handle new release-drafter name
ci(release-drafter): remove unused `branch` config
ci(pr-labeler): limit GITHUB_TOKEN permissions
ci(release-draft): limit GITHUB_TOKEN permissions
2023-11-15 09:10:41 +05:30
Sidharth Vinod
510549f365
Merge branch 'develop' into next
...
* develop:
fix text-decoration for abstract attibutes
ci(pr-labeler): add required `template` option
ci(pr-labeler): replace TimonVS/pr-labeler-action
style(pr-labeler): format .github/pr-labeler.yml
docs(ci/pr-labeler): warn about security issues
ci(release-draft): handle new release-drafter name
ci(release-drafter): remove unused `branch` config
ci(pr-labeler): limit GITHUB_TOKEN permissions
ci(release-draft): limit GITHUB_TOKEN permissions
2023-11-15 09:10:13 +05:30
Sidharth Vinod
99313fe162
fix editor build
2023-11-15 09:09:48 +05:30
Sidharth Vinod
f9df193b7b
chore: Fix imports
2023-11-15 01:04:07 +05:30
Sidharth Vinod
113a400952
Add DiagramRenderer type
...
Co-authored-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-11-15 01:02:20 +05:30
Sidharth Vinod
b6983e4b21
Add title to tests
2023-11-15 00:59:34 +05:30
Sidharth Vinod
fc400ea57b
fix: Langium formatting
...
Co-authored-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-11-15 00:57:39 +05:30
Sidharth Vinod
068a74adeb
chore: Fix magic number
...
Co-authored-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-11-15 00:55:02 +05:30
Sidharth Vinod
1a8743ec11
refactor: Separate default options in styles
2023-11-15 00:52:56 +05:30
Sidharth Vinod
9925b9b455
feat: Add title support to packetDiagram
2023-11-15 00:47:03 +05:30
Reda Al Sulais
4c43bae92d
Merge branch next into add-pie-langium-parser
2023-11-14 20:04:16 +03:00
Sidharth Vinod
659db9f04b
chore: Add types and minimums for packet config
2023-11-14 19:44:09 +05:30
Sidharth Vinod
b88d1dfaa9
fix(packet): Grammar whitespace
...
Move populate into parser
Co-authored-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-11-14 11:59:58 +05:30
Sidharth Vinod
7c79bbd6b0
refactor: Address review comments
...
Moved some types around
Removed unnecessary params
Co-authored-by: Reda Al Sulais <u.yokozuna@gmail.com >
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-11-14 11:48:11 +05:30
Sidharth Vinod
ce6bfcb7f5
Merge branch 'next' into feat/948_packetDiagram
...
* next: (193 commits)
Update all patch dependencies
Fix docs
Update packages/mermaid/src/docs/community/questions-and-suggestions.md
Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts
update edge ids
draw top actors with lines first followed by messages
Bump GitHub workflow actions to latest versions
Update docs
Documentation: clarify sentence
Fix lint
Fix typo
fix typo
Add new Atlassian integrations
chore(deps): update all patch dependencies
Update demos/sequence.html
chore: release v10.6.1
fix
fix
fix: render the participants in same order as they are created
fix(flow): fix invalid ellipseText regex
...
2023-11-14 11:21:15 +05:30
Sidharth Vinod
6ce543e118
Merge branch 'develop' into next
...
* develop: (126 commits)
Update all patch dependencies
Fix docs
Update packages/mermaid/src/docs/community/questions-and-suggestions.md
Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts
update edge ids
draw top actors with lines first followed by messages
Bump GitHub workflow actions to latest versions
Update docs
Documentation: clarify sentence
Fix lint
Fix typo
fix typo
Add new Atlassian integrations
chore(deps): update all patch dependencies
Update demos/sequence.html
chore: release v10.6.1
fix
fix
fix: render the participants in same order as they are created
fix(flow): fix invalid ellipseText regex
...
2023-11-14 11:20:27 +05:30
Sidharth Vinod
cd9bf03fb7
Merge branch 'develop' into pr/rhysd/4359
...
* develop: (154 commits)
chore(deps): update all patch dependencies
chore: release v10.6.1
fix(flow): fix invalid ellipseText regex
review fixes
Update XYChart's nav link in the docs template
add comment for ts ignore
move decodeEntities to utils
review fixes
chore(deps): update all minor dependencies
chore: Point to correct changelog
add spec
fix: getMessageAPI so it considers entity codes
chore(deps): update all patch dependencies
Update integrations-community.md
docs: upate the list of tools with native support of mermaid
Fix typo in build-docs.yml
Updated mermaid version
Limiting the number of edges that are allowed in the flowchart
Update README.md
Update README.md
...
2023-11-09 02:23:08 +05:30
Reda Al Sulais
1d88ac43cf
enhance title
, accTitle
, and accDescr
regexes
2023-11-08 22:10:36 +03:00
Reda Al Sulais
6102285577
full switch to EOF
2023-11-08 22:10:36 +03:00
Reda Al Sulais
b83603488c
build(deps): update langium
to v2.1.1
2023-11-08 22:10:35 +03:00
Reda Al Sulais
cf22e30237
rename abstract rules in common parser files
2023-11-05 13:07:08 +03:00
Reda Al Sulais
f01971b67c
switch to NEWLINE+
instead of EOF
until next release of langium
2023-11-05 02:11:04 +03:00
Reda Al Sulais
c62be1bb45
export necessary functions and types from packages/parser
2023-11-05 02:08:36 +03:00
Reda Al Sulais
cf1880343b
fix: make rearrangeRules
update the array itself
2023-11-05 02:03:58 +03:00
Reda Al Sulais
0c57433567
Merge branch 'next' into add-pie-langium-parser
2023-11-03 23:17:57 +03:00
Reda Al Sulais
5ef0527ebc
export all common ValueConverter
and TokenBuilder
and update imports
2023-11-03 23:12:24 +03:00
Reda Al Sulais
53ef5c51cc
create CommonTokenBuilder
2023-11-03 23:09:58 +03:00
Reda Al Sulais
58c7934dd8
export necessary objects and types from packages/parser
2023-11-03 22:45:23 +03:00
Reda Al Sulais
0a626917f8
remove unnecessary lines
2023-11-03 22:39:11 +03:00
Reda Al Sulais
922bb1452f
test: update all parser test cases
2023-11-03 22:35:01 +03:00
Reda Al Sulais
1cda37659e
chore(parser): rearrange rules to make imported rules at the beginning
2023-11-03 22:28:33 +03:00
Reda Al Sulais
fe2e46fe60
build(dev-deps): add chevrotain
as a devDependencies
2023-11-03 22:26:05 +03:00
Reda Al Sulais
7765afa7da
chore: allow comments to adjust keywords
2023-11-03 22:15:13 +03:00
Reda Al Sulais
55d7e9ec61
pref: remove CommonLexer
and use EOF
2023-11-03 22:12:09 +03:00
Reda Al Sulais
6a4ad8af06
build(deps): update langium
and langium-cli
to v2.1.0
2023-11-03 22:09:36 +03:00
Reda Al Sulais
018440354f
build(deps): remove langium-cli
from packages/parser
to use the one in root
2023-11-03 22:06:56 +03:00
Vincent Lam
6d2904cff1
Added linting
2023-10-25 17:38:34 -07:00
itsalam
55fac29b3e
fixed title bounds calculation, removed extra title from merging issues
2023-10-25 17:38:34 -07:00
itsalam
5e966d60b0
Centered Title function and changed rendering order for Elk flowchart to find Boundingbox
2023-10-25 17:38:34 -07:00
itsalam
c08f927d60
Fixed styling for lines for ELK flowchart
2023-10-25 17:38:34 -07:00
Sidharth Vinod
49a197eaa8
chore: Update pnpm-lock
2023-10-06 11:12:50 +05:30
Sidharth Vinod
3abe7cfc45
Merge branch 'develop' into next
...
* develop: (61 commits)
Revert "fix: Reduce gantt exclude days length"
Commented out broken test (#4913 )
fix: Reduce gantt exclude days length
Update docs
Fix lint issue
Fix release version
Fix TopBar
Add MC to integrations
Add TopBar
Fix docs
Docs: Add Product Hunt info (#4900 )
Update docs
Merge branch 'release/10.5.0'
Mermaid release v10.5.0
docs: typo fixed
docs: typo fixed
Fix for issue with backticks in ids in classDiagrams
more fixes
fix typo
more link fixes
...
2023-10-06 11:11:34 +05:30
Reda Al Sulais
8c31db6352
Merge branch 'next' into add-pie-langium-parser
2023-09-20 17:56:36 +03:00
Reda Al Sulais
91eb824c21
Merge branch 'develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-09-20 17:55:20 +03:00
dreathed
00e66c48b8
Merge branch 'develop' into bug/4391_make_markdown_auto_wrapping_optional
2023-09-19 20:08:36 +02:00
Hans Blankenhaus
589f90762a
change congig.schema.yaml for consistency
2023-09-19 19:24:16 +02:00
Hans Blankenhaus
f256a57f27
again correction to documentation
2023-09-19 18:16:23 +02:00
Hans Blankenhaus
1102bf271d
corrected documentation
2023-09-19 18:12:57 +02:00
Hans Blankenhaus
b561d5ad9a
removed commented out code
2023-09-19 18:00:48 +02:00
Hans Blankenhaus
a5cb58ca96
add flowchart documentation
2023-09-19 17:59:35 +02:00
Hans Blankenhaus
0af77a3c2c
optional auto wrapping for markdownToLines
2023-09-19 17:57:59 +02:00
Hans Blankenhaus
a75d14f5d0
removed commented out code
2023-09-19 17:03:47 +02:00
Hans Blankenhaus
bca39e8081
optional wrap and test
2023-09-19 15:38:17 +02:00
Sidharth Vinod
3e3519e8ec
docs: Add packet to index
2023-09-19 16:51:42 +05:30
Sidharth Vinod
566150977a
Add mini-live editing to example.html
2023-09-18 23:31:23 +05:30
Sidharth Vinod
0ff3ba30b7
Add mini-live editing to example.html
2023-09-18 23:29:27 +05:30
Hans Blankenhaus
43885e6d0b
make auto wrapping in markdown optional
2023-09-18 15:58:57 +02:00
Sidharth Vinod
577f0ca562
fix: Cypress test for Suppress Error
2023-09-16 13:54:43 +05:30
Sidharth Vinod
56d339b8f0
fix: Race condition when running suppressError test.
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-16 13:33:28 +05:30
Sidharth Vinod
bd1e7a7c13
fix: Retain default behavior when rendering errors cases
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-15 08:42:12 +05:30
Sidharth Vinod
5f41b65af1
chore: Add suppressErrorRendering to secure flags.
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-09-15 08:41:12 +05:30
Reda Al Sulais
3c90894e38
Merge branch 'develop' into next
2023-09-15 01:57:20 +03:00
Sidharth Vinod
0dbebe953b
Merge branch 'develop' into pr/rhysd/4359
...
* develop: (37 commits)
fix: Arrow markers in flowchart-elk
Bump version
chore: Fix type in 'getLineFunctionsWithOffset'
Update cypress/platform/marker_unique_id.html
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
Added cypress test
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
Give markers unique id's per graph
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix : #4818 support `getClasses` in external diagrams.
Remove unnecessary tests
Remove optional chaining
chore: Update docs
refactor: Use `||` instead of `??`
Update flowchart.md (#4798 )
...
2023-09-14 23:33:39 +05:30
Sidharth Vinod
16c12a42c7
fix: Remove blank SVG
2023-09-14 23:32:35 +05:30
Sidharth Vinod
136f1c50e7
fix: Diagram DB types
2023-09-14 23:24:03 +05:30
Sidharth Vinod
043729f557
feat: Support showBits
2023-09-14 23:12:42 +05:30
Sidharth Vinod
75f1f9228d
test: Add rendering tests
2023-09-14 23:12:06 +05:30
Sidharth Vinod
38d9c6d26b
test: Add unit tests
2023-09-14 23:00:59 +05:30
Sidharth Vinod
afd7cf51cf
fix: Types and nomenclature
2023-09-14 22:46:43 +05:30
Sidharth Vinod
c41594d220
feat: Add packet diagram
2023-09-14 22:35:13 +05:30
Sidharth Vinod
fedbd48c0f
Merge branch 'next' into pr/Yokozuna59/4751
...
* next: (98 commits)
refactor: Simplify TokenBuilder and ValueConverter
chore: Fix pnpm-lock
Bump version
chore: Fix type in 'getLineFunctionsWithOffset'
Update cypress/platform/marker_unique_id.html
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
Added cypress test
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
Give markers unique id's per graph
chore: Fix type
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix : #4818 support `getClasses` in external diagrams.
Remove unnecessary tests
Remove optional chaining
chore: Update docs
...
2023-09-14 17:38:43 +05:30
Sidharth Vinod
271b779995
refactor: Simplify TokenBuilder and ValueConverter
2023-09-14 17:32:44 +05:30
Sidharth Vinod
52b33f6f47
chore: Fix pnpm-lock
2023-09-14 14:25:22 +05:30
Sidharth Vinod
5aee43d05b
Merge branch 'develop' into next
...
* develop:
Bump version
chore: Fix type in 'getLineFunctionsWithOffset'
Update cypress/platform/marker_unique_id.html
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
Added cypress test
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
Give markers unique id's per graph
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix : #4818 support `getClasses` in external diagrams.
2023-09-14 14:19:31 +05:30
Sidharth Vinod
7b29a380fc
chore: Fix type
2023-09-08 16:42:08 +05:30
Sidharth Vinod
997c23befa
Merge branch 'develop' into next
...
* develop:
Remove unnecessary tests
Remove optional chaining
refactor: Use `||` instead of `??`
core: Adapt changes from 3f7bafb2d7
Update cypress/helpers/util.js
chore: Add deprecation notices, improve types
chore: Cleanup gitGraph tests
Update README.md
refactor: Move setWrap to individual diagrams as necessary.
refactor: Remove directives from grammar
refactor: Update DBs to remove directive handling
refactor: Move directive processing before parsing
I refactored the code to improve its time complexity by removing unnecessary code and optimizing the existing code.
2023-09-08 16:36:45 +05:30
Reda Al Sulais
24d43849a0
chore: apply review suggestions
...
* pref: optimize `common` rules and matchers
* chore: rename diagrams services to short form
* chore: sort imports
2023-09-07 00:24:00 +03:00
Sidharth Vinod
4ce26296d6
Merge branch 'develop' into next
...
* develop:
chore: Update docs
2023-09-06 23:25:57 +05:30
Sidharth Vinod
4342759da7
Merge branch 'develop' into next
...
* develop:
Update flowchart.md (#4798 )
Update flowchart.md (#4792 )
chore: Update docs
Added missing integration tests and release version in docs.
chore: Fix warning formatting
docs: Disable showValues in sankey example
Added support for millisecond and second to gantt tickInterval
Use utf8 encoding in Jupyter example
2023-09-06 23:16:03 +05:30
Sidharth Vinod
25f2d224f1
Merge branch 'develop' into next
...
* develop:
fix: Add support for `~test Array~string~`
2023-09-06 16:53:18 +05:30
Sidharth Vinod
8b8b828cd1
docs: Rebuild
2023-09-06 13:19:08 +05:30
Sidharth Vinod
65dabeaf15
Add test
2023-09-06 13:15:04 +05:30
Sidharth Vinod
0480339272
Add test
2023-09-06 13:09:06 +05:30
Sidharth Vinod
b09cdc0a18
chore: Add suppressErrorRendering to config
2023-09-06 12:59:02 +05:30
Sidharth Vinod
c3b86b687c
Merge branch 'develop' into pr/rhysd/4359
...
* develop: (595 commits)
chore: Fix unit tests
chore(deps): update all patch dependencies
chore: Update docs
Update docs
New Mermaid Live Editor for Confluence Cloud (#4814 )
Update link to Discourse theme component (#4811 )
Update flowchart.md (#4810 )
chore: remove unneeded `CommomDB`
chore: Update docs
"CSS" instead of "css" in flowchart.md (#4797 )
Update CONTRIBUTING.md
Update CONTRIBUTING.md
fix: typos (#4801 )
chore: Align with convention
fix: Add support for `~test Array~string~`
chore: Add JSDoc to apply in sequenceDB
refactor: Tidy up direction handling
chore: Fix flowchart arrow
chore: Add test to verify activate
chore: Update tests snapshot
...
2023-09-06 12:58:12 +05:30
Reda Al Sulais
0abb4f8c6f
Merge branch develop into next
2023-09-06 02:16:25 +03:00
Sidharth Vinod
697ac18872
Merge branch 'develop' into next
...
* develop:
chore: Align with convention
add additional test case
added test case
add sanitize text
Update docs
modifications to generic parser
improvements to parseGenericTypes
Update packages/mermaid/src/diagrams/class/svgDraw.js
return comment
add tsdoc comments
update tests
apply suggesitons
Update packages/mermaid/src/diagrams/class/classTypes.ts
Update packages/mermaid/src/diagrams/class/classTypes.ts
update tests and db name
Fix tests
spec changes
update classes to handle , in generic
Update and add tests
Create new type for member handling
2023-09-03 12:27:44 +05:30
Sidharth Vinod
fc229cf274
Merge pull request #4803 from aloisklink/refactor/mermaid-config-limit-enum-types
...
[v11] Limit `MermaidConfig` enum TypesScript types to certain values
2023-09-03 05:29:25 +00:00
Alois Klink
b48136d994
refactor!: remove MermaidConfig type enum fallback
...
Currently (in Mermaid v10), pretty much all enum types in the
MermaidConfig have generic `string` or `number` fallbacks,
for backwards compatibility.
This commit drops this. The MermaidConfig TypeScript types now expects
a limited amount of values.
BREAKING-CHANGE: Remove `MermaidConfig` generic type fallbacks for
enum values.
2023-09-02 19:33:40 +01:00
Alois Klink
77ba7c987a
test: rewrite some config
vals to tighten types
...
We're planning on limiting some of MermaidConfig's types to specific
values (e.g. `0 | 1` instead of `number`).
2023-09-02 19:33:40 +01:00
Reda Al Sulais
84f3baf013
Merge branch 'develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-09-02 18:57:00 +03:00
Reda Al Sulais
795baedbb1
chore: run pnpm lint:fix
2023-08-28 12:14:49 +03:00
Reda Al Sulais
5469a7eb71
Update packages/mermaid/src/diagrams/pie/pieParser.ts
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-08-28 12:11:21 +03:00
Reda Al Sulais
23fc7c2c96
Update packages/parser/src/language/pie/pieValueConverter.ts
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-08-28 12:11:12 +03:00
sidharthv96
dff404a8c9
Update docs
2023-08-28 08:53:43 +00:00
Sidharth Vinod
146364aa67
chore: Fix imports
2023-08-28 14:19:43 +05:30
Sidharth Vinod
258dbf30e0
Merge branch 'next' into pr/Yokozuna59/4751
...
* next: (70 commits)
chore: Add comment for `yy`.
chore: Increase heap size when building
chore: increase `test-util.ts` converage by returning `undefined`
chore: add `vitest` imports to `test-util.ts`
chore: run `pnpm lint:fix`
create `noErrorsOrAlternatives` parser helper function
chore: export `InfoModule` from `infoModule.ts`
docs: Fix link
Update docs
fix(pie): align slices and legend orders
Mermaid version v10.4.0
unique batches every time, if not repeated tests end up in the same batch
Added missed .md
Increase JS heap
More tests for redirects + prettier
Fixed redirects inside vitepress, extended tests
chore: Explain redirect.ts clearly
docs: Fix npmjs link
chore: Update editor.bash to build latest version
chore: Build after clone
...
2023-08-28 14:13:20 +05:30
Sidharth Vinod
44b93c039a
Merge pull request #4727 from Yokozuna59/add-info-langium-parser
...
feat: add `@mermaid-js/parser` package and `info` langium parser
2023-08-28 08:10:30 +00:00
Sidharth Vinod
4d5313699e
chore: Add comment for yy
.
2023-08-28 13:39:37 +05:30
Sidharth Vinod
cd198290d7
Merge branch 'next' into pr/Yokozuna59/4727
...
* next:
chore: Increase heap size when building
fix(er): bug if relationship is declared first
test(er): add cypress test on entity name alias
feat(er): use square brackets to add aliases
docs(er): add release version for entity name aliases
feat(er): add entity name alias
2023-08-28 13:32:27 +05:30
Sidharth Vinod
60ed7d3273
chore: Increase heap size when building
2023-08-26 23:43:27 +05:30
Sidharth Vinod
9bcfba6620
Merge branch 'develop' into next
...
* develop:
fix(er): bug if relationship is declared first
test(er): add cypress test on entity name alias
feat(er): use square brackets to add aliases
docs(er): add release version for entity name aliases
feat(er): add entity name alias
2023-08-26 23:09:05 +05:30
Reda Al Sulais
7ea3c64268
chore: increase test-util.ts
converage by returning undefined
2023-08-26 14:37:36 +03:00
Reda Al Sulais
2b6a34e9e0
chore: add vitest
imports to test-util.ts
2023-08-26 14:20:22 +03:00
Reda Al Sulais
458b90c78d
chore: run pnpm lint:fix
2023-08-26 14:06:41 +03:00
Reda Al Sulais
dd284c0986
Merge branch 'add-info-langium-parser' of https://github.com/Yokozuna59/mermaid into add-info-langium-parser
2023-08-26 14:02:19 +03:00
Reda Al Sulais
21539dfb6a
create noErrorsOrAlternatives
parser helper function
2023-08-26 14:01:56 +03:00
Reda Al Sulais
91785b8284
Merge branch 'next' into add-info-langium-parser
2023-08-26 13:48:31 +03:00
Reda Al Sulais
f202770b70
Merge branch develop into next
2023-08-26 13:44:24 +03:00
Reda Al Sulais
8186a54962
chore: export InfoModule
from infoModule.ts
2023-08-26 13:39:17 +03:00
Sidharth Vinod
866909b803
Merge branch 'develop' into next
...
* develop:
chore: Update editor.bash to build latest version
chore: Build after clone
chore: Force install npm to avoid cache.
fix: live editor exists error
chore: Add netlify.toml
chore: Update editor script
chore: Add live editor build script for previews
docs: Fix sankey demo
feat(sankey): Show values (#4674 )
2023-08-25 10:07:46 +05:30
Sidharth Vinod
408910e6e8
Merge branch 'develop' into next
...
* develop:
Fixed docs according review
chore: Fix type imports
Fixed links
Split development documentation in several separate pages, fixes for the sidebar menu
2023-08-23 13:19:12 +05:30
Reda Al Sulais
24c8e575f4
docs(parser): create packages/parser
README.md file
2023-08-22 20:39:19 +03:00
Reda Al Sulais
8d0ca2c876
build: build .langium
file using generate
from langium-cli
2023-08-22 13:38:23 +03:00
Reda Al Sulais
fc96ebefd4
build: update langium
and langium-cli
to v2.0.1
2023-08-22 13:19:52 +03:00
Reda Al Sulais
394330175f
Merge remote-tracking branch 'upstream/next' into add-info-langium-parser
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-08-22 13:13:03 +03:00
Sidharth Vinod
f946c3da06
Merge branch 'develop' into next
...
* develop:
chore: Remove circular dependency
Update docs
docs: Add frontmatter config demos
docs: Add frontmatter config docs
fix: XSS vulnerability
chore: Minor typo fixes
chore: Add test with both frontmatter and directive
Update docs
feat: Add support for config in frontmatter
chore: Fix type in assignWithDepth
refactor: Move `sanitizeDirective` into `addDirective`
refactor: Rename and cleanup `directiveSanitizer`
2023-08-22 13:58:24 +05:30
Sidharth Vinod
156fbd1958
Merge branch 'develop' into next
...
* develop:
chore: Remove duplicate CI action
chore: Add circular dependency check in CI
refactor: Remove circular dependencies
2023-08-22 13:31:59 +05:30
Sidharth Vinod
7dd0d126e2
Merge branch 'develop' into next
...
* develop:
deps: Update unocss and webpack to address vulnerability.
chore(deps): update all patch dependencies
ci(release-drafter): add more release notes categories
2023-08-22 10:21:13 +05:30
Reda Al Sulais
205360c109
fix: fix if statment logic checks if parser
is not undefined
2023-08-21 03:09:05 +03:00
Reda Al Sulais
984a0e6d06
chore: add a comment illustrate why we build packages sequentially
2023-08-21 03:05:23 +03:00
Reda Al Sulais
eb63568ceb
chore: refactore &&
into if
in populateCommonDb
2023-08-21 03:04:39 +03:00
Reda Al Sulais
cc6f896b69
chore: remove ./*
part from exports
in parser/package.json
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-21 03:03:50 +03:00
Reda Al Sulais
83e47a7216
fix: use execFileSync
instead of execSync
in generateLangium
2023-08-21 02:54:30 +03:00
Reda Al Sulais
1d64549cce
fix(mermaid): mark mermaid-parser
dependecy with ^
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-21 02:54:13 +03:00
Reda Al Sulais
d0c36c0de3
chore!: change addSection
header into D3Section
2023-08-20 22:43:49 +03:00
Reda Al Sulais
341db13279
chore!: rename D3Sections
type into D3Section
2023-08-20 22:36:11 +03:00
Reda Al Sulais
1c8e13b9c1
feat: integrate pir
parser into mermaid
package
2023-08-20 19:49:02 +03:00
Reda Al Sulais
49c5f3bb9c
feat(parser): create pie
parser and export it
2023-08-20 18:48:03 +03:00
Reda Al Sulais
4ae361bd1f
reorder packages/parser
after packages/mermaid/src/vitepress
2023-08-20 18:45:05 +03:00
Reda Al Sulais
6502496a2c
Merge remote-tracking branch 'upstream/next' into add-info-langium-parser
2023-08-20 18:41:32 +03:00
Sidharth Vinod
8678ceeb3c
Merge pull request #4749 from Yokozuna59/remove-duplicate-dev-dependency
...
remove duplicate `@types/d3-scale` dev dependency
2023-08-20 15:38:50 +00:00
Reda Al Sulais
9cb62f4d2e
remove duplicate @types/d3-scale
dev dependency
2023-08-20 18:20:06 +03:00
Reda Al Sulais
6c0ef54e18
Merge branch 'next' into add-info-langium-parser
2023-08-20 18:01:37 +03:00
Sidharth Vinod
fd731c5ccd
Merge branch 'develop' into next
...
* develop: (56 commits)
chore: Add comments on redirectMaps
remove `chart` from `pie.spec.ts` description
Update docs
change `defaultConfig` type to `RequiredDeep` and use it in `pieDb`
use `DiagramStylesProvider` in `pieStyles.ts`
remove `setConfig` and `resetConfig` in pie
add `structuredClone` in pie `getConfig`
cleanAndMerge pieConfig
remove cleanClone
feat: Add cleanAndMerge and tests
chore: Rename utils.spec.ts
move db assignment from `beforeEach` to `beforeAll`
create `structuredCleanClone` helper function
add more types to pieRenderer
add `resetConfig` to `clear` in pieDb
rename `reset` to `resetConfig`
use `structedClone` in `pieDb`
remove `PieDiagramConfig` and import generated one
remove unnecessary lines in pie files
remove unused `HTML` import in pieRenderer
...
2023-08-20 20:28:52 +05:30
Reda Al Sulais
cbe9490dc0
feat!: integrate info
parser into mermaid
package
...
BREAKING CHANGE: remove `showInfo` from `infoDb`.
2023-08-20 17:25:49 +03:00
Reda Al Sulais
82054bfabc
chore: make parser
as optional in ParserDefinition
2023-08-20 17:22:13 +03:00
Reda Al Sulais
963dd75c39
chore(parser): build parser
package using esbuild
and vite
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-08-20 17:16:12 +03:00
Reda Al Sulais
1c24617f98
feat(parser): create info
parser with exporting parser internals
2023-08-20 15:38:46 +03:00
Reda Al Sulais
1559c2ca21
feat(parser): create common
directory for langium parsers
2023-08-20 15:36:02 +03:00
Reda Al Sulais
6141722b1f
feat: create parser
package in packages
directory
2023-08-20 15:31:40 +03:00
Reda Al Sulais
222d8eed4e
Merge remote-tracking branch 'upstream/develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com >
2023-08-19 16:20:13 +03:00
Sidharth Vinod
718d52a72c
chore: Move liveReload code into script.
2023-08-17 14:30:47 +05:30
Sidharth Vinod
fe1a06271a
Fix minify undefined
2023-08-17 12:55:25 +05:30
Sidharth Vinod
bd2370555b
Merge branch 'develop' into next
...
* develop:
chore: Move SVG import to comment.
build docs
Remove whitespace on empty line
Documentation for #2509
2023-08-17 12:18:40 +05:30
Sidharth Vinod
86c9ee4e90
Merge pull request #4733 from mermaid-js/sidv/splitChunks
...
Split chunks into individual dirs
2023-08-17 06:47:23 +00:00
Sidharth Vinod
b26bcf1343
chore: Fix minify
2023-08-17 08:22:00 +05:30
Sidharth Vinod
5d5c6275f9
Merge branch 'develop' into next
...
* develop:
Update all minor dependencies
Update all patch dependencies
make more `RectData` required and remove optional assignment
use lineBreakRegex in `svgDrawCommon`
fix svgDrawCommon import by adding `.js`
add types to `svgDrawCommon.ts`
convert `svgDrawCommon` to TS
2023-08-17 08:20:11 +05:30
Sidharth Vinod
9c1a47d1fc
Merge pull request #4729 from mermaid-js/sidv/esbuildV11
...
Use ESBuild (replaces UMD with IIFE bundle)
2023-08-16 12:06:07 +00:00
Sidharth Vinod
13852b7f4e
Fix import
2023-08-14 09:24:34 +05:30
Sidharth Vinod
4fd7a88a15
chore: Fix outfile names
2023-08-14 08:52:56 +05:30
Sidharth Vinod
5c2a6b5eb1
chore: Add analyzer comment
2023-08-14 08:37:02 +05:30
Sidharth Vinod
9cbebbb8a0
chore: Split chunks into folders
2023-08-14 08:35:49 +05:30
Sidharth Vinod
e26d987c4e
chore: Split chunks into folders
2023-08-14 08:34:11 +05:30
Sidharth Vinod
53669efaf8
chore: Add defaultOptions to server
2023-08-14 08:30:51 +05:30
Sidharth Vinod
b68f45ef59
chore: Split chunks into folders
2023-08-14 08:27:14 +05:30
Sidharth Vinod
8f44de651b
chore: IIFE to cSpell
2023-08-14 00:55:48 +05:30
Sidharth Vinod
2ede244da0
chore: Minor comments
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-14 00:55:48 +05:30
Sidharth Vinod
77a181978e
chore: Replace Date.now with console.time
...
Co-authored-by: Alois Klink <alois@aloisklink.com >
2023-08-14 00:55:48 +05:30
Sidharth Vinod
170bbce0d3
chore: Build at start
2023-08-14 00:55:41 +05:30
Sidharth Vinod
fc99d9be41
chore: Add build times to live reload
2023-08-14 00:55:41 +05:30
Sidharth Vinod
9fb9bed806
chore: Add live-reload
2023-08-14 00:55:34 +05:30
Sidharth Vinod
01b2f80a95
chore: Remove @vitest/coverage-c8
2023-08-14 00:54:33 +05:30
Sidharth Vinod
da7ff777d1
chore: Add esbuild (Breaking change)
...
mermaid.min.js and mermaid.js will now be IIFE instead of UMD.
2023-08-14 00:52:45 +05:30
Sidharth Vinod
8d48f8d8b0
Merge branch 'develop' into pr/rhysd/4359
...
* develop: (255 commits)
chore(deps): update all minor dependencies
chore: Run codecov based on E2E test status
change REAMDME.md coverage from coveralls into codecov
Add codecov.yaml
Upload E2E
set normal mode for vitest coverage
Fix path name
Add codecov to unit tests
Add codecov to E2E
chore: Add coverage scripts
chore: add excludes
chore: update deps
Merge coverages
Add coverage paths
Rebuild
chore: update pnpm
Add coverage for E2E tests
rename plugin variable into info in infoDetector.ts
remove cypress/platform/index.html
update pnpm-lock.yaml
...
2023-06-18 16:10:32 +05:30
rhysd
b4618f9ba1
Throw error when detecting diagram type failed and suppressErrorRendering
is set
2023-04-30 22:29:53 +09:00
rhysd
2c5d83fab3
Add suppressErrorRendering
option to avoid inserting 'Syntax error' message in diagram
2023-04-30 00:35:09 +09:00