Released: May 16, 2024
2024.R1 中的更新
特性
- Web components
- The WebComponents.register method of each module from the pack now lets you register its controls as web components:
New in Diagramming for JavaScript
- TableNode improvements
- getRow and getColumn methods now return strongly-typed TableRow and TableColumn objects.
- The anchorPattern property of TableRow and rowAnchorPattern property of TableNode now let you specify the points where links connect to table rows.
- cellTextColor property now lets you set default color of cell texts, without changing caption color.
- DiagramLink improvements
- You can now disable allowUnanchoredLinks to prevent users from drawing links to nodes without designated anchor points.
- You can now set the autoDeleteLinks property to false to prevent deleting links along with a node they connect, and disconnect the links instead.
- You can now custom-draw anchor points by setting MarkStyle.Custom and handling drawAnchorPoint event.
- The showAnchors property can now be set to Selected | Auto combination.
- TabbedDiagramView improvements
- You can now enable allowRenamePages to let users edit the title of DiagramPage by clicking the active tab.
- The control now raises pageAdding event when users click the plus icon to let you validate the operation, and pageAdded once the page is added.
- The control now raises pageRemoving event when users close a tab to let you validate the operation, and pageRemoved once the page is removed.
- NodeListView improvements
- You can now set horizontalDropAlignment and verticalDropAlignment properties to specify how nodes are positioned relatively to the drop point after drag operations from NodeListView.
- You can now set dragIndicatorOpacity property to specify the opacity of drag indicator displayed during drag-and-drop operations.
- Miscellaneous
- Angular bindings have been updated to Angular version 16.
- You can now set inplaceEditAcceptOnEnter and inplaceEditCancelOnEsc properties to specify whether edit operations end when user presses respectively Enter and Esc keys.
- SinglePointerController can now be inherited from TypeScript.
- You can now set validityChecks to false to add items faster.
- You can now set cornerRadius to change the size of corners when node's shape is set to a rounded rectangle.
- API changes
- Due to problems with some script loaders, the library no longer registers web components automatically. Call the WebComponents.register method to explicitly register component classes.
- Blazor bindings have been moved to MindFusion.Diagramming.JavaScript NuGet package.
修補程式
Fixed in Diagramming for JavaScript
- DiagramLink improvements
- Fixed allowUnconnectedLinks not working when allowSelfLoops is disabled.
- Fixed XML serialization of unconnected links.
- TabbedDiagramView improvements
- Fixed scroll range not updating when changing tabs.
- Fixed exception when moving multiple selection in TabbedDiagramView.
- NodeListView improvements
- Fixed NodeListView exception for nodes with rotation handle.
- Miscellaneous
- Fixed ControlNodes drawing on top of DiagramView's scrollbars.