Sidharth Vinod
840609af63
Merge pull request #4577 from kislerdm/bug/4576-c4-support-for-ContainerQueue_Ext
...
Fixes support of the macro `ContainerQueue_Ext` for C4 diagrams definition.
2023-07-15 07:35:05 +00:00
Lei Nelissen
eff9f7e5db
chore: re-generate config
2023-07-15 00:24:02 +02:00
Lei Nelissen
803cd826ed
chore: replace switch-case with map
2023-07-15 00:17:10 +02:00
Lei Nelissen
90c68f5069
chore: add tsType for weekday config
2023-07-15 00:17:09 +02:00
Lei Nelissen
103321bf72
chore: return after scanning weekday in jison
2023-07-15 00:17:09 +02:00
Lei Nelissen
d0afc3bffe
feat: validate individual values of weekdays
2023-07-14 14:13:18 +02:00
Lei Nelissen
11f2e31ff1
fix: also set weekday value to sunday in clear
2023-07-14 14:13:18 +02:00
Lei Nelissen
d9c15b1e7a
chore: move spec test to it.each
2023-07-14 14:13:18 +02:00
Lei Nelissen
4e8eeda30e
chore: also apply weekday to topXAxis
2023-07-14 14:13:18 +02:00
Lei Nelissen
ebf639377b
chore: generate typescript config type
2023-07-14 14:13:18 +02:00
Lei Nelissen
37adc23ae2
chore: also default to sundat in ganttDb
2023-07-14 14:13:18 +02:00
Lei Nelissen
5f7212c769
chore: move default value to config.schema.yaml
2023-07-14 14:13:18 +02:00
Lei Nelissen
cd92c46f31
chore: format example more correctly
2023-07-14 14:13:18 +02:00
Lei Nelissen
df10ab501a
chore: add tests for all days
2023-07-14 14:13:18 +02:00
Lei Nelissen
e360e90f88
chore: move documentation to source file
2023-07-14 14:13:18 +02:00
Lei Nelissen
03ce2810b5
feat: allow specifying on which weekday a tickInterval should start
2023-07-14 14:13:18 +02:00
Lei Nelissen
5631a218d1
fix: make gantt chart interval weeks start on monday instead of sunday
2023-07-14 14:13:18 +02:00
Alois Klink
7cb009cd38
build(docs): run remark plugins on MermaidConfig
...
We use the `unified.stringify()` function on our remark plugins to
stringify the Markdown AST for our MermaidConfig documentation.
However, [`.stringify()`][1] only runs the stringify phase in unified,
not the "run" phase. If we want to run our plugins on the Markdown AST,
we need to also use the [`.run()`][2] function.
[1]: https://github.com/unifiedjs/unified#processorstringifytree-file
[2]: https://github.com/unifiedjs/unified#processorruntree-file-done
2023-07-13 23:59:27 +01:00
Ibrahim Wassouf
081d1b1144
Merge branch 'develop' into bug/4592_fix_newLine_padding_class_diagram
2023-07-13 16:38:47 -03:00
Ibrahim Wassouf
e9f032cceb
Update packages/mermaid/src/dagre-wrapper/nodes.js
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-07-13 15:57:58 -03:00
Ibrahim Wassouf
aeba7a1d0e
Update packages/mermaid/src/dagre-wrapper/nodes.js
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-07-13 15:57:28 -03:00
Dmitry Kisler
584b51d7c5
Merge branch 'develop' into bug/4576-c4-support-for-ContainerQueue_Ext
2023-07-13 12:07:46 +02:00
Ibrahim Wassouf
d47c9d754a
Merge branch 'develop' into enhancement/4158_Add_primary_key_beginning_with_asterisk
2023-07-11 20:04:20 -03:00
Ibrahim Wassouf
d2ab132a18
Change class member height to use own BBox
2023-07-11 19:39:39 -03:00
renovate[bot]
d46ef4cc91
chore(deps): update all patch dependencies
2023-07-11 17:19:31 +00:00
Nikolay Rozhkov
3664ff4463
Removed unused code in state diagrams
2023-07-11 18:12:27 +03:00
Pierrick Wauquier
9e5ccbe13f
Merge branch 'develop' into bug/4439_graph_doesnt_load_when_img_fail_to_load
2023-07-11 17:10:19 +02:00
Nikolay Rozhkov
e251baa61c
Started layout and rendering
2023-07-11 02:51:10 +03:00
Nikolay Rozhkov
d165e8a642
Started block diag db development
2023-07-10 23:33:11 +03:00
Knut Sveidqvist
c10f76580f
Adding some more tests
2023-07-09 12:28:14 +02:00
Ibrahim Wassouf
e127b146e9
Add more test cases
2023-07-08 17:46:28 -03:00
Ibrahim Wassouf
c59fee8de2
Split tests to have one parse statement in each test
2023-07-08 17:20:56 -03:00
Ibrahim Wassouf
00bb2a1f68
Revert back to single quotes for generic grammar
2023-07-08 14:45:06 -03:00
Ibrahim Wassouf
007724a7c7
Merge branch 'develop' into bug/4590_allow_notes_identical_to_keywords
2023-07-08 13:34:28 -04:00
Ibrahim Wassouf
f82407a2f0
Make unit test regex unit test more accurate
2023-07-08 14:33:57 -03:00
Ibrahim Wassouf
4bec3188de
Reformat code
2023-07-08 14:12:45 -03:00
Ibrahim Wassouf
fbb6eb849e
Give call higher precedence than STR
2023-07-08 14:07:46 -03:00
Ibrahim Wassouf
6a40f4b955
Decouple HREF token from STR and correct grammar
2023-07-08 13:34:51 -03:00
Ibrahim Wassouf
58b2b0993a
Give STR token higher precedence
2023-07-08 13:29:48 -03:00
Ibrahim Wassouf
d05d249080
Undo state changes
2023-07-08 13:28:45 -03:00
Ibrahim Wassouf
1e781c0c90
Refactor unit tests
2023-07-08 13:23:46 -03:00
Ibrahim Wassouf
23f27d151a
Remove redundancy in unit tests
2023-07-07 22:44:34 -03:00
Ibrahim Wassouf
cf0a9c3016
Merge branch 'develop' into enhancement/4158_Add_primary_key_beginning_with_asterisk
2023-07-07 14:31:45 -04:00
Nikolay Rozhkov
975f36c7db
Fixed block diagram parser import
2023-07-07 14:14:30 +03:00
Nikolay Rozhkov
fee2b244a1
Small cleanup
2023-07-07 14:12:18 +03:00
Nikolay Rozhkov
791e67641e
Rename BlockDiagram to Block
2023-07-07 13:58:30 +03:00
Sidharth Vinod
88856a721f
Support MERMAID_RELEASE_VERSION in docs
2023-07-07 11:28:04 +05:30
Ibrahim Wassouf
5d76c033f0
Merge branch 'develop' into enhancement/4158_Add_primary_key_beginning_with_asterisk
2023-07-06 21:18:38 -04:00
Ibrahim Wassouf
fad11bce95
Correct one unit test and add another
2023-07-06 22:17:33 -03:00
Alois Klink
8167f8c1df
Revert "test(config): add temp test for defaultConfig"
...
This reverts commit 063cb124cd64a64c068aea8c417628a3e4058307.
This file was originally added to test whether the new implementation
of the default config in
`packages/mermaid/src/schemas/config.schema.yaml` matched the old
existing default config in `packages/mermaid/src/oldDefaultConfig.ts`,
and this test is no longer needed.
2023-07-07 02:05:43 +01:00