Commit Graph

173 Commits (b6c2c3b56b3568c9c2bfe7c595877e576a56ec06)

Author SHA1 Message Date
Thomas Bouffard 6e6009aebd
docs: build the user documentation with Docusaurus (#264)
Initiate the website with Docusaurus v3.
Setup the site and includes the content that was already available in
the `docs` package.
The currently implementation mainly uses the default theme available
when using the Docusaurus scaffolding. It was initiated with:
`npx create-docusaurus@3.0.0 my-website classic`
2023-11-27 18:53:52 +01:00
Thomas Bouffard 13211edb28
docs: improve the release process (#177)
Clarify some git operations.
Also
- move an image to the packages/docs for future reuse in the
documentation.
- don't run the GitHub "build" workflow when the docs package or some
markdown files change.
2023-05-22 16:13:33 +02:00
Thomas Bouffard ed2ae41428
refactor(docs): move all docs sources to a dedicated docs package (#168)
Keep the former mxGraph documentation to allow a later documentation
migration.
Remove both the former mxGraph and the new maxGraph API docs as they can
be generated.
Remove the former mxGraph examples home page as it has been replaced by
Storybook.

Update the configuration to generate the maxGraph API docs
  - remove jsdoc resources as it is not used anymore
- configure the core package to generate the API docs in the docs
package
- add a GitHub workflow to ensure we can generate the API docs without
errors
2023-01-09 16:03:52 +01:00
Thomas Bouffard 6180434a5f
doc: explain the maxGraph mission and status in the README (#93)
The README is the main entry point of the lib. It should provide the main information about the project and should attract potential users.
Previously, it was a mix of technical information and outdated sentences about the good old mxGraph.

This is a first attempt to improve things. In short
- First present what the lib does and the project status.
- Then, provide a code example and a gif to let potential users see the rendering at a glance.
- Remove inaccurate content and refresh the project history.
2022-07-04 19:49:49 +02:00
Dave Morrissey 413796ad32
Finish converting core to ts, JSDoc conversion, consistency+convention changes, example bugfixes (#70)
* reorganised directories; removed mx prefix

* reduced directory hierarchies; removed mx prefix; type fixes

* convert remaining javascript to ts

* fix/add types

* add type defs

* type updates; moved codecs to where they're used

* reorganise constants into enums+type additions

* removed "Function:" and "Variable:" prefixes from comments, as they aren't needed in JSDoc

* removed "Function:", "Variable:" and "Class:" prefixes from comments, as they aren't needed in JSDoc

* removed "Function:" prefixes from comments, as they aren't needed in JSDoc

* minor changes

* convert code example blocks to markdown

* module casing updates

* converted parameter function documentation to JSDoc

* documentation+type updates

* removed react subdir (for now)

* reorganised various `utils` functions into different files

* type updates/bugfixes/workarounds

* rename Rubberband and CellEditor to be *Handler to match the other plugins

* move codec classes to where they're used to reduce cyclic dependencies

* move codec classes to where they're used to reduce cyclic dependencies

* type updates/reorganize layout file structure

* renamed various files for consistency

* import fixes

* renamed GraphHandler SelectionHander and various fixes

* convert EventObject parameters to objects

* add basic better-docs config

* update better-docs config

* bugfix for shared variables in Graph persisting across instances

* fixed accessing handlers in examples; renamed Model to GraphModel

* fixed accessing handlers in examples; renamed Model to GraphModel

* restored selection model

* bugfix

* renamed getModel to getDataModel

* changed to use graph.batchUpdate() to reduce lines of code

* changed to use graph.batchUpdate() to reduce lines of code

* finished annotations+added TypeDoc

* convert remaining Cell[] instances to CellArray

* convert NaturalDocs links to JSDoc
2022-01-08 12:49:35 +11:00
mcyph 7cc56f30e9 replaced references to `bind` with arrow functions 2021-07-31 20:00:28 +10:00
mcyph 62c9dd8e34 fixed utils references 2021-07-31 19:55:25 +10:00
mcyph 92e446acb2 conversions to typescript and type fixes 2021-07-12 22:13:45 +10:00
mcyph 960813ca1b conversions to typescript and type fixes 2021-06-13 16:13:43 +10:00
mcyph 9d2e144637 started refactoring+reorganising core to not have mx prefix, and breaking up mxGraph into smaller classes for easier maintenance 2021-06-06 23:15:04 +10:00
mcyph 40d5834b7c bugfixes 2021-05-03 00:06:49 +10:00
mcyph 7cac8a2a86 bugfixes 2021-05-02 23:59:43 +10:00
mcyph fe7ac7e84d bugfixes 2021-05-02 23:56:17 +10:00
mcyph 707605cedd removed all mxConstants.STYLE_* references, now referring to keys directly 2021-05-02 16:04:34 +10:00
mcyph 2bcacecc7e various bugfixes 2021-04-25 20:47:53 +10:00
mcyph 6f9c47802b moved calls isCellCollapsed and others from mxGraph to mxCell 2021-04-25 17:22:00 +10:00
mcyph 6191c9944d changed mxGraph.getCellGeometry(cell) calls to be cell.getGeometry() directly 2021-04-25 12:12:27 +10:00
mcyph b0d978fb8e reverted to using mxCell functions directly rather than through mxGraphModel 2021-04-17 22:19:36 +10:00
mcyph 404856f819 temporarily moved example file 2021-03-25 17:29:07 +11:00
mcyph 40f169c0ea temporarily moved examples which need refactoring to docs/stashed to allow compilation 2021-03-25 17:23:29 +11:00
mcyph 860925b8fa large batch convert `var` to `let` 2021-03-21 12:24:29 +11:00
mcyph 5014534f47 as per license file added note files have been modified 2021-03-21 11:14:27 +11:00
mcyph fc98630dad updates to js syntax 2021-03-20 19:07:56 +11:00
davidjgraph 81dcd5cc86 4.2.2 release 2020-10-28 16:11:03 +00:00
David Benson [draw.io] 273779f744 4.2.1 release 2020-10-28 14:58:34 +00:00
alderg aa11697fbd 4.2.0 release 2020-06-19 12:31:34 +00:00
alderg 25a2da3d75 4.1.1 release 2020-03-31 14:07:32 +00:00
alderg 34d6129100 4.1.0 release 2020-01-24 13:46:50 +00:00
alderg c73f7a00cb 4.1.0 release 2020-01-24 13:32:03 +00:00
davidjgraph 51382db430 4.0.6 release 2019-11-08 14:59:37 +00:00
Gaudenz Alder 44fb5af106 4.0.5 release 2019-10-17 08:36:14 +00:00
David Benson 91c87f32d9 4.0.4 release 2019-08-20 16:53:06 +00:00
David Benson 12621211ee 4.0.3 release 2019-07-26 16:09:51 +00:00
Gaudenz Alder 47c035808a 4.0.2 release 2019-07-15 10:46:53 +00:00
Gaudenz Alder 7bb0ef2877 4.0.1 release 2019-07-02 06:45:58 +00:00
Gaudenz Alder 33911ed7e0 4.0.0 release 2019-03-11 12:35:15 +00:00
Gaudenz Alder ce8ce34c66 3.9.12 release 2018-12-14 12:08:55 +00:00
Gaudenz Alder 62bca567b0 3.9.12 release 2018-12-14 11:54:12 +00:00
David Benson 55d6851cb4 3.9.11 release 2018-11-06 11:46:01 +00:00
Gaudenz Alder 4f680fe27e 3.9.10 release 2018-10-08 12:01:08 +00:00
Gaudenz Alder d5c1345ec9 3.9.9 release 2018-09-21 08:36:59 +00:00
David Benson bc595336f9 3.9.8 release 2018-07-06 13:52:46 +00:00
David Benson f4ec51f704 3.9.7 release 2018-06-22 14:18:02 +00:00
Gaudenz Alder e7f3573c91 3.9.6 release 2018-05-31 06:15:25 +00:00
Gaudenz Alder 641f6cca66 3.9.5 release 2018-05-24 09:27:17 +00:00
Gaudenz Alder e6a6ed657d 3.9.4 release 2018-05-17 07:19:42 +00:00
David Benson 02112de29a 3.9.3 release 2018-03-05 17:18:28 +00:00
Gaudenz Alder 5862280aa4 3.9.2 release 2018-02-28 22:01:56 +00:00
Gaudenz Alder dd54a4dc85 3.9.1 release 2018-01-27 00:40:48 +00:00
Gaudenz Alder ec3d5af0ee 3.9.0 release 2018-01-19 15:30:59 +00:00