* next: (39 commits)
reset the testTimeout to 5 seconds and change it directly in the test
update testTimeout from 5 seconds to 10 seconds
Update all patch dependencies
fix broken link
add latest blog post
Update all minor dependencies
fix linting
fix: set proper shiki theme for light and dark modes
fix: change shiki theme to github-light
add latest blog post
GitGraph: made reroute fn more readable
GitGraph: simplified branch check in arrow rerouting fn
GitGraph: added commit IDs to e2e test to remove false positives
GitGraph: Moved branch curve check to within reroute check fn
GitGraph: corrected minor typo in comment.
GitGraph: added 2x e2e tests for branches not used immediately
GitGraph: added branch checking to rerouting
GitGraph: Added e2e tests for deferred branch use.
GitGraph: e2e tests, added commit IDs to test graphs
GitGraph: fixed an e2e branch for vertical branch
...
* develop: (39 commits)
reset the testTimeout to 5 seconds and change it directly in the test
update testTimeout from 5 seconds to 10 seconds
Update all patch dependencies
fix broken link
add latest blog post
Update all minor dependencies
fix linting
fix: set proper shiki theme for light and dark modes
fix: change shiki theme to github-light
add latest blog post
GitGraph: made reroute fn more readable
GitGraph: simplified branch check in arrow rerouting fn
GitGraph: added commit IDs to e2e test to remove false positives
GitGraph: Moved branch curve check to within reroute check fn
GitGraph: corrected minor typo in comment.
GitGraph: added 2x e2e tests for branches not used immediately
GitGraph: added branch checking to rerouting
GitGraph: Added e2e tests for deferred branch use.
GitGraph: e2e tests, added commit IDs to test graphs
GitGraph: fixed an e2e branch for vertical branch
...
* develop: (126 commits)
Update all patch dependencies
Fix docs
Update packages/mermaid/src/docs/community/questions-and-suggestions.md
Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts
update edge ids
draw top actors with lines first followed by messages
Bump GitHub workflow actions to latest versions
Update docs
Documentation: clarify sentence
Fix lint
Fix typo
fix typo
Add new Atlassian integrations
chore(deps): update all patch dependencies
Update demos/sequence.html
chore: release v10.6.1
fix
fix
fix: render the participants in same order as they are created
fix(flow): fix invalid ellipseText regex
...
My focus earlier on had been on relationship to `main` branch
so this is to ensure that we have some tests that cover
relationship between a pair of branches that doesn't
include `main`.
In these tests, a new branch is created but then a commit is made
on the main branch before the new branch gets a commit. This
important to see what happens with rerouting of arrows.
Suggested by @nirname in PR review of #4927.
Followed practice of other tests so that commit IDs are
stabilised (i.e., not randomly generated) and therefore
don't show repeatedly in Cypress diff output screenshots
The `theme-directives.html` test currently sometimes takes a screenshot
before all of the Mermaid diagrams have completed rendering.
We can use the `urlSnapshopTest()` helper function, which waits until
a `.rendered` property exists on the page.
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
Sometimes, Cypress takes the screenshot for marker_unique_id.html early,
before mermaid has finished rendering the diagrams.
Fixes: 924c9e913b665f22f9a3401dbf31857579833ca4
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
* develop:
Bump version
chore: Fix type in 'getLineFunctionsWithOffset'
Update cypress/platform/marker_unique_id.html
refactor: Add getLineFunctionsWithOffset function
refactor: Move EdgeData to types
fix: PointStart marker refX
Added cypress test
chore(deps): update all patch dependencies
refactor: Fix typings in utils.ts
Give markers unique id's per graph
chore: Add @internal to createCSSStyles
chore: Bump version
refactor: Remove unused variables
fix: #4818 support `getClasses` in external diagrams.
* develop:
Remove unnecessary tests
Remove optional chaining
refactor: Use `||` instead of `??`
core: Adapt changes from 3f7bafb2d7
Update cypress/helpers/util.js
chore: Add deprecation notices, improve types
chore: Cleanup gitGraph tests
Update README.md
refactor: Move setWrap to individual diagrams as necessary.
refactor: Remove directives from grammar
refactor: Update DBs to remove directive handling
refactor: Move directive processing before parsing
I refactored the code to improve its time complexity by removing unnecessary code and optimizing the existing code.