835bfe7ce9
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. |
||
---|---|---|
.. | ||
docs | ||
old-mxgraph | ||
src | ||
static | ||
.gitignore | ||
README.md | ||
babel.config.js | ||
docusaurus.config.ts | ||
package.json | ||
sidebars.ts | ||
tsconfig.json |
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.