maxGraph/packages/core
Thomas Bouffard 77a7359985
fix: ensure decode works without encode first (#297)
Declare generic `ObjectCodec` for `Cell` properties that are defined as
XML node. Codecs are currently only registered automatically during
encode/export, so for now, they have to be registered to be available
during decode/import.

Also improve some methods signatures in base Codec objects (use specific
types instead of `any`).
2024-01-09 06:01:45 +01:00
..
__tests__ fix: ensure decode works without encode first (#297) 2024-01-09 06:01:45 +01:00
css Finish converting core to ts, JSDoc conversion, consistency+convention changes, example bugfixes (#70) 2022-01-08 12:49:35 +11:00
images - Add css support in storybook. 2021-04-24 21:30:30 +09:00
src fix: ensure decode works without encode first (#297) 2024-01-09 06:01:45 +01:00
LICENSE docs: include License and Readme files in the npm package (#144) 2022-11-22 07:49:05 +01:00
README.md docs: improve the getting started documentation (#292) 2023-12-21 07:58:27 +01:00
jest.config.cjs ci: upload test coverage results (#298) 2023-12-29 07:24:34 +01:00
package.json chore(release): prepare version 0.6.0 2023-12-22 08:26:38 +01:00
tsconfig.json chore!: only include ESM in the npm package (#266) 2023-12-03 16:51:40 +01:00

README.md

@maxgraph/core

maxGraph is a TypeScript library which can display and allow interaction with vector diagrams. At a high level, it provides:

  • Nodes, also known as vertices which are typically represented by shapes like rectangles.
  • Edges which can be lines and arrows which normally point between one node and another.

It provides many of the diagramming features which would be expected by a piece of presentation software like Microsoft® PowerPoint™ or LibreOffice® Impress such as being able to resize, move or rotate nodes, but has a stronger focus on automatic layout algorithms and applications of Graph Theory. It is suited towards software which requires finer-grained customization of functionality than off-the-shelf packages.

For more details, see the maxGraph GitHub repository.

Install

npm install @maxgraph/core

Getting started

All the information is available in the README of the GitHub repository.