Commit Graph

662 Commits (3e9b9b8e77a316a0e22a5c2c7213d2180cc3889b)

Author SHA1 Message Date
Junsik Shim 3494d0fb8a
Merge pull request #74 from maxGraph/fix/storybook_startup_and_warnings
chore(storybook): fix server start and warnings
2022-01-21 11:01:56 +09:00
Thomas Bouffard 14f5815149 chore(storybook): fix server start and warnings
Remove the extra NODE_OPTIONS in storybook server start script that generated an
error.
Remove cross-env devDependency which is then not used anymore.
Fix storybook deprecation warning (static dirs)
2022-01-19 21:13:05 +01:00
Dave Morrissey 73f5a5979c started refactor of currently unused stories in `stashed` folder 2022-01-18 18:46:56 +11:00
Thomas Bouffard fb7819f92a
chore: fix build error and introduce a build github workflow (#71)
Fix imports that are not respecting the case of the filenames.

The build often has errors and they are only detected after a developer pull the `development` branch on their local machine.
To early catch build failures, add a GitHub workflow that runs a build command.
2022-01-14 06:17:38 +01: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
Thomas Bouffard 8d1c0de603
Merge pull request #58 from Seebiscuit/dev/fix-no-fo 2021-12-01 11:42:56 +01:00
Dave Morrissey 0114966be2 removed package-lock 2021-11-27 17:51:49 +11:00
Dave Morrissey bd70a74074 workarounds for node 17 2021-11-27 17:51:03 +11:00
Dave Morrissey c9753a2691 update packages and remove circular dependancies 2021-11-27 17:17:08 +11:00
Gary Kaganas 07d1b628ec fix(mxClient) Fixes NO_FO (foreignObject support is not available) test 2021-11-09 14:09:08 -05:00
Junsik Shim 74b67a60a4 Fixed some errors. 2021-10-20 10:28:27 +09:00
Junsik Shim 70f35a36ee Formatted some codes. 2021-10-18 16:58:40 +09:00
Junsik Shim 5242e3dbc3 Fixed edgestyle bug. 2021-10-18 10:40:21 +09:00
Junsik Shim 74fb23eb4e Fix Anchors story. 2021-10-18 10:22:04 +09:00
Junsik Shim 570dfaab7b Fix Anchors story. 2021-10-18 10:21:31 +09:00
Junsik Shim 88eee80173 Fixing stories... 2021-09-13 08:57:22 +09:00
Junsik Shim eda54946bb Fixing stories... 2021-09-12 23:39:02 +09:00
Junsik Shim e3562c8a08 Fixing stories... 2021-09-10 14:17:59 +09:00
Junsik Shim 4a624db9f7 Trying to run HelloWorld... 2021-09-09 14:40:34 +09:00
Junsik Shim a7429b2a54 Trying to run HelloWorld... 2021-09-09 10:14:59 +09:00
Junsik Shim 65d800d5be Trying to run HelloWorld... 2021-09-08 10:05:28 +09:00
Junsik Shim 2482ec10e9 Trying to run HelloWorld... 2021-09-07 21:21:22 +09:00
Junsik Shim bdc50a9f48 Refactored everything... 2021-09-07 18:07:27 +09:00
Junsik Shim 4316d4f5e5 - Trying to get the stories working... 2021-09-01 23:04:33 +09:00
Junsik Shim 0adb9fa1d3 - Refactored the stories for storybook to work 2021-08-30 23:20:26 +09:00
Junsik Shim 61648e43ce - Converting *Handlers into plugins.
- Keep resolving errors.
2021-08-30 18:45:01 +09:00
Junsik Shim 648e324cc0 - Converting *Handlers into plugins.
- Keep resolving errors.
2021-08-09 09:34:19 +09:00
Junsik Shim c89ce4cea4 Merge branch 'mcyph-graph-refactor' of https://github.com/jsGraph/mxgraph into mcyph-graph-refactor 2021-08-01 11:26:49 +09:00
Junsik Shim bc400a3ae3 - Converted Graph* classes into mixins.
- Created MaxGraph type to expose.
- CellStateStyles is now more concrete.
- More compiler errors are resolved.
2021-08-01 11:21:57 +09:00
Dave Morrissey 6dd7e4f96d
Merge pull request #52 from mcyph/master
updated references to utils functions
2021-07-31 20:49:08 +10: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
Dave Morrissey 061ff34917
Merge pull request #1 from maxGraph/mcyph-graph-refactor
Mcyph graph refactor
2021-07-31 15:13:20 +10:00
Junsik Shim 49b307a557 Refactored more.
- image-related classes
 - event-related classes
2021-07-24 10:33:24 +09:00
Junsik Shim 0453da274f Refactored all the shapes.
- removed nullable fields.
 - removed getValue() calls.
 - CellStateStyles is explicit.
2021-07-23 14:26:59 +09:00
Dave Morrissey 6f99937cdb
Merge pull request #49 from mcyph/master
Convert more files to typescript
2021-07-12 22:22:31 +10:00
mcyph 92e446acb2 conversions to typescript and type fixes 2021-07-12 22:13:45 +10:00
mcyph 0c6b765cac conversions to typescript and type fixes 2021-06-27 23:01:35 +10:00
mcyph 288ba10cf0 conversions to typescript and type fixes 2021-06-27 17:23:33 +10:00
Dave Morrissey 6a159dcc46
Merge pull request #48 from mcyph/master
separate graph into smaller modules
2021-06-13 22:38:19 +10:00
mcyph ff309ee781 conversions to typescript and type fixes 2021-06-13 22:29:29 +10:00
mcyph 960813ca1b conversions to typescript and type fixes 2021-06-13 16:13:43 +10:00
mcyph 29fff201da cleanups, and started preferring for ... of loops over for (i=0; ... when feasible 2021-06-07 21:10:38 +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 f76a172cae started refactoring+reorganising core to not have mx prefix, and breaking up mxGraph into smaller classes for easier maintenance 2021-06-06 23:04:44 +10:00
mcyph 8d16eafd80 started refactoring+reorganising core to not have mx prefix, and breaking up mxGraph into smaller classes for easier maintenance 2021-06-06 14:23:36 +10:00
mcyph 11b3c1cf15 type fixes 2021-06-05 20:35:12 +10:00
mcyph 29725cebc1 type fixes 2021-06-05 20:14:01 +10:00
mcyph 55be71c4ef Merge remote-tracking branch 'junsik/development'
# Conflicts:
#	packages/core/src/atomic_changes/mxSelectionChange.ts
#	packages/core/src/view/cell/mxCell.ts
#	packages/core/src/view/cell/mxCellArray.ts
#	packages/core/src/view/connection/mxMultiplicity.ts
#	packages/core/src/view/graph/mxGraph.ts
#	packages/core/src/view/graph/mxGraphModel.ts
2021-06-05 17:48:31 +10:00
mcyph 40d12f9745 removed ts check comments which match and converted mxCell[] references to mxCellArray 2021-06-05 17:24:20 +10:00