Changes for 2.1.47
- Fixed Diagram.layoutDiagram not performing a layout immediately if called within an ongoing Diagram update (such as during a DiagramEvent like
"InitialLayoutCompleted"
). - Fixed Panel.itemTemplate so that it is used, not the default item template, when the panel cannot find any template with the given category name in the item data.
-
Diagram.viewSize, if set, now takes precedence over the size of the Diagram.div. It is not typical to set both a DIV and the
viewSize
, but in environments where a DIV is set automatically it may be useful for testing purposes to set an explicitviewSize
as well.
Previous release: GoJS version 2.1.46