Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

Bumps @maxgraph/core from 0.13.1 to 0.14.0.

Release notes

Sourced from @​maxgraph/core's releases.

0.14.0

⚡ This new version offers more configuration options for vertex and edge handles, and allows certain default style configurations to be globally replaced. ⚡

🎉 We've made it easier to shape your graphs the way you want!

Labels are now editable out of the box ✍️, handles can be customized with ease 🎨, and shadows have new global style options 🌌.

Many thanks to @​HalilFocic for all the fixes provided and those to come! 🙌

Resources

Highlights

Editable Labels and Correct Editing Position

Labels are now editable by default for both vertices and edges, restoring the expected behavior seen in mxGraph.

Previously, due to a bug, making the label editable required configuring the Cell style with:

style.editable = true;

This is no longer necessary.

In addition, when editing a label, the editing area now appears exactly where the label is in "view" mode. Previously, a bug caused it to appear at the bottom of the page, which was... less than ideal. 😅

PR_567_label_edition.webm

[!NOTE] For more details, see issues #567 and #570.

[!TIP] If you want to restore the previous behavior (cells not editable), use one of the following:

const graph = new Graph(container);
// forbid cell label edition
graph.setCellsEditable(false);
// make vertex labels not editable by default (use the getDefaultEdgeStyle to apply the same to the edge labels)
graph.getStylesheet().getDefaultVertexStyle().editable = false;
// and if you want to make the label of a specific vertex editable
vertex.style.editable = true;

... (truncated)

Changelog

Sourced from @​maxgraph/core's changelog.

0.14.0

Release date: 2024-11-27

For more details, see the 0.14.0 Changelog on the GitHub release page.

This new version offers more configuration options for vertex and edge handles, and allows certain default style configurations to be globally replaced.

Commits
  • 62d4c8f chore(release): prepare version 0.14.0
  • 0d6b8c3 feat: allow the use of circles for edge handles (#586)
  • ee67d35 docs: mention examples in the documentation introduction (#585)
  • 0137167 fix(VertexHandle): add missing setPosition call in processEvent (#583)
  • 955427f refactor: simplify the reset config functions (#582)
  • 988ff48 feat: ease configuration of handles in EdgeHandler (#576)
  • 1616fda chore(deps-dev): bump docusaurus from 3.6.0 to 3.6.2 (#579)
  • bf1f874 fix(label): improve editing position and 'label changed" event (#567)
  • 002f573 refactor: use constants.NS_SVG instead of hard coded values (#578)
  • 23a13d0 feat: let configure the defaults value of the shadow styles (#577)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@maxgraph/core](https://github.com/maxGraph/maxGraph) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/maxGraph/maxGraph/releases)
- [Changelog](https://github.com/maxGraph/maxGraph/blob/main/CHANGELOG.md)
- [Commits](maxGraph/maxGraph@v0.13.1...v0.14.0)

---
updated-dependencies:
- dependency-name: "@maxgraph/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies javascript Pull requests that update Javascript code labels Dec 9, 2024
Copy link
Member

@tbouffard tbouffard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️ All checks pass
✔️ Changelog and release-notes reviewed. Nothing impactful for us.
✔️ Tested locally with the artifact built by GH Actions

@dependabot squash and merge

@dependabot dependabot bot merged commit ddc88a3 into main Dec 10, 2024
15 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/maxgraph/core-0.14.0 branch December 10, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant