Release Notes
yFiles WPF Version 4.1

Version 4.1.0.0 is the latest release for yFiles WPF in the yFiles WPF 4.1 major release series.
See the changelog for a list of all changes in this and all other versions.

Below you will find the technical requirements and a list of all new features and improvements.

Technical Requirements

  • Microsoft .NET 6.0 (or newer) or Microsoft .NET Framework 4.6.2 (or newer).
  • A browser to view the HTML documentation.
  • We recommend the use of a powerful IDE such as Microsoft Visual Studio or JetBrains Rider.

All changes
Version 4.1



yFiles WPF 4.1 is an incremental update that builds on the extensive changes introduced in the 4.0 release. It brings exciting new features, helpful improvements and bug fixes to all parts of the library. As always, there is a large number of new and improved demos demonstrating these features and improvements.

If you are updating from an older version of yFiles WPF, have a look at the list of incompatible changes and at the Migration Guide.

New Features, Improvements, and Bug Fixes

Categories: General Controls Graph Styles Interaction Tooltips and Popovers GraphML Layout Hierarchical Layout Bundled Edge Router Organic Layout Circular Layout Other Layouts Analysis Documentation and Demos

General

New Features and Improvements

Controls

New Features and Improvements

Bug Fixes

  • The bend indicators displayed for selected edges in theme variants "Square" and "SquareHatched" have been replaced by diamonds.
  • Fixed a problem when only one of the managers for highlights or selection get replaced in GraphControl where their domain property value of the other one became defunct.
  • Self-loops without bends are now rendered correctly in the overview.
  • Ending a drag gesture with a touch device no longer raises a spurious PointerMove event.
  • Mouse, Touch, and Stylus now properly release the capture after a pointer up outside the canvas.
  • Ending a drag gesture with a touch device no longer raises a spurious PointerMove event.
  • Fixed a possible exception when accessing visuals in the CanvasControl's visual tree in a certain order via VisualTreeHelper.GetChild.

Graph

Bug Fixes

Styles

New Features and Improvements

Bug Fixes

Interaction

New Features and Improvements

Bug Fixes

Tooltips and Popovers

New Features and Improvements

  • The new PopoverManager, in combination with the new PopoverDescriptor, provides an easy way to show popover elements like tooltips, contextual toolbars, detail panels, or persistent annotations.
  • The ToolTipInputMode internally now uses the PopoverManager to display tooltips.
  • The QueryItemToolTipEventArgs additionally provides access to a new PopoverDescriptor that allows flexible customization of the tooltip's popover element. The new descriptor provides properties for positioning the popover with an additional Update event that is triggered whenever a significant action occurs while the popover is opened. It also provides access to overwrite the automatic open/close behavior.
  • Tooltips now remain open at their initial open location until the cursor exits the item. This behavior can be adjusted by changing UpdatePopoverEventArgs.ShowPopover in the Update event.

GraphML

Bug Fixes

Layout

New Features and Improvements

Bug Fixes

Hierarchical Layout

New Features and Improvements

Bug Fixes

Bundled Edge Router

New Features and Improvements

Organic Layout

New Features and Improvements

Bug Fixes

Circular Layout

Bug Fixes

Other Layouts

New Features and Improvements

  • The performance of the InteractiveOrganicLayout class has been improved for large graphs without group nodes or shape constraints.
  • For edge labels with preferred placement center, the GenericLabeling algorithm now prefers positions near the center of the path between the incident nodes. The path length inside the incident nodes is ignored.

Bug Fixes

Analysis

New Features and Improvements

  • The new LayoutGraphAlgorithms.GreedySpanner method allows to calculate the greedy t-spanner for an undirected graph.
  • The Neighborhood algorithm now additionally delivers the edges in the neighborhood of the start nodes through the Neighborhood.Result.Edges property.

Bug Fixes

Documentation and Demos

New Features and Improvements

  • The documentation has been improved: A better Readme guides developers through the first steps with the library. The API documentation and Developer's Guide have a clearer styling and better search and navigation functions.
  • A new demo browser application enables fast and convenient navigation between various demos.
  • Many new demo browser applications demonstrate various features of yFiles WPF and how to use them in code in detail.
  • Bends are now easier selectable in the Bezier Edge Style demo.
  • The new demo GraphMLSupport class provides convenience methods to import and export GraphML files as well as to register command bindings for the Open, Save and SaveAs commands.

Incompatible Changes

Categories: Bundled Edge Router Controls and Graph File IO General Interaction GraphML Layout Hierarchical Layout

Bundled Edge Router

Incompatible Behavior Changes

Controls and Graph

Incompatible API Changes

Incompatible Behavior Changes

File IO

Incompatible API Changes

Incompatible Behavior Changes

General

Incompatible API Changes

Interaction

Incompatible API Changes

GraphML

Incompatible API Changes

Layout

Incompatible API Changes

Hierarchical Layout

Incompatible API Changes

Incompatible Behavior Changes