Subhash Halder
060d961f39
Fixed directive related issue
2023-09-02 21:15:21 +05:30
Subhash Halder
fc9ff6c6f3
Added documentations
2023-09-02 20:48:11 +05:30
Reda Al Sulais
a61887f5a2
chore: move `commonDb` into `diagrams/common/commonDb`
2023-09-02 17:51:33 +03:00
Subhash Halder
e0418eb661
Made the axis title optional
2023-09-02 18:08:59 +05:30
Subhash Halder
de2aa9d740
Fixed lint issue
2023-09-02 16:33:29 +05:30
Subhash Halder
f57b5271df
Merge branch 'develop' into feature/4269_add_xychart
2023-09-02 16:02:27 +05:30
Subhash Halder
f9a91730aa
Small minor changes
2023-09-02 15:45:30 +05:30
Subhash Halder
7bdf4c3dbb
Added themes config to all the themes
2023-09-02 13:03:30 +05:30
Subhash Halder
b2669aaca9
Fixed some space management issue
2023-09-01 21:27:10 +05:30
Subhash Halder
54f2c63db1
Addressed all the new comment on jison
2023-09-01 20:57:05 +05:30
Sidharth Vinod
bbbae7d59f
Apply suggestions from code review
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-08-30 05:19:12 +00:00
Sidharth Vinod
e84ee32408
Merge branch 'develop' into feature/4771_tickInterval-support-for-sec-and-ms
2023-08-29 18:38:44 +00:00
Sidharth Vinod
cca9662365
chore: Add comments in edge handling
2023-08-29 23:49:00 +05:30
Sidharth Vinod
f30a23f41e
chore: Make aggregation arrow transparent
2023-08-29 23:35:21 +05:30
Sidharth Vinod
58cb827839
chore: Remove structuredClone
2023-08-29 23:32:10 +05:30
Sidharth Vinod
7de1abbcc2
chore: Make extension arrow transparent
2023-08-29 23:28:45 +05:30
Sidharth Vinod
26e32665a4
chore: Align edge markers properly in class
2023-08-29 23:18:55 +05:30
Sidharth Vinod
c3df18fc5b
feat: #2685 Support class member initialization by member definition
2023-08-28 18:57:34 +05:30
Sidharth Vinod
eca0cea339
refactor: Fir classDB types
2023-08-28 18:54:30 +05:30
Justin Greywolf
5839e0de87
add additional test case
2023-08-28 06:13:30 -07:00
Thomas Ingram
4efac6721d
Added missing integration tests and release version in docs.
2023-08-28 20:17:15 +10:00
Sidharth Vinod
6e51f8fd98
Merge pull request #4782 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-08-28 07:37:22 +00:00
Sidharth Vinod
02517e8a7d
chore: Fix warning formatting
2023-08-28 12:31:40 +05:30
Sidharth Vinod
f6325f6906
docs: Disable showValues in sankey example
2023-08-28 12:30:39 +05:30
renovate[bot]
6b0e0e21ac
chore(deps): update all patch dependencies
2023-08-28 05:09:59 +00:00
renovate[bot]
19aaf459a5
chore(deps): update all minor dependencies
2023-08-28 00:12:53 +00:00
Justin Greywolf
12f11c6721
added test case
2023-08-27 15:47:22 -07:00
Thomas Ingram
8f340094d9
Added support for millisecond and second to gantt tickInterval
2023-08-27 16:08:47 +10:00
Tom PERRILLAT-COLLOMB
264f7920f0
fix(er): allow underscore as leading char
2023-08-27 00:15:50 +02:00
Justin Greywolf
b513169f12
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-26 14:01:42 -07:00
Justin Greywolf
87880fdf40
add sanitize text
2023-08-26 14:01:14 -07:00
Sidharth Vinod
066e0967de
refactor: Move setWrap to individual diagrams as necessary.
2023-08-26 23:27:25 +05:30
Sidharth Vinod
04ce5d6a9a
Merge branch 'develop' into sidv/removeDirectiveGrammar
...
* develop: (22 commits)
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
Reverted docker compose to develop branch
Run GA
Update docs
Update docs
fix(er): bug if relationship is declared first
update latest news
Removed all n00b file names and added redirects
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
...
2023-08-26 23:08:36 +05:30
Nikolay Rozhkov
ed819e96d5
Merge pull request #4758 from tomperr/feat/4746_add_er_alias
...
feat(er): add entity name alias
2023-08-26 11:02:15 +00:00
Justin Greywolf
5a2b3db14c
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-25 13:21:57 -07:00
Justin Greywolf
3678ad4e9d
modifications to generic parser
2023-08-25 13:08:51 -07:00
Sidharth Vinod
979dcb073d
Merge pull request #4774 from Yokozuna59/bug/4772_align-slices-and-legend-orders
...
fix(pie): align slices and legend orders
2023-08-25 19:58:52 +00:00
Justin Greywolf
8e64995047
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-25 10:58:49 -07:00
Justin Greywolf
8b96282c48
improvements to parseGenericTypes
2023-08-25 10:58:20 -07:00
Sidharth Vinod
15c7c37227
Merge pull request #4723 from GingerNinjaNicko/fix-fontawesome-class
...
Fix Twitter fontawesome class in flowchart.md
2023-08-25 13:51:02 +00:00
Reda Al Sulais
267935713c
fix(pie): align slices and legend orders
2023-08-25 16:12:26 +03:00
Knut Sveidqvist
8ef5f38861
Merge remote-tracking branch 'origin/develop' into develop
2023-08-25 14:26:27 +02:00
Knut Sveidqvist
8e5275d844
Mermaid version v10.4.0
2023-08-25 14:19:00 +02:00
Knut Sveidqvist
c51afa4dd2
Merge branch 'release/10.4.0'
2023-08-25 14:16:18 +02:00
Sidharth Vinod
1bfa1a8c88
Merge pull request #4767 from nirname/docs/2910_renaming-docs-and-fixes
...
Docs/2910 Remove n00b and fix some docs
2023-08-25 11:32:00 +00:00
Nikolay Rozhkov
ab140a0fc7
Added missed .md
2023-08-25 14:27:06 +03:00
Nikolay Rozhkov
3d35015ee9
More tests for redirects + prettier
2023-08-25 12:37:29 +03:00
Nikolay Rozhkov
2676130146
Fixed redirects inside vitepress, extended tests
2023-08-25 12:35:07 +03:00
Sidharth Vinod
fb3814bf85
chore: Explain redirect.ts clearly
2023-08-25 14:56:20 +05:30
Sidharth Vinod
1e0918c2ff
refactor: Remove directives from grammar
2023-08-25 12:55:58 +05:30
Sidharth Vinod
f0883be0e3
refactor: Update DBs to remove directive handling
2023-08-25 12:55:35 +05:30
Sidharth Vinod
276fd7ad84
refactor: Move directive processing before parsing
...
Directives and fronmatter will be preprocessed
and removed from the text before parsing.
2023-08-25 12:54:44 +05:30
Sidharth Vinod
2dd1415849
docs: Fix npmjs link
2023-08-25 12:43:31 +05:30
Sidharth Vinod
a4ba192aad
Merge branch 'develop' into feat/4746_add_er_alias
2023-08-25 03:06:47 +00:00
Justin Greywolf
0881619fcb
Merge branch 'UpdateClassMemberHandling' of https://github.com/mermaid-js/mermaid into UpdateClassMemberHandling
2023-08-24 14:05:19 -07:00
nirname
fc19bf93aa
Update docs
...
Fixed link to mermaid-js.github.io after review
Update docs
Fixed link again
2023-08-24 22:01:35 +03:00
Tom PERRILLAT-COLLOMB
56419f7459
fix(er): bug if relationship is declared first
2023-08-24 16:16:40 +02:00
Steph
14c1c1cc59
update latest news
2023-08-23 23:11:58 -07:00
Nikolay Rozhkov
108c25f19f
Removed all n00b file names and added redirects
2023-08-23 23:32:33 +03:00
Justin Greywolf
3ec32521f8
Update packages/mermaid/src/diagrams/class/svgDraw.js
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-08-23 05:22:23 -07:00
Knut Sveidqvist
c3160b2693
Merge pull request #4748 from mermaid-js/feature/4674_sankeyValues
...
feat(sankey): Show values
2023-08-23 07:42:30 +00:00
Knut Sveidqvist
2ab393cd16
Merge pull request #4763 from mermaid-js/sidv/fixTypeImports
...
chore: Enforce type imports
2023-08-23 07:37:45 +00:00
Sidharth Vinod
bd98da16a0
Merge pull request #4744 from nirname/docs/2910_split-development-documentation
...
Split development documentation into several pages
2023-08-23 06:36:46 +00:00
Nikolay Rozhkov
cee2a458f1
Fixed docs according review
...
Update docs
2023-08-23 00:30:17 +03:00
Tom PERRILLAT-COLLOMB
a7ae1b6890
feat(er): use square brackets to add aliases
2023-08-22 11:05:09 +02:00
Sidharth Vinod
0114a87f15
Merge branch 'develop' into feature/4674_sankeyValues
...
* develop:
chore: Remove circular dependency
2023-08-22 13:58:55 +05:30
Sidharth Vinod
11b599d77c
chore: Fix type imports
2023-08-22 13:44:11 +05:30
Sidharth Vinod
3944e9ac00
chore: Remove circular dependency
2023-08-22 13:36:32 +05:30
Sidharth Vinod
37aa6632aa
Merge branch 'feature/frontmatterConfig' into feature/4674_sankeyValues
...
* feature/frontmatterConfig:
chore: Remove duplicate CI action
chore: Add circular dependency check in CI
refactor: Remove circular dependencies
2023-08-22 13:32:25 +05:30
Sidharth Vinod
7e251ee8bc
Merge remote-tracking branch 'origin/develop' into feature/frontmatterConfig
...
* origin/develop:
chore: Remove duplicate CI action
chore: Add circular dependency check in CI
refactor: Remove circular dependencies
2023-08-22 13:30:36 +05:30
Sidharth Vinod
bb01b3972d
chore: Add circular dependency check in CI
2023-08-22 11:38:55 +05:30
Sidharth Vinod
1a50a326cb
refactor: Remove circular dependencies
2023-08-22 11:38:25 +05:30
Tom PERRILLAT-COLLOMB
cc8b4572d5
docs(er): add release version for entity name aliases
2023-08-22 00:30:33 +02:00
Tom PERRILLAT-COLLOMB
e5315f2933
feat(er): add entity name alias
2023-08-21 23:33:42 +02:00
Sidharth Vinod
d21eb29672
Merge branch 'feature/frontmatterConfig' into feature/4674_sankeyValues
...
* feature/frontmatterConfig:
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
deps: Update unocss and webpack to address vulnerability.
chore: Fix type in assignWithDepth
refactor: Move `sanitizeDirective` into `addDirective`
refactor: Rename and cleanup `directiveSanitizer`
chore(deps): update all patch dependencies
ci(release-drafter): add more release notes categories
2023-08-21 20:23:08 +05:30
Sidharth Vinod
fd45dbfc14
Merge branch 'develop' into feature/frontmatterConfig
2023-08-21 14:18:12 +00:00
Sidharth Vinod
8ac7dc81e0
docs: Add frontmatter config docs
2023-08-21 15:02:05 +05:30
Sidharth Vinod
2967b3c1bb
fix: XSS vulnerability
2023-08-21 14:25:25 +05:30
Sidharth Vinod
534fd85339
chore: Minor typo fixes
2023-08-21 12:53:29 +05:30
Sidharth Vinod
a6e6c3fb18
feat: Add support for config in frontmatter
2023-08-21 12:09:38 +05:30
Sidharth Vinod
31c0a0cbab
deps: Update unocss and webpack to address vulnerability.
2023-08-21 10:26:41 +05:30
Sidharth Vinod
767baa4ec6
chore: Fix type in assignWithDepth
2023-08-21 10:18:23 +05:30
Sidharth Vinod
f422a66dde
refactor: Move `sanitizeDirective` into `addDirective`
2023-08-21 10:17:55 +05:30
Sidharth Vinod
fae976e994
refactor: Rename and cleanup `directiveSanitizer`
2023-08-21 10:13:48 +05:30
Sidharth Vinod
4d84f1cd71
feat(sankey): Show values ( #4674 )
2023-08-20 21:18:09 +05:30
Sidharth Vinod
72fa3488b5
Merge pull request #4501 from Yokozuna59/standardized-pie-definitions
...
standardized pie definitions
2023-08-20 14:56:42 +00:00
Subhash Halder
2b4c2e4ca9
Fixed lint and used selectSvgElement
2023-08-20 18:22:34 +05:30
Subhash Halder
5a64cec9ca
Merge branch 'develop' into feature/4269_add_xychart
2023-08-20 18:09:51 +05:30
Subhash Halder
6c2bd33f36
Addressed all requested changes
2023-08-20 17:51:53 +05:30
Sidharth Vinod
cfffba2817
chore: Add comments on redirectMaps
2023-08-20 00:59:58 +05:30
Reda Al Sulais
e7ee3eb9ea
Merge branch 'develop' into standardized-pie-definitions
2023-08-19 01:07:55 +03:00
Nikolay Rozhkov
7b45dbea1a
Fixed links
2023-08-18 03:14:12 +03:00
Nikolay Rozhkov
341130856f
Split development documentation in several separate pages, fixes for the sidebar menu
...
United similar sections at the intro page
Fix spelling
Update docs
2023-08-18 02:17:15 +03:00
Nikolay Rozhkov
aec97d68cc
Fixed wrong collapsible option at the left menu, updated vue
...
Fixed badges
Rely on classes instead of DOM structure
Prettier
Update docs
2023-08-17 16:37:22 +03:00
Sidharth Vinod
7b7e281ec7
Merge pull request #4740 from jason-curtis/issue-2509-subgraph-direction-limitation
...
Documentation for #2509
2023-08-17 04:57:56 +00:00
Sidharth Vinod
35cc34d422
chore: Move SVG import to comment.
2023-08-17 10:28:50 +05:30
Jason Curtis
ef8b75a6da
Remove whitespace on empty line
2023-08-17 03:32:42 +00:00
Reda Al Sulais
77d8e15dc4
remove `chart` from `pie.spec.ts` description
2023-08-17 02:21:15 +03:00
Reda Al Sulais
defe40692a
change `defaultConfig` type to `RequiredDeep` and use it in `pieDb`
2023-08-17 01:42:41 +03:00
Jason Curtis
337ff3c32b
Documentation for #2509
2023-08-16 21:12:32 +00:00
Reda Al Sulais
744cc792f4
Merge branch 'develop' into standardized-pie-definitions
2023-08-15 23:27:03 +03:00
Justin Greywolf
3f327196fd
return comment
2023-08-15 11:07:21 -07:00
Justin Greywolf
bbaab54ec9
add tsdoc comments
2023-08-15 11:02:06 -07:00
Justin Greywolf
9a9abac5b1
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-15 10:08:42 -07:00
Justin Greywolf
6ed0c9bc36
update tests
2023-08-15 10:02:31 -07:00
Reda Al Sulais
50eb3cf1c9
Merge branch 'develop' into chore/convert-svgDrawCommon-to-ts
2023-08-15 19:37:02 +03:00
Reda Al Sulais
c1b9c54fc9
use `DiagramStylesProvider` in `pieStyles.ts`
2023-08-15 17:56:18 +03:00
Reda Al Sulais
0d179c501e
Merge branch 'develop' into standardized-pie-definitions
2023-08-15 14:01:09 +03:00
Sidharth Vinod
085e8f78b3
Merge pull request #4731 from mermaid-js/renovate/patch-all-patch
...
Update all patch dependencies (patch)
2023-08-14 11:05:49 +00:00
renovate[bot]
2a8374312f
Update all minor dependencies
2023-08-14 03:07:45 +00:00
renovate[bot]
b60410161d
Update all patch dependencies
2023-08-14 02:02:28 +00:00
Subhash Halder
526de36c86
Updated code to use latest config system
2023-08-13 22:56:50 +05:30
Reda Al Sulais
d219f92a19
Merge branch 'develop' into chore/convert-svgDrawCommon-to-ts
2023-08-13 17:45:37 +03:00
Reda Al Sulais
3f3a7340e3
remove `setConfig` and `resetConfig` in pie
2023-08-12 21:18:07 +03:00
Reda Al Sulais
cb5f70c139
add `structuredClone` in pie `getConfig`
2023-08-12 21:09:14 +03:00
Reda Al Sulais
99c1758490
make more `RectData` required and remove optional assignment
2023-08-12 20:25:10 +03:00
Sidharth Vinod
43217e1395
Merge branch 'master' into develop
...
* master:
Version update and adjusted error diagram
Fix for broker error diagram related #4178
Adding new flowchart tests related to issue #2139
Fix for interim issue with classes in state diagrams
#2139 Applying user defined classes properly when calculating shape width
chore: Ignore localhost
Update packages/mermaid/src/docs/community/development.md
Update docs/community/development.md
docs: Add development example page.
2023-08-12 17:04:25 +05:30
Sidharth Vinod
aa34b99203
Merge remote-tracking branch 'origin/release/10.3.1'
...
* origin/release/10.3.1: (85 commits)
Version update and adjusted error diagram
Fix for broker error diagram related #4178
Adding new flowchart tests related to issue #2139
Fix for interim issue with classes in state diagrams
use default export in `error` diagram
create `ParserDefinition` type
standardized `error` diagram'
#2139 Applying user defined classes properly when calculating shape width
style: format packages/mermaid/src/config.type.ts
build(types): use prettier conf on config.types.ts
Syntax Update CONTRIBUTING.md
docs: Correct detectType filename
chore: Minor cleanups
chore: remove comment
chore: Remove comments, cleanup
fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
Update selectSvgElement.ts
create `Group` type
Add specialChars in textNoTagsToken, alphaNumToken
Return Unicode Text to idStringToken definition
...
2023-08-12 17:04:06 +05:30
Reda Al Sulais
541ee1eade
Merge remote-tracking branch 'upstream/develop' into chore/convert-svgDrawCommon-to-ts
2023-08-11 23:07:45 +03:00
Reda Al Sulais
f01ad644e3
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com>
2023-08-11 22:44:05 +03:00
Reda Al Sulais
9538233573
use lineBreakRegex in `svgDrawCommon`
2023-08-11 21:16:53 +03:00
Reda Al Sulais
5a2ea7c297
fix svgDrawCommon import by adding `.js`
2023-08-11 21:13:17 +03:00
Reda Al Sulais
22b172d873
add types to `svgDrawCommon.ts`
2023-08-11 20:56:00 +03:00
Reda Al Sulais
92098e23eb
convert `svgDrawCommon` to TS
2023-08-11 20:54:39 +03:00
Reda Al Sulais
f9d978859e
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 19:56:22 +03:00
Reda Al Sulais
6170538c47
Merge branch 'develop' into chore/convert-assignWithDepth-to-ts
2023-08-11 19:54:57 +03:00
Reda Al Sulais
c37c494a1e
Update assignWithDepth.ts
2023-08-11 19:54:37 +03:00
Nicko J. Ruddock
65c93807d8
Fix Twitter fontawesome class in flowchart.md
2023-08-11 15:23:16 +01:00
Knut Sveidqvist
8ed9ddc7aa
Merge branch 'release/10.3.1'
2023-08-11 14:21:10 +02:00
Knut Sveidqvist
a0b80f5490
Version update and adjusted error diagram
2023-08-11 14:03:56 +02:00
Knut Sveidqvist
493023118f
Fix for broker error diagram related #4178
2023-08-11 13:59:16 +02:00
Knut Sveidqvist
c938c7a438
Fix for interim issue with classes in state diagrams
2023-08-11 13:57:26 +02:00
Knut Sveidqvist
c7bcf72c69
Merge branch 'develop' into release/10.4.0
2023-08-11 11:46:30 +02:00
Sidharth Vinod
da602add5d
Merge pull request #4697 from mermaid-js/sidv/fixTripleParsing
...
fix: Remove triple parsing of diagrams
2023-08-11 15:14:33 +05:30
Knut Sveidqvist
9049a99c8d
Merge pull request #4722 from mermaid-js/2139-handling-styling-properly-when-calculating-width
...
#2139 Applying user defined classes properly when calculating shape width
2023-08-11 09:58:29 +02:00
Reda Al Sulais
8a8e062342
cleanAndMerge pieConfig
2023-08-11 03:55:04 +03:00
Reda Al Sulais
1721282182
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 01:46:33 +03:00
Reda Al Sulais
d8dd68cad2
redeclare `config` parameter add default value for each variable
2023-08-11 01:42:26 +03:00
Reda Al Sulais
0d380bb2c7
Merge branch 'develop' into chore/standardized-error-definitions
2023-08-11 01:24:47 +03:00
Reda Al Sulais
120bdabee1
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 01:04:06 +03:00
Reda Al Sulais
9ab048c7e9
use default export in `error` diagram
2023-08-11 00:55:31 +03:00
Sidharth Vinod
dfeb25127b
remove cleanClone
2023-08-11 02:50:24 +05:30
Sidharth Vinod
396bda8d95
feat: Add cleanAndMerge and tests
2023-08-11 02:47:46 +05:30
Sidharth Vinod
cc70d37166
chore: Rename utils.spec.ts
2023-08-11 02:38:57 +05:30
Reda Al Sulais
3f5da06bb0
move db assignment from `beforeEach` to `beforeAll`
2023-08-10 22:43:39 +03:00
Reda Al Sulais
be106befff
create `structuredCleanClone` helper function
2023-08-10 23:10:06 +03:00
Reda Al Sulais
980a5ac8b5
create `ParserDefinition` type
2023-08-10 22:26:04 +03:00
Reda Al Sulais
d5f11fc80a
convert `assignWithDepth` to TS
2023-08-10 22:09:14 +03:00
Reda Al Sulais
46de343785
standardized `error` diagram'
...
* remove empty `styles.js`
* use named imports/exports instead of default
* remove unnecessary data in diagram definition
2023-08-10 22:07:39 +03:00
Reda Al Sulais
c4113541e1
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-10 21:44:29 +03:00
Reda Al Sulais
fb49f25eef
add more types to pieRenderer
2023-08-10 21:36:39 +03:00
Reda Al Sulais
a9681d1b1c
add `resetConfig` to `clear` in pieDb
2023-08-10 21:19:56 +03:00
Reda Al Sulais
545d361d3f
rename `reset` to `resetConfig`
2023-08-10 21:01:32 +03:00
Knut Sveidqvist
c55a0947be
#2139 Applying user defined classes properly when calculating shape width
2023-08-10 13:15:16 +02:00
Alois Klink
0b9f6d1ff9
style: format packages/mermaid/src/config.type.ts
...
Run `pnpm run --filter mermaid types:build-config` to format
the `packages/mermaid/src/config.type.ts` file with the new prettier
config.
2023-08-09 19:22:30 +01:00
Alois Klink
7742a6c485
build(types): use prettier conf on config.types.ts
...
Currently, the `packages/mermaid/src/config.type.ts` types file
(auto-generated via `pnpm run --filter mermaid types:build-config`)
uses the default prettier config.
Instead, we should use the prettier config in the Mermaid repo, as it's
slightly different from the default prettier config.
2023-08-09 19:15:09 +01:00
Sidharth Vinod
fee6f459a8
Update packages/mermaid/src/docs/community/development.md
2023-08-09 17:44:49 +05:30
Reda Al Sulais
38dc17f426
use `structedClone` in `pieDb`
2023-08-09 14:12:08 +03:00
Reda Al Sulais
453c67e5ea
remove `PieDiagramConfig` and import generated one
2023-08-09 13:47:08 +03:00
Reda Al Sulais
a69a97fdd9
remove unnecessary lines in pie files
2023-08-09 13:41:01 +03:00
Sidharth Vinod
06e4a6398c
docs: Add development example page.
2023-08-09 14:59:50 +05:30
Reda Al Sulais
ca1cdb1d94
remove unused `HTML` import in pieRenderer
2023-08-08 19:00:27 +03:00
Reda Al Sulais
5485517b27
remove SVG import logs in `setupGraphViewbox`
2023-08-08 18:55:46 +03:00
Reda Al Sulais
96380600d9
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-08 15:02:23 +03:00
Sidharth Vinod
da8112afa5
Merge branch 'develop' into sidv/fixTripleParsing
...
* develop: (59 commits)
fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
Update selectSvgElement.ts
create `Group` type
Add specialChars in textNoTagsToken, alphaNumToken
Return Unicode Text to idStringToken definition
Add underscore to unit test on special Chars
Revert to old docs concerning quotations marks in string
Refactor unit tests and remove repetition
Correct idStringToken definition to include all individual special tokens
Add unit tests for node ids with special Chars
Create lychee.toml
create `selectSvgElement`
change `svgElem` to `SVG` in `configureSvgSize`
add `configureSvgSize` in infoRenderer
run docs:build
remove info sandbox test case
Remove replaceAll method in addLink
Modify HREF token regex to contain space
Add unit tests for stange node names
Remove escaped quotes with backslash feature
...
2023-08-08 13:37:02 +05:30
Sidharth Vinod
bae9a7c1b8
docs: Correct detectType filename
2023-08-08 11:13:45 +05:30
Sidharth Vinod
776b219c03
chore: Minor cleanups
2023-08-08 00:31:17 +05:30
Sidharth Vinod
4471001ef2
chore: remove comment
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-08-08 00:24:38 +05:30
Sidharth Vinod
646f7662d0
chore: Remove comments, cleanup
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
Co-authored-by: Nikolay Rozhkov <nironame@gmail.com>
Co-authored-by: Yokozuna59 <u.yokozuna@gmail.com>
2023-08-07 15:12:37 +05:30
Reda Al Sulais
9563b22132
refactor `pieRenderer`
2023-08-06 21:23:42 +03:00
danshuitaihejie
6df76d93e5
fix!(deps): fix zenuml style leakage.
...
update @zenuml/core to ^3.0.6 to fix the style leakage.
2023-08-07 00:21:57 +08:00
Reda Al Sulais
e6a18eea91
Merge remote-tracking branch upstream/develop into standardized-pie-definitions
2023-08-06 18:30:51 +03:00
Jonas Haag
d2ed52461e
Use utf8 encoding in Jupyter example
...
mermaid.ink can render some UTF-8 characters
2023-08-06 13:44:09 +02:00
Subhash Halder
6c2faf0bda
Simplified the jison file
2023-08-06 16:11:47 +05:30
Reda Al Sulais
71205f5bd6
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-08-05 21:33:03 +03:00
Reda Al Sulais
1802f5d0c0
Update selectSvgElement.ts
2023-08-05 20:45:23 +03:00
Reda Al Sulais
ef29388d68
Merge branch 'develop' into resolve-info-html-assignment
2023-08-05 19:03:35 +03:00
Reda Al Sulais
4845635f48
create `Group` type
2023-08-05 16:00:06 +03:00
Ibrahim Wassouf
34bf618ecb
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-03 20:25:51 -04:00
Ibrahim Wassouf
c9db0ee749
Add specialChars in textNoTagsToken, alphaNumToken
...
This will ensure that alphaNumToken does not lose any of
the previously used tokens in its definition. The same
tokens were added to textNoTagsToken explicitly, because it used to
have alphaNumToken in its definition before I removed it.
Previously, textNoTagsToken and alphaNumToken had many tokens in
common in their definition. To avoid grammar conflicts, the
alphaNumStatement grammar was created. However, I found this
unintuitive and was an extra step just to avoid repetition in
the definitions.
I opted to have repetition in the definitions of textNoTagsToken
and alphaNumToken and it be explicitly clear right away, rather than
have extra grammar statements like alphaNumStatement which don't look
like they do anything at first glance
2023-08-03 21:05:41 -03:00
Ibrahim Wassouf
850513fa3d
Return Unicode Text to idStringToken definition
2023-08-03 20:58:37 -03:00
Ibrahim Wassouf
aaf333676c
Add underscore to unit test on special Chars
2023-08-03 20:15:11 -03:00
Ibrahim Wassouf
5a165e4c1d
Revert to old docs concerning quotations marks in string
2023-08-03 20:11:50 -03:00
Ibrahim Wassouf
ee6fa94aa2
Refactor unit tests and remove repetition
2023-08-03 20:05:11 -03:00
Reda Al Sulais
23b6d53f80
Merge branch 'standardized-pie-definitions' of https://github.com/Yokozuna59/mermaid into standardized-pie-definitions
2023-08-04 01:33:29 +03:00
Reda Al Sulais
f4671e4e3a
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-08-04 01:32:12 +03:00
Ibrahim Wassouf
971215e353
Correct idStringToken definition to include all individual special tokens
2023-08-03 19:15:23 -03:00
Ibrahim Wassouf
199fdce982
Add unit tests for node ids with special Chars
2023-08-03 18:59:39 -03:00
Reda Al Sulais
e2fac72166
create `selectSvgElement`
2023-08-03 21:34:22 +03:00
Reda Al Sulais
c954e0eb1d
rename `styles.ts` into `pieStyles.ts`
2023-08-03 21:00:22 +03:00
Reda Al Sulais
de37efefd7
add `type` for `PieStyleOptions`
2023-08-03 20:58:39 +03:00
Reda Al Sulais
bdfd8974d4
change default `useWidth` in pie to 984
2023-08-03 20:56:18 +03:00
Sidharth Vinod
95efc1786f
fix: unitTests after tripleParsing removal
2023-08-03 23:21:49 +05:30
Reda Al Sulais
0c55e4c2ad
Merge branch 'develop' into resolve-info-html-assignment
2023-08-03 20:44:29 +03:00
Sidharth Vinod
10d5b5d1d6
fix: Remove triple parsing of diagrams
2023-08-03 22:54:37 +05:30
Sidharth Vinod
23fea41fb4
Merge branch 'master' into develop
...
* master:
fix : #4676 redirect fix
fix style in contributors section of intro
add latest blog post
2023-08-03 22:16:17 +05:30
Reda Al Sulais
a4f778f4de
change `svgElem` to `SVG` in `configureSvgSize`
2023-08-03 15:55:05 +03:00
Reda Al Sulais
bb6664a2c6
add `configureSvgSize` in infoRenderer
2023-08-03 15:47:31 +03:00
Steph
b26449f338
Merge branch 'master' into latest-news
2023-08-02 11:18:28 -07:00
Reda Al Sulais
ffdfe11f10
Merge branch 'develop' into resolve-info-html-assignment
2023-08-02 16:26:15 +03:00
Reda Al Sulais
7d69ad2d5b
Merge remote-tracking branch upstream/develop into standardized-pie-definitions
2023-08-02 15:54:23 +03:00
Reda Al Sulais
74fa9956a3
run pnpm lint:fix
2023-08-02 15:46:18 +03:00
Reda Al Sulais
e33340331a
add type-fest to mermaid dev deps
2023-08-02 15:44:44 +03:00
Sidharth Vinod
7ebfc272e4
fix : #4676 redirect fix
2023-08-02 09:36:40 +05:30
Sidharth Vinod
c9c2f6c121
Merge pull request #4677 from djadmin/chore_dompurify_unpin_dependency
...
chore(deps): unpin the dompurify dependency
2023-08-02 03:06:18 +00:00
Sidharth Vinod
585834c561
Merge pull request #4689 from Incognito/chore/4678_misleading-ts-ignore-comment
...
chore: ts-ignore comment was misleading, JISON doesn't support types
2023-08-02 03:05:51 +00:00
Ibrahim Wassouf
dc57fcf7e7
Remove replaceAll method in addLink
2023-08-01 16:46:37 -03:00
Ibrahim Wassouf
daf43f8d34
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-01 11:07:25 -04:00
Brian Graham
4cdb43f791
ts-ignore comment was misleading, JISON doesn't support types
2023-08-01 14:30:58 +02:00
Sidharth Vinod
660162686b
Merge pull request #4681 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-08-01 12:16:41 +00:00
Sidharth Vinod
6e2bf00a43
Merge pull request #4688 from Incognito/docs/4659_new-diagrams-no-directives
...
Docs: Directives not needed in new diagrams as yaml formatter does this for all new diagrams
2023-08-01 12:16:20 +00:00
Brian Graham
cc01ff9129
Directives not needed in new diagrams as yaml formatter does this for all new diagrams
2023-08-01 14:08:41 +02:00
Ibrahim Wassouf
7dc985712a
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-01 06:59:12 -04:00
Ibrahim Wassouf
e3c5e6f095
Modify HREF token regex to contain space
...
This attempts to maintain the current behaviour.
Previously, because HREF contained a space and called
a state, the href token was able to be placed in the
beginning of node ids (because it wouldn't conflict
without the space). We require the space to keep that
behaviour.
2023-08-01 07:54:48 -03:00
Ibrahim Wassouf
ef4f22841f
Add unit tests for stange node names
2023-08-01 07:54:32 -03:00
renovate[bot]
c292c897a1
chore(deps): update all patch dependencies
2023-08-01 08:42:21 +00:00
Alois Klink
cc7fd337ac
Merge pull request #4687 from mermaid-js/dependabot/npm_and_yarn/vite-4.3.9
...
build(deps-dev): bump vite from 4.3.3 to 4.3.9
2023-08-01 08:28:15 +00:00
dependabot[bot]
266a5e8133
build(deps-dev): bump vite from 4.3.3 to 4.3.9
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.3 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:38:37 +00:00
dependabot[bot]
55963107d0
build(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.1
...
Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url ) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md )
- [Commits](https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: "@braintree/sanitize-url"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:38:16 +00:00
Ibrahim Wassouf
834c67ecaa
Remove escaped quotes with backslash feature
2023-07-31 22:47:05 -03:00
renovate[bot]
1a99825ab2
chore(deps): update all minor dependencies
2023-07-31 01:25:54 +00:00
Ibrahim Wassouf
b5456813e8
Show escaped quotes in docs using old and new method
2023-07-29 22:44:18 -03:00
Ibrahim Wassouf
ed4feaebf2
Remove required space from TAGEND token regex
...
Originally, I thought this was necessary to prevent parsing
the token as part of an edge. I forgot that the token will always
be separated from the link/edge by the node id. Added an unit test
for an edge case to be certain.
2023-07-29 22:27:31 -03:00
Ibrahim Wassouf
bed05ce061
Disallow any vertex shape start or end token in any text state
2023-07-29 21:23:05 -03:00
Ibrahim Wassouf
f269f8cc5b
Refactor unit tests for vertex shape
2023-07-29 21:14:02 -03:00
Ibrahim Wassouf
e25763d645
Modified docs to mention escaping quotes with backslash
2023-07-28 21:19:30 -03:00
Dheeraj Joshi
6c12bbb80f
chore(deps): unpin the dompurify dependency
2023-07-28 16:02:17 +05:30
Ibrahim Wassouf
d8897426cd
Correct edge strings to have same configuration as vertex strings
2023-07-27 09:29:26 -03:00
Sidharth Vinod
1397a873c2
Merge pull request #4670 from keer4n/docs/fix-style-in-contributors-section-of-intro
...
fix style in contributors section of intro
2023-07-27 17:27:36 +05:30
Ibrahim Wassouf
1dfb400a46
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-26 16:59:54 -04:00
Knut Sveidqvist
9c92f779ae
Updates after testing and new version for mermaid-zenuml
2023-07-26 09:44:24 +02:00
Kiran
304d8844f0
fix style in contributors section of intro
2023-07-26 00:19:50 -06:00
Sidharth Vinod
aa54127784
Set proper release version
2023-07-26 11:34:10 +05:30
Sidharth Vinod
21b90cbcd2
Add release version
2023-07-26 11:33:20 +05:30
Sidharth Vinod
e1ca108b00
Update version
2023-07-26 11:26:07 +05:30
Sidharth Vinod
29d078c822
Merge branch 'master' into release/10.3.0
...
* master:
chore: Rename C4C to C4
update latest news section
Corrects name of C4 link
Bump zenuml package version
2023-07-26 11:23:24 +05:30
Sidharth Vinod
dbee34aba7
fix: edgeLabel width
2023-07-26 11:14:46 +05:30
Ibrahim Wassouf
9655ba9e63
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-25 20:57:14 -03:00
Ibrahim Wassouf
fd461b7860
Reimplement old alphaNumToken
2023-07-25 20:56:08 -03:00
Ibrahim Wassouf
30a9b5574d
Correct classDef and class grammar
...
Previously, you were allowed to define a class called 'default'
but were not allowed to use it because the classStatement grammar
expected an alphanum, which did not include the word DEFAULT
2023-07-25 20:35:08 -03:00
Steph
edf94790f2
add latest blog post
2023-07-25 10:22:17 -07:00
Sidharth Vinod
d178626bac
Merge branch 'develop' into release/10.4.0
...
* develop:
Add MERMAID_RELEASE_VERSION in sankey
2023-07-25 21:55:24 +05:30
Sidharth Vinod
d69a2f7895
Merge branches 'develop' and 'develop' of https://github.com/mermaid-js/mermaid into develop
...
* 'develop' of https://github.com/mermaid-js/mermaid : (21 commits)
Add comments
Update packages/mermaid/src/rendering-util/types.d.ts
Remove redundant test. Already checked in lint.
Update docs
Fix lint
Update packages/mermaid/src/rendering-util/splitText.spec.ts
Add comments
Add tests without Intl.Segmenter
Cleanup
Fix flowchart failure
Handle proper formatting for markdown strings
createText to TS
Use joiner to split unicode
Add types
rename handle-markdown-text
Add logs
Cleanup
Use splitLineToFitWidth function
Update docs
feat: split unicode properly
...
* 'develop' of https://github.com/mermaid-js/mermaid : (21 commits)
Add comments
Update packages/mermaid/src/rendering-util/types.d.ts
Remove redundant test. Already checked in lint.
Update docs
Fix lint
Update packages/mermaid/src/rendering-util/splitText.spec.ts
Add comments
Add tests without Intl.Segmenter
Cleanup
Fix flowchart failure
Handle proper formatting for markdown strings
createText to TS
Use joiner to split unicode
Add types
rename handle-markdown-text
Add logs
Cleanup
Use splitLineToFitWidth function
Update docs
feat: split unicode properly
...
2023-07-25 21:54:32 +05:30
Knut Sveidqvist
97f457ca4a
Merge branch 'develop' into release/10.4.0
2023-07-25 17:30:24 +02:00
Sidharth Vinod
48c8311369
Add MERMAID_RELEASE_VERSION in sankey
2023-07-25 20:49:54 +05:30
Knut Sveidqvist
15c6dfcbb5
Updates after tests
2023-07-25 16:43:09 +02:00
Sidharth Vinod
651bc980d2
Merge branch 'sidv/splitUnicode' of https://github.com/mermaid-js/mermaid into sidv/splitUnicode
...
* 'sidv/splitUnicode' of https://github.com/mermaid-js/mermaid :
Update packages/mermaid/src/rendering-util/types.d.ts
2023-07-25 20:10:17 +05:30
Sidharth Vinod
841ae15fb5
Add comments
2023-07-25 20:10:05 +05:30
Sidharth Vinod
a7d40724b4
Update packages/mermaid/src/rendering-util/types.d.ts
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-07-25 19:13:54 +05:30
Sidharth Vinod
409dedb3ef
Remove redundant test.
...
Already checked in lint.
2023-07-25 19:08:40 +05:30