Socket
Socket
Sign inDemoInstall

@maxgraph/core

Package Overview
Dependencies
0
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

0.10.1

Diff

Changelog

Source

0.10.1

Release date: 2024-04-23

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

This release contains documentation improvements and bug fixes.

tbouffard
published 0.10.0 •

Changelog

Source

0.10.0

Release date: 2024-04-19

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

This release contains enhancements, documentation improvements and bug fixes.

tbouffard
published 0.9.0 •

Changelog

Source

0.9.0

Release date: 2024-04-08

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

This release contains documentation improvements and bug fixes.

Breaking Changes

  • it is no longer possible to pass a 'n' value for the max property of the Multiplicity class. Pass null instead to have the same effect.
tbouffard
published 0.8.0 •

Changelog

Source

0.8.0

Release date: 2024-02-14

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

This release contains new features and bug fixes.

Breaking Changes They mainly impacts TypeScript users and impacts are limited:

  • rename the StyleArrayValue type into StyleArrowValue. This only has an impact on TypeScript users who use this type explicitly, which should happen rarely.
  • Perimeter is no longer a class but a value object. This only impact users that had extended the Perimeter class. Regular user that define perimeter style properties using function provided by maxGraph are not impacted by this change.
  • CellState.perimeter no longer accept Function, but only the PerimeterFunction.
    • Passing an arbitrary Function was incorrect and always failed at runtime.
    • This change should not impact people using working implementation of perimeter function (including these provided by maxGraph) as they already have the right signature. Implementers of custom perimeter in TypeScript may have to slightly update their perimeter function declaration.
  • CellStateStyle.loopStyle no longer accept Function, but only the EdgeStyleFunction (limited impacts like on the perimeter property)
  • Graph.createEdgeHandler only accepts EdgeStyleFunction for the edgeStyle parameter.
  • GraphView signature method changes
    • getPerimeterPoint can now return null
    • getPerimeterBounds no longer accept null CellState and no longer returns null
  • Some internal methods of EdgeStyle are no longer available:
    • scaleCellState
    • scalePointArray
tbouffard
published 0.7.0 •

Changelog

Source

0.7.0

Release date: 2024-01-20

This release contains new features and bug fixes.

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

tbouffard
published 0.6.0 •

Changelog

Source

0.6.0

Release date: 2023-12-22

Breaking Changes

  • Codecs supplied by maxGraph are no longer registered by default. They MUST be registered before performing an encode or decode. You can use one of the following functions to register codecs:
    • registerAllCodecs
    • registerCoreCodecs
    • registerEditorCodecs

To serialize the maxGraph model, you can use the ModelXmlSerializer class, which registers codecs under the hood.

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

tbouffard
published 0.5.0 •

Changelog

Source

0.5.0

Release date: 2023-12-07

This release contains new features, bug fixes and documentation improvements.

Breaking Changes

  • the UMD bundle is no more provided in the npm package.

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

tbouffard
published 0.4.1 •

Changelog

Source

0.4.1

Release date: 2023-10-30

This release contains bug fixes and internal improvements.

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

tbouffard
published 0.4.0 •

Changelog

Source

0.4.0

Release date: 2023-09-14

This release contains new features, bug fixes and documentation improvements.

Major improvements

  • introduce the Manhattan connector

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

tbouffard
published 0.3.0 •

Changelog

Source

0.3.0

Release date: 2023-07-07

This release contains new features, bug fixes and documentation improvements.

Breaking Changes

  • types: Stylesheet.getDefaultVertexStyle and Stylesheet.getDefaultEdgeStyle no longer return undefined.
  • remove the CellMap type. It was not used in the maxGraph code, which should have no impact.

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

2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc