Commit Graph

6936 Commits

Author SHA1 Message Date
Sidharth Vinod f019250494
Merge pull request #3916 from aloisklink/fix/use-determenistic-uuids-for-er-diagrams
fix(er): switch to deterministic UUIDs in ER
2022-12-16 12:44:12 +05:30
steph 528facf88d minor syntax update 2022-12-15 13:11:07 -08:00
Alois Klink 7855edae6b
perf(er): pre-calculcate er UUID namespace
Pre-calculate the entity-relationship diagram namespace UUID.

This UUID is always constant, so we can pre-calculate it to save a
bit of processing power on the client.

Co-authored-by: "Ashley Engelund (weedySeaDragon @ github)" <ashley.engelund@gmail.com>
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2022-12-15 20:22:39 +00:00
Sidharth Vinod 33f78a5429
Merge branch 'master' into develop
* master:
  Fix book link
  Add book landing page back
2022-12-16 01:28:42 +05:30
Sidharth Vinod 60d0185698
Fix book link 2022-12-16 01:27:15 +05:30
Sidharth Vinod 2743b72a87
Add book landing page back 2022-12-16 01:12:50 +05:30
ashishj 61ef4692b0 Updated documentation and examples 2022-12-15 20:24:13 +01:00
Sidharth Vinod 7b13b489c2
Merge branch 'master' into develop
* master: (23 commits)
  Update vitepress
  fix: Add icon css
  fix Top level await
  v9.3.0
  bump dagre-es 7.0.6
  Bump mermaid version
  Update dagre-es
  Bump mermaid version
  fix: Incorrect removal of existing elements
  fix: add .js to external imports.
  fix: add .js to external imports.
  Bump mermaid version
  fix: add .js to external imports.
  Bump mermaid version
  fix: Throw correct errors when parsing diagrams with errors
  Update url snapshot test for external diagrams
  Update url snapshot test for external diagrams
  Updated package number
  Updated package number
  Updated package number to 9.3.0-rc1
  ...
2022-12-16 00:51:16 +05:30
Sidharth Vinod d6ddf9568e
Fix theming doc 2022-12-16 00:49:35 +05:30
ashishj 6ab7eb55cb Updated styling and added documentation 2022-12-15 20:14:49 +01:00
Sidharth Vinod ec026eaf82
Fix book link 2022-12-16 00:37:37 +05:30
Tom PERRILLAT-COLLOMB c7f085a138 doc(er): add documentation on UK constraint 2022-12-15 19:03:00 +00:00
Tom PERRILLAT-COLLOMB 32a8061cc2 feat(er): add UK attribute constraint
Any attribute can now be PK, FK or UK
2022-12-15 18:55:08 +00:00
Sidharth Vinod d6fad1bbd8
Merge pull request #3890 from BD103/patch-1
Add links to theme listing
2022-12-16 00:24:15 +05:30
BD103 e2b05d3cf6 Update docs 2022-12-15 18:24:23 +00:00
BD103 1495baac2c
Merge branch 'develop' into patch-1 2022-12-15 13:20:45 -05:00
Alois Klink ac5a1b4501
fix(er): switch to deterministic uuids in ER
The entity relation diagram uses uuid v4, which is randomly generated.

uuid v5 uses a SHA-1 hash, which makes the uuid deterministic.

The input strings are unique for each diagram, so this should be
okay.
2022-12-15 18:00:48 +00:00
Sidharth Vinod ff7ed7f49f
Merge branch 'develop' of https://github.com/mermaid-js/mermaid into develop
* 'develop' of https://github.com/mermaid-js/mermaid: (40 commits)
  lint
  fix typescript error
  fix(docs): build the docs
  fix(docs): remove duplicate section
  chore(deps): update all non-major dependencies
  Update docs/misc/integrations.md
  Add links to github atom add-ons
  remove links from atom.io; add note Atom has been archived
  set svg role to 'graphics-document document'
  common function for a11y; add to renderAsync; + renderAsync spec
  fix cspell
  fix cspell
  fix lint
  refactor theming doc
  remove typeof
  use camelCase
  make test title clearer
  update /docs
  add test for multi-line accDescr
  use MockedD3, spies in util insertTitle spec (remove MockD3)
  ...
2022-12-15 21:50:06 +05:30
Sidharth Vinod 333b974f10
Add `workflow_dispatch` to lint.yml 2022-12-15 21:50:00 +05:30
Sidharth Vinod 01039c574c
Merge pull request #3914 from tommoor/patch-1
fix: Typescript error in usage
2022-12-15 21:45:06 +05:30
Sidharth Vinod 4e70f327c4
Merge pull request #3897 from weedySeaDragon/feat/3896_a11y-svg-role-graphics-doc-doc
feat: Set svg role to 'graphics-document document'
2022-12-15 21:42:08 +05:30
ashishj fefcc43dd4 Merged Develop in timeline branch 2022-12-15 17:10:56 +01:00
ashishj 2141057ab4 add more runnning examples 2022-12-15 17:00:53 +01:00
Sidharth Vinod 54bb2ef00e
Merge pull request #3908 from Joxtacy/patch-1
fix(docs): remove duplicate section
2022-12-15 20:39:52 +05:30
BD103 992d1623a7 chore: update docs folder 2022-12-15 09:46:00 -05:00
Tom Moor 78dd03dcdb lint 2022-12-15 09:29:30 -05:00
Tom Moor 9f2d29b68b
fix typescript error 2022-12-15 06:09:22 -08:00
Sidharth Vinod d841ad8f3e
Update vitepress 2022-12-15 17:09:24 +05:30
Sidharth Vinod 3fb0b2792e
fix: Add icon css 2022-12-15 15:33:51 +05:30
Sidharth Vinod bbc4e90c89
fix Top level await 2022-12-15 14:57:08 +05:30
Knut Sveidqvist 5735efacbe
Merge pull request #3911 from mermaid-js/release/9.3.0
Release/9.3.0
2022-12-15 10:16:12 +01:00
Sidharth Vinod 774512df57
v9.3.0 2022-12-15 14:18:54 +05:30
Sidharth Vinod 152994047e
bump dagre-es 7.0.6 2022-12-15 09:12:08 +05:30
Sidharth Vinod d194e78677
Bump mermaid version 2022-12-14 09:45:34 +05:30
Sidharth Vinod 16b51800d0
Update dagre-es 2022-12-14 09:45:18 +05:30
Sidharth Vinod 2176bef537
Bump mermaid version 2022-12-13 13:44:03 +05:30
Sidharth Vinod 9f9c95b0b3
fix: Incorrect removal of existing elements 2022-12-13 13:42:07 +05:30
Sidharth Vinod 3f0b13a131
fix: add .js to external imports. 2022-12-13 00:38:54 +05:30
Sidharth Vinod 3c44379af9
fix: add .js to external imports. 2022-12-13 00:34:31 +05:30
Sidharth Vinod 1d529d80d1
Bump mermaid version 2022-12-13 00:23:41 +05:30
Sidharth Vinod 89451ca640
fix: add .js to external imports. 2022-12-13 00:22:57 +05:30
Sidharth Vinod fac3a4d29b
Bump mermaid version 2022-12-12 23:52:48 +05:30
Sidharth Vinod d7610dda8f
fix: Throw correct errors when parsing diagrams with errors 2022-12-12 23:51:46 +05:30
Jesper Hasselquist dfa1d26952 fix(docs): build the docs 2022-12-12 22:32:50 +09:00
Jesper Hasselquist 32fcea3bdd
fix(docs): remove duplicate section
Remove duplicate `Return Type` section
2022-12-12 21:39:19 +09:00
renovate[bot] a975c8c9cd chore(deps): update all non-major dependencies 2022-12-12 04:57:37 +00:00
steph e4622ba06e fix text overflow 2022-12-11 20:53:14 -08:00
Maho Pacheco 6fb9b3b353 Adding UTs for attributes with variable length in er diagram 2022-12-11 19:45:05 -08:00
Maho Pacheco 07d8684fc7 Adding size to postal code 2022-12-11 19:34:25 -08:00
steph 1b0ea981f9 update navbar 2022-12-11 18:59:01 -08:00