Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2025

Bumps @maxgraph/core from 0.21.0 to 0.22.0.

Release notes

Sourced from @​maxgraph/core's releases.

0.22.0

Version 0.22.0 released on 2025-12-11.

⚡ This new version makes default style properties globally configurable and includes bug fixes for a smoother developer experience. ⚡

Resources

TODO: Validate the milestone URL and update it if needed

Highlights

Globally configurable default style properties

Previously, changing default styles required local configuration per Graph instance using a Stylesheet. It was also not possible to configure the rounding factor used when a vertex uses a non absolute arcSize, because there was no dedicated cell style property for that. This release solves these limitations by making the built-in defaults globally configurable.

The StyleDefaultsConfig object has been extended to allow customization of default style values that were previously hardcoded as constants. All direct references to DEFAULT_* constants in the codebase are now replaced with StyleDefaultsConfig property access. This means you can change these defaults at runtime without updating stylesheets on every Graph instance.

New configurable properties include:

  • Font settings: fontFamily, fontSize
  • Arrow settings: arrowSize, arrowSpacing, arrowWidth
  • Size settings: markerSize, imageSize, startSize
  • Rounding: roundingFactor, lineArcSize

You can now globally customize these defaults at runtime like this:

import { StyleDefaultsConfig } from '@maxgraph/core';
// Change default marker size
StyleDefaultsConfig.markerSize = 10;
// Change default image size for labels
StyleDefaultsConfig.imageSize = 32;
// Change default swimlane start size
StyleDefaultsConfig.startSize = 50;
// Change default rounding factor
</tr></table>

... (truncated)

Changelog

Sourced from @​maxgraph/core's changelog.

0.22.0

Release date: 2025-12-11

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

This new version makes default style properties globally configurable and includes bug fixes for a smoother developer experience.

Commits
  • 2e5ec21 chore(release): prepare version 0.22.0
  • 0b9d1dd fix(VertexHandler): fix top-left resize handle behavior (#968)
  • 5c035c1 ci: publish npm package with trusted publisher (#972)
  • a68bb58 chore: build with node 24 (#971)
  • 87df189 fix: restore tooltip display when PopupMenuHandler is unavailable (#970)
  • 1be0a47 chore(deps-dev): bump typescript-eslint from 8.48.1 to 8.49.0 (#969)
  • 9f36e90 docs: enhance bug report template with additional guidance (#967)
  • 278c779 chore(deps-dev): bump the lint group with 2 updates (#965)
  • fc7c490 chore: add react patterns to dependabot configuration (#964)
  • ca17acc chore(deps-dev): bump prettier from 3.6.2 to 3.7.3 (#962)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​maxgraph/core since your current version.


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.21.0 to 0.22.0.
- [Release notes](https://github.com/maxGraph/maxGraph/releases)
- [Changelog](https://github.com/maxGraph/maxGraph/blob/main/CHANGELOG.md)
- [Commits](maxGraph/maxGraph@v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: "@maxgraph/core"
  dependency-version: 0.22.0
  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 11, 2025
@sonarqubecloud
Copy link

@tbouffard tbouffard merged commit 7cdb748 into main Dec 11, 2025
18 checks passed
@tbouffard tbouffard deleted the dependabot/npm_and_yarn/maxgraph/core-0.22.0 branch December 11, 2025 10:23
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