MyGit

v2.3.0

NorthwoodsSoftware/GoJS

版本发布时间: 2023-01-25 23:35:30

NorthwoodsSoftware/GoJS最新发布版本:v3.0.11(2024-08-30 08:12:32)

GoJS 2.3

New SVG Rendering Context

GoJS typically renders the Diagram to an HTML Canvas, and offers exporting the Diagram scene to image formats and SVG. In GoJS 2.3, the library now supports rendering to a live SVG context in addition to the default Canvas context. Visually there should be no changes, and performance will be faster when using the default Canvas context, but the SVG context may be useful for applications where DOM accessibility is paramount, either because users need to select and copy text, or because screen readers need access to all text in the application.

The new SVG rendering context comes with significant changes and upgrades to the GoJS SVG structure, including export SVG. For example, an object with a clip-path would formerly point to a <clippath> via URL, and now clipping paths are defined in-line. These changes make some elementFinished code in Diagram.makeSVG potentially incompatible.

Read more about the SVG Rendering Context here

New Layered Digraph Layout Options for Better Performance

Version 2.3 adds LayeredDigraphLayout.alignOption as a potentially faster alternative to LayeredDigraphLayout.packOption. When using this option, nodes are assigned coordinates within their layers to produce straighter paths of nodes and small edge lengths.

General New Features in GoJS 2.3

At the same time, we have released GoJS 2.2.23. GoJS 2.3 also contains these changes.

Changes for 2.2.23

相关地址:原始地址 下载(tar) 下载(zip)

查看:2023-01-25发行的版本