83 Commits

Author SHA1 Message Date
adc173f689 Change let to const in setPosition methods 2021-08-24 16:39:25 +03:00
889108d7fd fix: Fix set position 2021-08-24 16:21:26 +03:00
8b2f5c8961 v6.6.1 2021-08-10 02:09:28 +02:00
e23b68b2d1 sigh 2021-07-24 01:36:34 +02:00
77e1abba97 Merge pull request #861 from rkesters/rkesters/fixDeps
Updated deps to newest version and allow both react 16 and 17 as a peer #860
2021-07-24 00:48:41 +02:00
36a3eddca7 Fix port parent prop on clone 2021-07-22 14:55:35 +03:00
9460ce8eeb Updated dependecies to support both react 16 and 17
Updated test to work with jest 27

Prettier changes
2021-07-11 17:27:31 -04:00
f661824282 v6.6.0 2021-07-11 18:21:20 +02:00
bb6e1d52af Merge pull request #852 from ELennard/fix-removeMiddlePoints
Fixes removeMiddlePoints in LinkModel.ts.
2021-07-11 18:12:15 +02:00
be422431d2 Merge pull request #828 from renato-bohler/touch-events
Adds support for touch events, enabling touch dragging the canvas
2021-07-11 18:09:41 +02:00
ef4439d895 fix: Fix LabelWidget deserialization bug with calling canvas.offsetWidth before it's set 2021-07-06 17:13:51 +03:00
eb59992bc3 Fixes removeMiddlePoints in LinkModel.ts.
RemoveMiddlePoints removed the first point from points, while it should not delete the start- and endpoint.
2021-06-02 12:21:36 +02:00
e34c73ca00 fix: Check if port exist before checking reportPosition 2021-04-27 12:06:17 +03:00
d9bd430f82 v6.5.2 2021-04-14 11:05:32 +02:00
590ba09c3c more fixes 2021-04-14 10:58:04 +02:00
291241cacb v6.5.1 2021-04-12 19:39:04 +02:00
1ac3a8de78 zoom to fit 2021-04-12 19:34:49 +02:00
e974627fd0 some fixes 2021-04-12 14:59:50 +02:00
ade86f215c adds support for touch events, enabling touch dragging the canvas 2021-04-11 20:57:27 -03:00
67be47b4ae v6.5.0 2021-03-20 22:42:33 +02:00
8173b70834 add a few small fixes and improvements 2021-03-20 22:20:24 +02:00
4649597a97 v6.4.2 2021-03-14 13:00:53 +02:00
c6556d7475 v6.4.1 2021-03-13 23:54:50 +02:00
b0343daf6f v6.4.0 2021-03-13 23:43:13 +02:00
b7dfa6da21 fix demos 2021-03-12 22:58:46 +02:00
293123b5c6 project updates 2021-03-12 22:35:25 +02:00
63dbe41df0 v6.3.0 2020-12-03 22:02:46 +02:00
73ef7df153 fixing a typo: should be LinkLayerModel instead of NodeLayerModel 2020-09-28 11:29:42 +06:00
c5b24f6e7b v6.2.0 2020-06-03 21:08:04 +02:00
655462087f prettier 2020-06-03 21:02:49 +02:00
ef822f5540 v6.1.1 2020-04-25 19:59:05 +02:00
2a28368d5e v6.1.0 2020-04-25 19:57:09 +02:00
3fdbe4c975 Merge pull request #576 from AnwarChakhar/zoomtofitnodes
Add zoom to fit nodes feature, fixes #568
2020-04-25 17:50:45 +02:00
696994f0ad fixes link widget trying to register listener on ports that aren't set yet 2020-04-05 12:15:27 -03:00
7d133abf58 fixes node selection not being deregistered upon deletion 2020-04-05 11:55:39 -03:00
379e808d70 Add zoom to fit nodes feature, #568 2020-03-19 13:39:21 +01:00
280a1fc0e4 v6.0.2 2020-03-06 10:12:11 +02:00
eeece55c31 v6.0.1 2020-03-06 10:06:47 +02:00
8d73d238fe Merge pull request #556 from VostroNet/es6-build
ES6 Module Support
2020-03-06 10:03:57 +02:00
6e77f3503a adding es modules and including src for linking/reference 2020-03-04 10:06:13 +10:00
aa186f7040 Allow the build on MS Windows 2020-02-20 10:25:55 +01:00
469dbc00af v6.0.1-beta.7 2019-12-20 12:23:08 +02:00
341e540af6 v6.0.1-beta.6 2019-11-23 23:56:32 +02:00
361fbe4ffe Removing unused imports 2019-11-23 17:49:45 +00:00
80e9bdcfc0 Clicking on a source port causes a nonsense link segment, fixing #481 2019-11-23 15:58:06 +00:00
220852697f Fixing #470
After the #469 PR, a bug when the zoom level is != from 1 make the link go far the mouse. Now it's considering the zoom level in the calculation
2019-11-20 16:38:24 -03:00
a450c9b5b5 Merge pull request #469 from antonioru/hotfix/new-link-far-end
link far end aligns with the mouse pointer position
2019-11-19 20:33:40 +02:00
ed63bf151c keeping the engine offset into account when calculating a new link position 2019-11-19 15:39:13 +00:00
6dd0677b28 Using initialRelative coordinates when creating a new link makes it more precise 2019-11-19 14:03:24 +00:00
ea6130d1a9 getting the initial click position from the AbstractDisplacementState 2019-11-18 20:23:51 +00:00