refactor!: remove extra getDefault functions and related functions by tbouffard · Pull Request #662 · maxGraph/maxGraph

@tbouffard

BREAKING CHANGES: Some utility functions formerly used to retrieve default value of `CellStateStyle` and `CellStyle` properties,
mainly intended to only be used internally, have been removed.
Use the nullish coalescing operator (??) and the optional chaining (?.) instead.
Removed functions:
  - `utils.getValue`
  - `stringUtils.getColor`
  - `stringUtils.getNumber`
  - `stringUtils.getStringValue`

coderabbitai[bot]

@tbouffard

…nction

# Conflicts:
#	CHANGELOG.md
#	packages/core/src/util/Utils.ts

coderabbitai[bot]

@tbouffard tbouffard deleted the fix/_wip_fix_defaults_and_remove_getValue_function branch

February 16, 2025 13:27

This was referenced

Feb 16, 2025

This was referenced

Mar 29, 2025

This was referenced

Apr 23, 2025