Josh Soref
c81f63b462
spelling: id
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2025-04-17 17:38:54 -04:00
saurabhg772244
202ef31071
Fixed binding issue
2025-01-23 14:58:16 +05:30
saurabhg772244
b09f2e836a
Updated as per PR comments
2025-01-23 12:25:38 +05:30
saurabhg772244
92efc24283
Refactored arrow functions to standard function
2025-01-22 19:07:53 +05:30
saurabhg772244
8fba9c1236
convert flowDb to class and added test cases.
2025-01-15 18:02:04 +05:30
yari-dewalt
fd6b875f87
Fix subgraph / cluster node width based off of label
2024-10-21 16:09:55 -07:00
yari-dewalt
0e819ae050
Change cssClasses to use concatenated string instead of array to pick up css styles
2024-10-18 10:33:56 -07:00
yari-dewalt
74695d2e88
Fix undesired wrapping on notes
2024-10-18 10:11:36 -07:00
yari-dewalt
b7ef8b2b5a
Refactor to make code more clear
2024-10-17 08:57:03 -07:00
yari-dewalt
10679297f9
Fix conditional logic
2024-09-24 09:35:34 -07:00
yari-dewalt
3e697e2ea4
Update and fix logic for lollipop interfaces
2024-09-24 09:28:17 -07:00
yari-dewalt
f031abcec2
Support lollipop interface feature
2024-09-23 12:19:22 -07:00
yari-dewalt
dd62322ae5
Add default class support
2024-09-23 10:09:05 -07:00
yari-dewalt
31546b08ff
Fix note text
2024-09-18 13:20:47 -07:00
yari-dewalt
b105c7b35e
Add node look and fix text attribute on class
2024-09-18 09:10:35 -07:00
yari-dewalt
2ec9f0af2e
Add support for new renderer
2024-09-18 08:53:54 -07:00
yari-dewalt
191e4217fc
Adjust classNode text when label is set
2024-09-18 08:53:54 -07:00
yari-dewalt
e3c426de86
Initial work on updating to new renderer
2024-09-18 08:53:54 -07:00
Alois Klink
f12df395f8
build(types): disable preserveSymlinks in tsconfig
...
PNPM uses symlinks by default for `node_modules`
(see the [`node-linker`][1] options), which doesn't work with
[TypeScript's `preserveSymlinks: true`][2] setting.
This meant that the `d3-transition` types were not applying properly in
our code.
[1]: https://pnpm.io/npmrc#node-linker
[2]: https://www.typescriptlang.org/tsconfig/#preserveSymlinks
2024-09-17 20:59:38 +09:00
Sidharth Vinod
a80dd711a7
fix(class): #5624 Reset direction to default in classDiagram
2024-07-07 16:28:57 +05:30
Sidharth Vinod
6b87fb3418
chore: Add type checked rules, auto fix
2024-06-30 00:58:02 +05:30
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
Yash Singh
07de090723
fix: move from objects to Maps
2024-04-16 13:52:25 -07:00
Justin Greywolf
c5220bd92d
Fixed parser/tests
2023-12-18 06:27:10 -08:00
Justin Greywolf
668bf327d5
Update packages/mermaid/src/diagrams/class/classDb.ts
...
Co-authored-by: Alois Klink <alois@mermaidchart.com >
2023-12-11 04:45:48 -08:00
Justin Greywolf
24957f44df
Update packages/mermaid/src/diagrams/class/classDb.ts
...
Co-authored-by: Alois Klink <alois@mermaidchart.com >
2023-12-11 04:44:53 -08:00
Justin Greywolf
b51ca4fb15
Address potential undefined
2023-12-10 13:25:16 -08:00
Justin Greywolf
02b2d71eb3
Update packages/mermaid/src/diagrams/class/classDb.ts
...
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com >
2023-12-05 07:57:39 -08:00
Justin Greywolf
1ecae7dc93
Merge branch 'develop' into 2408-support-style-for-class
2023-12-04 13:29:00 -08:00
Justin Greywolf
239fad94ee
Grammar/rendering for setting style on class node
2023-12-04 13:28:31 -08:00
Sidharth Vinod
93a920cdfe
test: Add unit test for generic classname and namespace
2023-12-04 11:21:27 +05:30
Justin Greywolf
8de1bde8f4
Split type from generic class name
2023-12-03 18:01:00 -08:00
Hans Blankenhaus
01203d884c
fix classDB
2023-10-08 15:32:40 +02:00
Hans Blankenhaus
846fb3f8f8
making consitent config imports from diagramAPI
2023-10-08 14:17:45 +02:00
Knut Sveidqvist
47acc1e423
Fix for issue with backticks in ids in classDiagrams
2023-09-29 13:38:00 +02:00
Sidharth Vinod
32729f82b9
Merge branch 'develop' into sidv/removeDirectiveGrammar
...
* develop: (26 commits)
chore: Fix unit tests
chore(deps): update all patch dependencies
Update docs
chore: remove unneeded `CommomDB`
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
fix : #4691 Align arrowheads properly in sequenceDiagram
chore: move `commonDb` into `diagrams/common/commonDb`
Update docs
run prettier fix
Apply suggestions from code review
chore: Add comments in edge handling
chore: Make aggregation arrow transparent
chore: Remove structuredClone
chore: Make extension arrow transparent
chore: Align edge markers properly in class
...
2023-09-06 18:36:02 +05:30
Sidharth Vinod
ebaabbf19a
Merge pull request #4786 from mermaid-js/sidv/2685_supportMember
...
Support member definition to initialize class
2023-09-05 16:16:15 +00:00
Sidharth Vinod
c38478f6c3
Merge branch 'develop' into sidv/2685_supportMember
2023-09-05 13:58:53 +00:00
Sidharth Vinod
5ed155508a
Merge branch 'develop' into sidv/removeDirectiveGrammar
...
* develop: (31 commits)
chore: Update docs
New Mermaid Live Editor for Confluence Cloud (#4814 )
Update link to Discourse theme component (#4811 )
Update flowchart.md (#4810 )
chore: Update docs
"CSS" instead of "css" in flowchart.md (#4797 )
Update CONTRIBUTING.md
Update CONTRIBUTING.md
fix: typos (#4801 )
chore: Align with convention
add additional test case
chore(deps): update all patch dependencies
chore(deps): update all minor dependencies
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
...
2023-09-05 14:33:40 +05:30
Sidharth Vinod
82404dd0f6
Merge branch 'develop' into move-commondb-to-common-dir
2023-09-05 05:47:11 +00:00
Reda Al Sulais
a61887f5a2
chore: move commonDb into diagrams/common/commonDb
2023-09-02 17:51:33 +03:00
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
3678ad4e9d
modifications to generic parser
2023-08-25 13:08:51 -07:00
Justin Greywolf
8e64995047
Merge branch 'develop' into UpdateClassMemberHandling
2023-08-25 10:58:49 -07:00
Sidharth Vinod
f0883be0e3
refactor: Update DBs to remove directive handling
2023-08-25 12:55:35 +05:30
Sidharth Vinod
11b599d77c
chore: Fix type imports
2023-08-22 13:44:11 +05:30
Justin Greywolf
6abf0f1d19
Merge branch 'develop' into UpdateClassMemberHandling
2023-06-29 08:55:37 -07:00
Justin Greywolf
7b2ef1110a
update tests and db name
2023-06-28 12:37:32 -07:00
Tom PERRILLAT-COLLOMB
61e5dbeaa6
fix(class): keep members in namespace classes
2023-06-25 00:15:35 +02:00