forked from NorthwoodsSoftware/GoJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.html
4377 lines (4158 loc) · 210 KB
/
changelog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="GoJS changelog." />
<meta http-equiv="cache-control" content="no-cache">
<title>GoJS Change Log</title>
<!-- Copyright 1998-2019 by Northwoods Software Corporation. -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1506307-5', 'auto');
ga('send', 'pageview');
</script>
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<!-- custom CSS after bootstrap -->
<link href="assets/css/main.css" rel="stylesheet" type="text/css"/>
<script src="release/go.js"></script>
<script src="assets/js/goDoc.js"></script>
</head>
<body onload="goDoc('')">
<!-- fixed navbar -->
<nav id="fixed-nav" class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<div class="navheader-container">
<div class="navheader-collapse" data-toggle="collapse" data-target="#navbar">
<a id="toplogo" class="navbar-brand" href="index.html">GoJS</a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
</div>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html">Home</a></li>
<li><a href="learn/index.html">Learn</a></li>
<li><a href="samples/index.html">Samples</a></li>
<li><a href="intro/index.html">Intro</a></li>
<li><a href="api/index.html">API</a></li>
<li><a href="https://www.nwoods.com/components/evalform.htm">Register</a></li>
<li><a href="download.html">Download</a></li>
<li><a href="https://forum.nwoods.com/c/gojs">Forum</a></li>
<li><a href="https://www.nwoods.com/contact.html" onclick="ga('send','event','Outbound Link','click','contact');">Contact</a></li>
<li class="buy"><a href="https://www.nwoods.com/sales/index.html" onclick="ga('send','event','Outbound Link','click','buy');">Buy</a></li>
<li class="activate"><a href="https://www.nwoods.com/app/activate.aspx?sku=gojs">Activate</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container-fluid mt70 plr15">
<h2>GoJS Change Log</h2>
<p id="ver"></p>
<script>
if (go && go.version) {
var p = document.getElementById('ver');
if (p !== null) p.textContent = ("Version: " + go.version);
}
</script>
<p>
We maintain a
<a href="https://github.com/NorthwoodsSoftware/GoJS">GitHub Repository</a>,
which you can star to follow version updates. We also notify of changes on
<a href="https://twitter.com/NorthwoodsGo">Twitter</a>.
</p>
<hr>
<h4>
Changes for 1.8.36
</h4>
<ul>
<li>
Fixed a layout animation bug (no animation) introduced in 1.8.35 when calling <a>Diagram.layoutDiagram</a>>.
</li>
<li>
Improved <a>LayeredDigraphLayout</a> routing when <a>LayeredDigraphLayout.setsPortSpots</a> is false and the nodes have no spots.
</li>
<li>
Fixed a DataInspector extension bug, where it would not update itself when adding new properties to model data if the node did not change selection.
</li>
</ul>
<h4>
Changes for 1.8.35
</h4>
<ul>
<li>
Fixed a bug with the LayoutCompleted <a>DiagramEvent</a>, which was not always firing when manually calling <a>Diagram.layoutDiagram</a>.
</li>
<li>
Fixed a DraggingTool bug where dragging parts across Diagrams (or Palettes) would snap incorrectly on drop.
</li>
</ul>
<h4>
Changes for 1.8.34
</h4>
<ul>
<li>
Fixed a bug with geometry string parsing using quadratic bezier shorthand ("T").
</li>
<li>
Fixed setting <a>Part.category</a> of a Part that is not in the Diagram.
This simply changes the property value without replacing the visual tree with a new copy of a template.
</li>
<li>
Updated some outdated documentation regarding <a>PathSegment.radiusY</a> matching radiusX.
</li>
</ul>
<h4>
Changes for 1.8.33
</h4>
<ul>
<li>
Fixed a bug with updating Adornments placed into non-temporary layers. Updating them might modify the parts list of that layer during iteration, causing an error.
</li>
<li>
Documentation corrections for <a>Tool.standardWaitAfter</a> and <a>Tool.doWaitAfter</a>.
</li>
</ul>
<h4>
Changes for 1.8.32
</h4>
<ul>
<li>
Diagram auto-scrolling now considers the document bounds of the total scrolled-to area during the auto-scroll.
This makes it easy to scroll in different directions that might normally reduce the bounds during the drag.
</li>
<li>
Fixed a bug where adornments may appear at the wrong locations when disappearing off-screen and reappearing.
</li>
<li>
Fixed a bug with newly-copied draggable links grid snapping, and not having correct points.
Also fixed some jittering while dragging links with grid snapping.
</li>
</ul>
<h4>
Changes for 1.8.31
</h4>
<ul>
<li>
Fixed a bug rendering to SVG when an arc was the first segment of a figure and it needed an initial straight line to
get to the correct starting point.
</li>
<li>
Fixed a bug in <a>Diagram.findObjectsNear</a> where complete inclusions weren't always returning the proper set of objects
fully enclosed within the circular area given by the point and distance parameters.
</li>
</ul>
<h4>
Changes for 1.8.30
</h4>
<ul>
<li>
Fixed a bug with <a>Node.collapseTree</a>: In collapsing a circular subgraph it now correctly set <a>Node.wasTreeExpanded</a> on the original node,
and now removes the Node's Adornments.
</li>
<li>
Improved resizing behavior of the <a>Overview.box</a> to be smoother and more accurate.
</li>
<li>
Fixed a bug with adornments not disappearing during deselection, after creating new Parts.
</li>
<li>
Fixed a bug with Group sizing during drag-copy.
</li>
<li>
Fixed the <a>DiagramEvent.subject</a> collection of a "SelectionDeleted" DiagramEvent to include connected Links.
</li>
<li>
Fixed a bug with Group and member positioning during drag-copy, where the copy may sometimes incorrectly place the Parts relative to each other.
</li>
<li>
The map returned by <a>Shape.getFigureGenerators</a> now includes string synonyms, such as "MinusLine" which references "LineH".
Previously, it was only including figures directly associated with a generator function.
</li>
</ul>
<h4>
Changes for 1.8.29
</h4>
<ul>
<li>
Fixed improper updating of Adornments of member Parts after undo or redo of ungrouping a Group.
</li>
<li>
<a>Group.move</a> will not set <a>Link.points</a> to non-real values if the original Link position was not real. It will invalidate the route instead.
</li>
<li>
Improved safety of layer changes during undo/redo if code has been written with layer changing side effects.
</li>
</ul>
<h4>
Changes for 1.8.28
</h4>
<ul>
<li>
Fixed a Link re-routing bug during drags, when <a>DraggingTool.isComplexRoutingRealtime</a> is set to false.
It would incorrectly re-compute AvoidsNodes routes during the drag if a node was crossed, instead of only deciding at the end of drag whether to re-compute.
</li>
<li>
Fixed a drawing bug where the start of Group collapse/expand animations may draw one frame of its ending state.
</li>
<li>
Setting <a>Diagram.scrollMode</a> now correctly updates the Diagram's scrollbars.
</li>
<li>
Fixed a bug where changing the <a>Link.fromNode</a> or <a>Link.toNode</a> in a TreeModel could result in duplicate links.
</li>
</ul>
<h4>
Changes for 1.8.27
</h4>
<ul>
<li>
Fixed a regression from 1.8.24 where some graduated panels will draw incorrectly.
</li>
<li>
Dragging groups while <a>DraggingTool.isGridSnapEnabled</a> no longer snaps their members separately.
This fixes some bugs where dragging a Group might shift group contents during a drag,
such as links, or where Group contents may shift the Group as
the placeholder is recomputed.
</li>
<li>
Fixed <a>Node.findLinksTo</a> when the other port id is not null.
</li>
<li>
Some fixes for scrollbar customization.
</li>
</ul>
<h4>
Changes for 1.8.26
</h4>
<ul>
<li>
Fixed a regression from 1.8.24 where the opacity of objects was computed incorrectly.
</li>
<li>
Fixed a bug where some objects resizing would not notify the Diagram.
</li>
</ul>
<h4>
Changes for 1.8.25
</h4>
<ul>
<li>
Fixed a regression from 1.8.24 where some browsers and mice would use an incorrect wheel delta.
</li>
<li>
Performance improvements when drawing Diagrams with large numbers of GraphObjects out of view.
</li>
</ul>
<h4>
Changes for 1.8.24
</h4>
<ul>
<li>
Fixed an issue with scroll wheel delta when making two-finger gestures to scroll or zoom.
</li>
<li>
Improved <a>ToolManager.positionToolTip</a> and <a>ContextMenuTool.positionContextMenu</a> when zoomed in or out.
</li>
<li>
Performance improvements when adding large numbers of GraphObjects to Panels and when replacing a large <a>Diagram.model</a>.
<a>Diagram.clear</a> now releases a few temporary references it had to old Parts in internal temporary data structures.
</li>
</ul>
<h4>
Changes for 1.8.23
</h4>
<ul>
<li>
<b style="color:red;">This bugfix potentially alters a Shape's measurements when a minSize and a strokeWidth are present:</b>
<a>GraphObject.minSize</a> now correctly constrains the size of Shapes. Before, the <code>minSize</code> of a shape would incorrectly subtract the <code>strokeWidth</code>.
</li>
<li>
<p>Disconnected Links now respect <a>Part.dragComputation</a>. This can be used to make them snap when dragging, for example with:</p>
<pre>
dragComputation: function(part, pt, gridpt) {
return new go.Point(gridpt.x, gridpt.y);
}
</pre>
</li>
</ul>
<h4>
Changes for 1.8.22
</h4>
<ul>
<li>
Fixed an issue where the <a>ResizingTool</a> wasn't respecting <a>GraphObject.minSize</a> and <a>GraphObject.maxSize</a> during uniform resizing.
</li>
<li>
Cleaned up require syntax in the <code>extensionsTS</code> directory.
</li>
<li>
Fixed an issue with <a>Panel.defaultSeparatorDashArray</a> not getting used as the default value.
</li>
<li>
Fixed resizing a nested <a>Group</a> with <a>DraggingTool.isGridSnapEnabled</a> true causing member Links to shift positions.
</li>
</ul>
<h4>
Changes for 1.8.21
</h4>
<ul>
<li>
Fixed an issue setting certain cursors as the <a>Diagram.currentCursor</a> on webkit based browsers.
</li>
<li>
Fixed a bug where updating the <a>Link.fromShortLength</a> or <a>Link.toShortLength</a> weren't properly updating the link's geometry.
</li>
<li>
Self-links that are rendered as bezier loops no longer include resegmenting handles.
</li>
</ul>
<h4>
Changes for 1.8.20
</h4>
<ul>
<li>
<a>Diagram.zoomToFit</a> and <a>CommandHandler.zoomToFit</a> now re-position the diagram upon zoom,
even if the <a>Diagram.scrollMode</a> is set to <a>Diagram.InfiniteScroll</a>.
</li>
</ul>
<h4>
Changes for 1.8.19
</h4>
<ul>
<li>
Enabled two-finger zooming on MacBook trackpads.
</li>
<li>
Fixed half-disconnected link routing bug involving "...Side" Spots for Nodes that are members of Groups.
</li>
<li>
Improved <a>LayeredDigraphLayout</a> alignment of nodes linked to visible nodes inside groups.
</li>
</ul>
<h4>
Changes for 1.8.18
</h4>
<ul>
<li>
Fixed the implementation of some Arc paths in <a>Diagram.makeSVG</a>.
</li>
</ul>
<h4>
Changes for 1.8.17
</h4>
<ul>
<li>
Return values from <a>TextBlock.graduatedFunction</a> will now be converted to strings for safety.
</li>
<li>
Fixed a regression for scroll-wheel zooming that was introduced in 1.8.15.
</li>
<li>
Fixed error about showing a context menu <a>Adornment</a> when that same context menu is being shown in another Diagram.
</li>
<li>
The <a>TextEditingTool</a> now sets its height via the number of <code>textarea.rows</code>, instead of estimating text height and setting CSS height style.
</li>
<li>
Fixes to <a>TextEditingTool</a>, including a positioning fix in IE11.
</li>
</ul>
<h4>
Changes for 1.8.16
</h4>
<ul>
<li>
<a>Group.layout</a> setter now correctly triggers a relayout, if the newly assigned layout is invalid.
</li>
<li>
Fixed a bug with scrollbar values after some initial layouts.
</li>
<li>
Fixed a bug with <a>InputEvent.viewPoint</a> on <a>Diagram.lastInput</a> when dragging between Diagrams.
</li>
<li>
Fixed a drawing bug with separator dash arrays, affecting <a>RowColumnDefinition.separatorDashArray</a>,
<a>Panel.defaultColumnSeparatorDashArray</a>, and <a>Panel.defaultRowSeparatorDashArray</a>.
</li>
</ul>
<h4>
Changes for 1.8.15
</h4>
<ul>
<li>
Link Adornments can now be of any Panel type. They are still forced into the type <a>Panel.Link</a>
if the <a>Part.selectionObjectName</a> is unspecified or is an empty string, or if it refers to the <a>Link.path</a>.
</li>
<li>
Using the wheel to scroll while the mouse is over the scroll-bar now correctly scrolls the Diagram.
</li>
</ul>
<h4>
Changes for 1.8.14
</h4>
<ul>
<li>
<a>CommandHandler.canPasteSelection</a> now returns <code>false</code> if there are zero parts in the clipboard.
</li>
<li>
Fixes for Link Adornment sizing.
</li>
</ul>
<h4>
Changes for 1.8.13
</h4>
<ul>
<li>
Fixed <a>DraggingTool.doMouseMove</a> to respect settings of <a>Diagram.currentCursor</a>
in <a>GraphObject.mouseDragEnter</a> event handlers.
</li>
<li>
Adding or removing reflexive links at a node when there are multiple such links at that node
no longer cause their routes to be invalidated if <a>Link.adjusting</a> is not Link.None.
</li>
<li>
The default text editor's main element no longer erases all CSS Styling on activation.
This allows you to set style by writing, for example:
<code>TextEditingTool.defaultTextEditor.mainElement.style.backgroundColor = 'red';</code>
</li>
</ul>
<h4>
Changes for 1.8.12
</h4>
<ul>
<li>Added search functionality for classes and members in the <a href="api/index.html">API documentation</a>.</li>
<li>
Fix for <a>Geometry.parse</a> when numbers containing alphabet characters (such as <code>4E-06</code>) are present.
</li>
<li>
Updated <a>Geometry.parse</a> to accept multiple '.'s without spaces to allow for chaining decimals, for example <code>1.5.75.75</code>.
The result would be <code>1.5 .75 .75</code>, as specified by the <a href="https://www.w3.org/TR/SVG/paths.html#PathDataBNF">SVG grammar</a>.
</li>
</ul>
<h4>
Changes for 1.8.11
</h4>
<ul>
<li>Fixed a check for <code>window.navigator.msPointerEnabled</code> that was modified in 1.8.8. This was disabling Pointer Events in IE based browsers.</li>
</ul>
<h4>
Changes for 1.8.10
</h4>
<ul>
<li>Improved wheel events, primarily for Firefox and Firefox for Android. Mac trackpads will now pan and scroll in both directions in Firefox.</li>
<li>Fixed a bug with links not rerouting during a drag of a collapsed group. This occurred when a link was connected to a "...Side" Spot of a member node.</li>
<li>Fixed a shadow regression introduced in 1.8.9.</li>
<li>Some licensing fixes for versions of IE.</li>
</ul>
<h4>
Changes for 1.8.9
</h4>
<ul>
<li>Fixed a bug in <a>Diagram.findObjectsNear</a> in Table Panels using TableRow and TableColumn.</li>
<li>Fixed a drawing bug where some GraphObjects with a background set would be shadowed, when they should not be.</li>
</ul>
<h4>
Changes for 1.8.8
</h4>
<ul>
<li>Added an Introduction page about debugging: <a href="intro/debugging.html">Debugging</a></li>
<li>Fixed a check for <code>window.navigator.msPointerEnabled</code> that was added in 1.8.5.</li>
<li>Fixed <a>UndoManager.canUndo</a> and <a>UndoManager.canRedo</a> to ignore <a>UndoManager.isUndoingRedoing</a>.</li>
<li>The <a href="intro/serverSideImages.html">Server-side Images Intro page</a> now contains examples using Puppeteer.</li>
</ul>
<h4>
Changes for 1.8.7
</h4>
<ul>
<li>
Fixed routing of AvoidsNodes Links when added as members of a Group that hadn't been measured fully yet
with its new members.
</li>
<li>
Fixed <a>Layout.doLayout</a>, the default layout that only positions nodes that do not have a real <a>Part.location</a>,
to respect the pre-layout position of <a>Group</a>s, when the <a>Group.layout</a> has not been set.
</li>
<li>
Improved <a>LinkingBaseTool.isValidCycle</a> to guess whether <a>LinkingTool.archetypeLinkData</a>
will create a new Link that is not <a>Link.isTreeLink</a>, which affects link validity when
<a>Diagram.validCycle</a> is <a>Diagram.CycleDestinationTree</a> or <a>Diagram.CycleSourceTree</a>.
</li>
<li>
Increased the CSS z-index of the default touch context menu from 300 to 10002.
</li>
<li>
For Table Panels and <a>RowColumnDefinition</a>s: Before, a separator would exist and take up space
for every row and column except index = 0. Now they exist and take up space for every row and column
except the <em>first</em> row and column, whatever its index may be.
</li>
</ul>
<h4>
Changes for 1.8.6
</h4>
<ul>
<li>
Added <a>ForceDirectedLayout.moveLimit</a> property.
</li>
<li>
Event bubbling fixes for PointerEvents in IE and Edge.
</li>
</ul>
<h4>
Changes for 1.8.5
</h4>
<ul>
<li>
IE: Fixed a regression from 1.8.3 with PointerEvents: Mouse-based events now correctly report their button
(left, right middle) and modifier keys (Ctrl, Alt, etc). Additionally, meta keys now work with touches,
so users can do actions such as CTRL+touch to select multiple nodes.
</li>
<li>
Fixed a bug with shadows in IE (but not Edge) sometimes causing draw-related errors with the Canvas Context.
</li>
<li>
The user of <code>PointerEvents</code> is additionally limited by <code>window.navigator.msPointerEnabled</code> not being false.
This supports the use of IE 11 when embedded within Windows applications.
</li>
<li>
Fixed an animation regression that began with 1.7.0:
resizing Diagram DIVs now correctly animates layouts that have <a>Layout.isViewportSized</a> set to true.
</li>
</ul>
<h4>Changes for 1.8.4</h4>
<ul>
<li>
Added <a>Diagram.scrollsPageOnFocus</a> property, to control whether the page scrolls to show the Diagram's HTMLDivElement
when the diagram receives focus, if the element is not entirely visible in the window.
For compatibility now the default value is true, but the default value will be false in version 2.0.
</li>
<li>
Fixed a regression from 1.7.28/1.7.29 with starting automatic animations.
</li>
<li>
Fixed an animation positioning bug with nested collapsed groups.
</li>
</ul>
<h4>Changes for 1.8.3</h4>
<ul>
<li>
Added the
<a href="samples/zoomPinch.html" target="_blank">Zoom Pinch</a> sample, demonstrating gesture customization.
</li>
<li>
Internally, browser PointerEvents are now used by default on IE-related browsers, when possible.
Other browsers still use Touch and Mouse events.
</li>
<li>
Fixed a measurement bug with <a>GraphObject.maxSize</a> when applied to TextBlocks.
</li>
<li>
Fixed another case of moving <a>Group</a>s not correctly invalidating link routes when the link connects with the group.
</li>
<li>
Fixed having <a>UndoManager.isUndoingRedoing</a> to be consistently true during "StartingUndo", "StartingRedo", "FinishedUndo", and "FinishedRedo"
Model <a>ChangedEvent</a>s of type Transaction.
</li>
<li>
Fixed hit testing in some edge cases for geometries.
</li>
</ul>
<h4>Changes for 1.8.1 and 1.8.2</h4>
<ul>
<li>
Fixed the measurement of GraphObjects with <a>GraphObject.isPanelMain</a> in Links and Auto panels.
</li>
<li>
Improved documentation and samples for GoCloudStorage.
</li>
</ul>
<h4>Changes for 1.8 since 1.7.*</h4>
<ul>
<li>
<b>Licensing</b>
<p>
Improvements for unlimited-domains OEM customers.
</p>
</li>
<li>
<b>Samples and documentation:</b>
<ul>
<li>
Added GoCloudStorage classes, in the <code>storage</code> folder, for saving/loading models from
various cloud storage provider services plus <code>localStorage</code>.
<p>
An example of using these services is at: <a href="storage/samples/GoCloudStorageManager.html" target="_blank">Go Cloud Storage Manager</a>.
<p>
The API documentation is at <a href="storage/api/index.html" target="_blank">Storage API</a>.
<p>
Load the library from <a href="storage/lib/gcs.js" target="_blank">Storage library</a>.
You will also need to load the libraries for each of the services themselves (other than localStorage).
<p>
The source code is at <a href="storage/src/GoCloudStorage.ts">GoCloudStorage.ts</a> and in other files in that folder.
</li>
<li>
Typescript definition file (<code>go.d.ts</code>) fixes.
</li>
</ul>
</li>
<li>
<b>Diagram and Model:</b>
<ul>
<li>
Added <a>Diagram.commit</a> and <a>Model.commit</a>, which call a given function wrapped in a transaction.
This is offered as a concise alternative to calling <code>startTransaction</code> and <code>commitTransaction</code>.
</li>
<li>
Added <a>Model.set</a> as a synonym for <a>Model.setDataProperty</a>.
</li>
</ul>
</li>
<li>
<b>Parts:</b>
<ul>
<li>
Added <a>Part.key</a> and <a>Link.key</a>, as shortcuts for retrieving the Part's key in the Model data, if it exists.
</li>
</ul>
</li>
<li>
<b>Tools:</b>
<ul>
<li>
Fixed duplicate calls to focus within the <a>TextEditingTool</a>.
</li>
</ul>
</li>
<li>
<b style="color:red;">Deprecated features:</b>
<p>
These features will remain in the library until version 2.0, but they will no longer be documented and their use is discouraged.
</p>
<ul>
<li>
<b>Most Predefined Shape figures</b>
<p>
In order to shrink the size of the GoJS library we will be not be defining most predefined figures in the library.
Instead, you can find all of their definitions in the <a href="extensions/Figures.js" target="_blank">Figures.js</a> file.
You can simply load only those figures that you want to use by copying their definitions into your code.
<p>
Until version 2.0 all of the predefined figures remain defined in the GoJS library,
so you do not yet have to load any figures from the extensions file.
However, a number of very common figures will remain predefined even in version 2.0.
The figures that will remain in 2.0 are: "Rectangle", "Square", "RoundedRectangle", "Border", "Ellipse", "Circle",
"TriangleRight", "TriangleDown", "TriangleLeft", "TriangleUp", "Triangle", "Diamond", "LineH", "LineV",
"BarH", "BarV", "MinusLine", "PlusLine", "XLine".
<p>
Note also that the definitions that are in the <a href="extensions/Figures.js" target="_blank">Figures.js</a> file
are <em>not</em> entirely the same as their current definitions in the library.
A number of figures have been improved and some figure parameters have changed meaning.
</li>
<li>
<b>DiagramEvent.cancel</b>
<p>
The only use for this property was with the "SelectionDeleting" <a>DiagramEvent</a> in order to prevent the user from deleting the selection.
Where one might have written this Diagram listener:
<pre>"SelectionDeleting": function(e) {
if (e.diagram.selection.any(function(p) { return p.data.key.indexOf("e") >= 0; })) {
e.cancel = true;
}
},</pre>
one can write the equivalent functionality with this <a>CommandHandler.canDeleteSelection</a> method override:
<pre>"commandHandler.canDeleteSelection": function() {
return !this.diagram.selection.any(function(p) { return p.data.key.indexOf("e") >= 0; })
&& go.CommandHandler.prototype.canDeleteSelection.call(this);
},</pre>
<p>
Overriding the method supports the updating/enablement of commands that call <a>CommandHandler.deleteSelection</a>.
Furthermore not having a "cancel" property on the DiagramEvent avoids any potential problems that might occur if there
are multiple listeners for the "SelectionDeleting" event.
The "SelectionDeleting" <a>DiagramEvent</a> remains useful, but not for controlling whether or not the deletion should happen.
</li>
<li>
<b>GraphObject.fromEndSegmentDirection</b> and <b>GraphObject.toEndSegmentDirection</b>
<p>
These properties have not been useful. One can override <a>Link.getLinkDirection</a> to achieve the same effects.
</li>
<li>
<b>TextEditingTool.doFocus</b> and <b>TextEditingTool.doBlur</b>
<p>
These undocumented properties were used to modify the default functionality of the TextEditingTool.
That is now done by setting <a>TextBlock.defaultTextEditor</a> to an instance of <a>HTMLInfo</a> (new in 1.7).
<p>
For examples, see <a href="samples/customTextEditingTool.html">Custom TextEditingTool sample</a> and
<a href="extensions/TextEditor.html">Text Editor default implementation extension</a>.
</li>
<li>
<b>TextBlock.textEditor</b>, <b>TextEditingTool.defaultTextEditor</b>, and <b>TextEditingTool.currentTextEditor</b>
<p>
These properties are now primarily used with <a>HTMLInfo</a> values.
HTML Elements will still work until version 2.0.
</p>
</li>
</ul>
</li>
</ul>
<hr class="changelog" />
<h4>Changes for 1.7.29</h4>
<ul>
<li>
Fixed a case of missing layout animation.
</li>
</ul>
<h4>Changes for 1.7.28</h4>
<ul>
<li>
Typescript definition fixes.
</li>
<li>
When <a>Part.move</a> is called as <code>Group.move</code>, the method no longer invalidates Link routes inside the group.
</li>
<li>
Fixed regression in 1.7.23 with performing extra layouts involving nested Groups resulting in duplicate Transactions.
</li>
</ul>
<h4>Changes for 1.7.27</h4>
<ul>
<li>
Fixed <a>TextEditingTool</a> sometimes incorrectly ignoring non-<a>TextBlock</a>s in front of a <a>TextBlock</a>.
</li>
<li>
Fixed <a>RelinkingTool.copyLinkProperties</a> to include copying the <a>Link.points</a>, so that when <a>Link.adjusting</a> is
not None the behavior will be the same as for the original Link.
</li>
<li>
Improved AvoidsNodes link routing to be more likely to find a shorter route by looking beyond the area of the two connected nodes.
</li>
<li>
Improved link routing during <a>DraggingTool</a> moves to keep link routes while snapping is enabled.
</li>
</ul>
<h4>Changes for 1.7.26</h4>
<ul>
<li>
Fixed a regression when drawing large images scaled down, introduced in 1.7.21.
</li>
</ul>
<h4>Changes for 1.7.25</h4>
<ul>
<li>
Replaced the Angular 2 project with a newer Angular 4 project, at <code>projects/angular-basic</code>.
This projected was created with Angular CLI; we then added a <code>diagram-editor</code> Component
consisting of a <a>Diagram</a> and a <a>Palette</a>. That component takes a <a>Model</a> as an Input
and produces <code>nodeSelected</code> and <code>modelChanged</code> as Outputs.
The main app component shows editable details for the primary selection if it is a <a>Node</a>.
</li>
<li>
Automatically redraw with improved sharpness as the user zooms the page.
</li>
<li>
Fixed a bug where Pictures given a <a>GraphObject.maxSize</a> and no loaded <a>Picture.element</a> or <a>Picture.source</a> would measure incorrectly.
</li>
</ul>
<h4>Changes for 1.7.24</h4>
<ul>
<li>
Fixed a regression introduced in 1.7.18 with pinch-zooming on Microsoft touch devices in IE.
</li>
<li>
Fixed a visibility bug when a non-visible <a>Part</a> switches layers.
</li>
<li>
Events on the Diagram now attempt to find the Event target Diagram differently. This may help in libraries that use a shadow DOM or DOM scoping.
</li>
</ul>
<h4>Changes for 1.7.23</h4>
<ul>
<li>
Fixed a bug with SVG generation. Generated <code><svg></code> tags also now specify a <code>viewBox</code> attribute.
</li>
</ul>
<h4>Changes for 1.7.22</h4>
<ul>
<li>
Improved routing of links to non-visible member nodes of collapsed groups,
when the spots of the group's default port are different than thespots of the non-visible node that the link is connected with.
</li>
<li>
Diagram mouseOut now appropriately calls <a>Tool.standardMouseOver</a>,
and <a>Tool.standardMouseOver</a> uses null as the current object if the mouse is not over the current Diagram.
</li>
<li>
For wrapping, TextBlocks respect the maxSize of their Panel, but also accidentally conformed to their Panel's minSize.
</li>
<li>
Diagram keyDown used to always preventDefault on keyDown events, but this is now overridable via <a>InputEvent.bubbling</a>.
</li>
</ul>
<h4>Changes for 1.7.21</h4>
<ul>
<li>
Drawing fix for HTMLVideoElement sources to <a>Picture.element</a>, which were broken in 1.7.5.
</li>
<li>
Fix for the main element of a Panel (when using <a>GraphObject.isPanelMain</a>) sometimes getting cached incorrectly.
</li>
</ul>
<h4>Changes for 1.7.20</h4>
<ul>
<li>
Fixed <a>Panel.rebuildItemElements</a> not to remove any Links that were connected with item elements that are ports.
</li>
<li>
Fixes for link routing during animation.
</li>
<li>
Fixed slight shifting of <a>Group</a>s that have <a>Group.layout</a> being a <a>CircularLayout</a> after repeated layouts,
including after expanding the subgraph.
</li>
</ul>
<h4>Changes for 1.7.19</h4>
<ul>
<li>
Added the <a href="samples/vue.html" target="_blank">Vue.js</a> sample,
demonstrating a simple GoJS app in the <a href="https://vuejs.org">Vue.js</a> framework.
</li>
<li>
Fixed a bug in <a>DraggingTool.moveParts</a> where it was incorrectly shifting Nodes when Nodes shifted by differing amounts.
</li>
<li>
Extended <a>RotatingTool</a> to work on link labels; the user still cannot rotate whole Links or the <a>Link.path</a>.
</li>
<li>
Restored behavior from 1.6 of <a>Model.fromJson</a> such that <code>linkdata.points</code> property value is of type <a>List</a>.
Version 1.7 had allowed that property to remain as an Array of numbers.
</li>
<li>
When a <a>Group.layout></a> was a <a>CircularLayout</a>, that layout was not respecting the implicit <a>Layout.arrangementOrigin</a>
provided by the group by calling and remembering <a>Layout.initialOrigin</a>.
</li>
<li>
Fixed Link arrowhead and Link label positioning when the object to be positioned is scaled.
</li>
</ul>
<h4>Changes for 1.7.18</h4>
<ul>
<li>
Improved multi-finger touch handling while doing single-finger operations, like dragging and panning.
</li>
<li>
Fixed a bug where collapsing a Group in a LayeredDigraphLayout could cause incorrect routes for bezier links to member nodes.
</li>
<li>
<a>Diagram.makeSVG</a> will now wrap the outputted TextBlock <code><text></code>s with <code><g></code> if the TextBlock has multiple lines of text.
</li>
</ul>
<h4>Changes for 1.7.17</h4>
<ul>
<li>
Fixed a bug in Grid Panel where it might not draw the last horizontal grid line.
</li>
<li>
More extensions translated into TypeScript, at <a href="extensionsTS/index.html" target="_blank">ExtensionsTS</a>.
</li>
<li>
Table Panels now allocate space to elements with a <a>GraphObject.stretch</a> value that also span multiple rows or columns in a more consistent fashion.
</li>
<li>
Shapes inside a Grid Panel now respect <a>GraphObject.opacity</a> values.
</li>
<li>
Label Nodes on labeled Links now are members of the link's containing Group, if any.
</li>
<li>
Fixed a bug where if multiple Diagrams shared a Picture, they might not all be redrawn properly upon the image element loading or erroring.
</li>
</ul>
<h4>Changes for 1.7.16</h4>
<ul>
<li>
Translated and modularized the extensions into TypeScript <code>*.ts</code> files, in the <code>extensionsTS</code> directory.
The compiled files are present in that directory as <code>*.js</code> files, which can be required or imported even if you are not using TypeScript.
(Caution: all of the script in the HTML samples in the <code>extensions</code> directory have been split out into <code>...Script.ts</code>
files, so try not to be confused by the corresponding <code>*.js</code> files, which will have <code>Script</code> in their names.)
</li>
<li>
Fixed missing calls to <a>Node.linkConnected</a> and <a>Node.linkDisconnected</a> event handlers when
connecting or disconnecting reflexive links.
</li>
<li>
Fixed error in <a>Model.applyIncrementalJson</a> adding group nodes.
</li>
</ul>
<h4>Changes for 1.7.15</h4>
<ul>
<li>
Fixed scrollbar behavior when <a>Diagram.scrollMargin</a> was set.
</li>
<li>
Fixed <a>ResizingTool</a> not re-routing reflexive links on <a>Group</a>s.
</li>
</ul>
<h4>Changes for 1.7.14</h4>
<ul>
<li>
Avoided undesired side effects of undo and redo after relinking duplicate links.
</li>
<li>
Further improved the dragging between Diagrams that was modified in 1.7.13.
</li>
</ul>
<h4>Changes for 1.7.13</h4>
<ul>
<li>
Fixed a bug with pinch-zooming in some browsers.
</li>
<li>
Fixed a regression with <a>Diagram.makeSVG</a> not including CORS-disabled images.
</li>
<li>
Fixed a bug with the TextEditingTool when using custom HTML text editors.
The code attempted to call <code>editor.focus()</code> and <code>editor.setSelectionRange()</code>
before the editor was added to the DOM. This problem does not affect <a>HTMLInfo</a>, only HTML Element text editors.
</li>
<li>
Improved dragging of nodes from a Diagram or Palette onto an empty Diagram without a new model.
</li>
</ul>
<h4>Changes for 1.7.12</h4>
<ul>
<li>
Added the <a href="extensions/NonRealtimeDragging.html" target="_blank">Non Realtime Dragging</a> sample,
demonstrating how to customize the <a>DraggingTool</a> to have users drag around a translucent image of the selection,
rather than actually moving those Nodes and Links, until the mouse up occurs.
This makes use of the <a href="extensions/NonRealtimeDraggingTool.js" target="_blank">NonRealtimeDraggingTool.js</a> extension.
</li>
<li>
The <a>DraggingTool</a> will now initiate auto scroll of the Diagram even if <a>Diagram.allowMove</a> and <a>Diagram.allowCopy</a> are false.
</li>
<li>
Link labels along multi-segmented links with unspecified <a>GraphObject.segmentIndex</a>es will now have more accurate angles.