Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maxgraph/core

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxgraph/core - npm Package Versions

2

0.13.1

Diff

Changelog

Source

0.13.1

Release date: 2024-11-04

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

This release contains documentation improvements and bug fixes.

tbouffard
published 0.13.0 •

Changelog

Source

0.13.0

Release date: 2024-08-19

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

This new version improves the management of plugins and the overall documentation available in the website.

Breaking Changes

  • In Graph, the properties related to the plugins are now private. This change should not impact users as these properties were not intended to be used directly. Plugins are assumed to be initialized only by passing them to the Graph constructor and retrieved with the getPlugin method.
tbouffard
published 0.12.0 •

Changelog

Source

0.12.0

Release date: 2024-07-05

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

This release contains enhancements, documentation improvements and bug fixes.

Breaking Changes

  • VertexHandler.rotationEnabled has been removed as it was not possible to correctly change its value. Use VertexHandlerConfig.rotationEnabled to configure the rotation behavior globally or override the VertexHandler.isRotationEnabled method.
tbouffard
published 0.11.0 •

Changelog

Source

0.11.0

Release date: 2024-06-09

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

This release contains enhancements, documentation improvements and bug fixes.

Breaking Changes

  • In StencilShape, the allowEval and defaultLocalized static properties have been removed. Configure these properties using StencilShapeConfig.
  • Logs are no longer sent to MaxLog by default. To restore the previous behavior, change maxGraph's global configuration with:
GlobalConfig.logger = new MaxLogAsLogger();
  • MaxWindow.activeWindow is no longer available; it was intended for internal use only, so there's no reason to make it public.
  • The signature of cellArrayUtils.getOpposites has changed. It now returns an array and take an edges Cell array parameter. Previously it was returning a function and this was an extra indirection. This is now simpler to use and match the signature of the mxGraph function.
  • cellArrayUtils.restoreClone is no longer available. It was intended to be private.
  • The signature of cellArrayUtils.cloneCells has changed. It now returns an array of Cells instead of a function.
  • The GraphDataModel.cloneCell function has been moved to the cellArrayUtils namespace. The function doesn't use any internal GraphDataModel state, and moving it into cellArrayUtils is consistent with the cloneCells function already there.
tbouffard
published 0.10.3 •

Changelog

Source

0.10.3

Release date: 2024-05-29

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

This release contains bug fixes.

tbouffard
published 0.10.2 •

Changelog

Source

0.10.2

Release date: 2024-05-24

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

This release contains bug fixes.

tbouffard
published 0.10.1 •

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
2
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc