-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor shapes definition #5923
Conversation
|
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
2f0f227
to
218bfe1
Compare
commit: |
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
* develop: fix: Hard code handDrawnSeed
* develop: chore: move handDrawnSeed to mermaidUrl function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! This seems a lot easier to work with!
packages/mermaid/src/rendering-util/rendering-elements/shapes.ts
Outdated
Show resolved
Hide resolved
packages/mermaid/src/rendering-util/rendering-elements/shapes.ts
Outdated
Show resolved
Hide resolved
packages/mermaid/src/rendering-util/rendering-elements/shapes.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Alois Klink <[email protected]>
Co-authored-by: Alois Klink <[email protected]>
📑 Summary
Organizes the shapes definition, so that we can utilize it better.
📏 Design Decisions
The new structure allows us to have a single source of truth for the shape data. This can be used to auto generate documentation, tests etc.
📋 Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.pnpm changeset
and following the prompts. Changesets that add features should beminor
and those that fix bugs should bepatch
. Please prefix changeset messages withfeat:
,fix:
, orchore:
.