maxGraph/packages/website
Thomas Bouffard 835bfe7ce9
feat: allow to load an XML-stored model produced by `mxGraph` (#300)
Implementation relies on both the declaration of aliases and the
introduction of dedicated codecs.
`Codec.getCodecByName` now takes aliases into account, so that importing
is fully functional.
The code of some `CodecRegistry` and `Codec` methods has been simplified
(check for nullity of method parameters).

The cell style is converted thanks to a specific utility function that
can serve as an example for those wishing to migrate their applications
from mxGraph to maxGraph.

test
- The `Codec` example has been restored from the stashed directory. It
is now available as a story written in TypeScript.
- The `ModelChecker` utility class was previously used only to validate
the imported model after import from the maxGraph model. It is now
shared and also used in mxGraph import tests. It has also been enhanced
to check the total number of cells in the model.
2024-01-16 11:03:56 +01:00
..
docs feat: allow to load an XML-stored model produced by `mxGraph` (#300) 2024-01-16 11:03:56 +01:00
old-mxgraph docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
src docs: remove extra "markdown-page" page (#274) 2023-12-04 02:35:28 +01:00
static docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
.gitignore docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
README.md docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
babel.config.js docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
docusaurus.config.ts docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
package.json docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
sidebars.ts docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00
tsconfig.json docs: build the user documentation with Docusaurus (#264) 2023-11-27 18:53:52 +01:00

README.md

Website

This website is built using Docusaurus 3, a modern static website generator.

Installation

$ npm install

Local Development

$ npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm build

This command generates static content into the build directory and can be served using any static contents hosting service.