@joint/core 4.0.3 → 4.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +2 -10
  2. package/dist/geometry.js +4962 -6132
  3. package/dist/geometry.min.js +2 -2
  4. package/dist/joint.d.ts +338 -52
  5. package/dist/joint.js +34067 -37525
  6. package/dist/joint.min.js +2 -2
  7. package/dist/joint.nowrap.js +34067 -37525
  8. package/dist/joint.nowrap.min.js +2 -2
  9. package/dist/vectorizer.js +7288 -8907
  10. package/dist/vectorizer.min.js +2 -2
  11. package/dist/version.mjs +1 -1
  12. package/package.json +10 -15
  13. package/src/{linkTools → cellTools}/Button.mjs +8 -6
  14. package/src/{elementTools → cellTools}/Control.mjs +3 -3
  15. package/src/{linkTools → cellTools}/HoverConnect.mjs +1 -1
  16. package/src/dia/Cell.mjs +60 -33
  17. package/src/dia/CellView.mjs +75 -8
  18. package/src/dia/ElementView.mjs +13 -8
  19. package/src/dia/Graph.mjs +148 -40
  20. package/src/dia/HighlighterView.mjs +8 -4
  21. package/src/dia/LinkView.mjs +61 -4
  22. package/src/dia/Paper.mjs +84 -0
  23. package/src/dia/ToolView.mjs +29 -4
  24. package/src/dia/ToolsView.mjs +25 -10
  25. package/src/dia/attributes/connection.mjs +5 -0
  26. package/src/dia/attributes/defs.mjs +3 -0
  27. package/src/dia/attributes/eval.mjs +3 -3
  28. package/src/dia/attributes/index.mjs +3 -0
  29. package/src/dia/attributes/shape.mjs +4 -0
  30. package/src/dia/attributes/text.mjs +41 -15
  31. package/src/dia/ports.mjs +4 -0
  32. package/src/elementTools/HoverConnect.mjs +5 -5
  33. package/src/elementTools/index.mjs +5 -4
  34. package/src/env/index.mjs +5 -0
  35. package/src/g/rect.mjs +13 -5
  36. package/src/layout/ports/port.mjs +4 -5
  37. package/src/linkTools/Anchor.mjs +1 -1
  38. package/src/linkTools/Arrowhead.mjs +2 -1
  39. package/src/linkTools/RotateLabel.mjs +110 -0
  40. package/src/linkTools/Segments.mjs +1 -1
  41. package/src/linkTools/Vertices.mjs +41 -4
  42. package/src/linkTools/index.mjs +7 -4
  43. package/src/mvc/View.mjs +0 -1
  44. package/src/mvc/ViewBase.mjs +2 -1
  45. package/src/routers/rightAngle.mjs +538 -140
  46. package/src/shapes/standard.mjs +8 -1
  47. package/src/{dia/attributes → util}/calc.mjs +24 -12
  48. package/src/util/index.mjs +1 -0
  49. package/src/util/util.mjs +39 -0
  50. package/src/util/utilHelpers.mjs +2 -1
  51. package/types/geometry.d.ts +6 -1
  52. package/types/joint.d.ts +331 -50
  53. /package/src/{linkTools → cellTools}/Boundary.mjs +0 -0
  54. /package/src/{linkTools → cellTools}/Connect.mjs +0 -0
  55. /package/src/{linkTools → cellTools}/helpers.mjs +0 -0
package/README.md CHANGED
@@ -5,13 +5,13 @@
5
5
  [![NPM Version](https://img.shields.io/npm/v/jointjs)](https://www.npmjs.com/package/jointjs)
6
6
  [![NPM License](https://img.shields.io/npm/l/jointjs?color=blue)](https://github.com/clientIO/joint/blob/master/LICENSE)
7
7
 
8
- [JointJS](https://jointjs.com) is a tested and proven *JavaScript*/*Typescript* diagramming library that helps developers and companies of any size build visual and No-Code/Low-Code applications faster and with confidence. It’s a flexible tool from which a wide range of UIs can be created (interactive diagramming applications, drawing tools, data visualizations, UIs for monitoring systems, and many more). It can become the foundational layer of your next application and help you bring your idea to market in days, not months or years.
8
+ [JointJS](https://jointjs.com) is a tested and proven *JavaScript*/*Typescript* diagramming library that helps developers and companies of any size build visual and No-Code/Low-Code applications faster and with confidence. It’s a flexible tool from which a wide range of UIs can be created (interactive diagramming applications, drawing tools, data visualizations, UIs for monitoring systems, and many more). It can become the foundational layer of your next application and help you bring your idea to market in days, not months or years.
9
9
 
10
10
  ![Use Cases](https://user-images.githubusercontent.com/3967880/200360293-808f148c-32af-4f46-bec1-b4ae4e1592a0.jpg)
11
11
 
12
12
  Further **information**, **examples** and **documentation** can be found at [jointjs.com](https://jointjs.com).
13
13
 
14
- :1234: Get started with [tutorials](https://resources.jointjs.com/tutorial).
14
+ :1234: Get started with [tutorials](https://docs.jointjs.com).
15
15
 
16
16
  :bulb: To ask a question, share feedback, or engage in a discussion with other community members, visit our [GitHub discussions](https://github.com/clientIO/joint/discussions).
17
17
 
@@ -147,14 +147,6 @@ yarn run test-coverage-lcov
147
147
 
148
148
  The output for all unit tests will be saved in the `packages/joint-core/coverage` directory.
149
149
 
150
- ## Documentation
151
-
152
- The source files for the *JointJS* documentation (plus *Geometry* and *Vectorizer* libraries) are included in this repository; see the `packages/joint-core/docs` directory. The documentation can be built into stand-alone HTML documents like this:
153
- ```bash
154
- yarn run build-docs
155
- ```
156
- The output of the above command can be found at `packages/joint-core/build/docs`.
157
-
158
150
  ## Contributors
159
151
 
160
152
  <a href="https://github.com/clientIO/joint/graphs/contributors">