yFiles for Avalonia
Changelog

yFiles for Avalonia EAP v3

Categories: Improvements Bug Fixes API Changes

Improvements

  • yFiles for Avalonia now supports Avalonia 12.
  • Added a custom non-native drag and drop support which supports drag and drop operations using Touch and Stylus, too. The DropInputMode, NodeDropInputMode, LabelDropInputMode, PortDropInputMode, and StripeDropInputMode provide static DoDragDropAsync methods to start the drag and drop operations.
  • Drag and drop operations supported by the drop input modes now require an IDataTransfer instead of the deprecated IDataObject. Static CreateDataTransfer methods faciltate the creation of an appropriate item.
  • The ToolTipInputMode.ToolTip property is now of type ToolTip instead of Popup.
  • The type of the CanvasControl.Projection property has been changed from Transform to ITransform. This makes it easy to e.g. apply TransformOperations to the projection.

Bug Fixes

  • ToolTips handled by the ToolTipInputMode now also works correctly when the application runs in the browser.

Incompatible API Changes

  • yFiles for Avalonia now requires at least Avalonia 12.0.0.
  • The drop input modes DropInputMode, ItemDropInputMode, NodeDropInputMode, PortDropInputMode, LabelDropInputMode, and StripeDropInputMode now require an IDataTransfer instead of the deprecated IDataObject.
  • The CollapsibleNodeStyleDecorator.CollapseButtonStyleKey field and ButtonStyle property have been removed. Styling the collapse button now works with regular Avalonia styling (via the yfiles-collapsebutton class) instead of ControlThemes.

yFiles for Avalonia EAP v2



Categories: New Features Improvements Bug Fixes

New Features

  • NodeControlNodeStyle allows for rendering nodes using Avalonia styles and selectors.
  • EdgeSegmentControlEdgeStyle allows for rendering edges using Avalonia styles and selectors.
  • LabelControlLabelStyle allows for rendering labels using Avalonia styles and selectors.
  • PortControlPortStyle allows for rendering ports using Avalonia styles and selectors.
  • StripeControlStripeStyle allows for rendering stripes using Avalonia styles and selectors.
  • Method ExportToBitmap on CanvasControl now allows to export the canvas as bitmap image.
  • The new PixelImageExporter class supports exporting a CanvasControl to a bitmap image.

Improvements

  • Added more demos and a better demo overview page.

Bug Fixes

  • Fixed an issue preventing focus indicator from being shown.
  • GroupNodeStyle's button which toggles the expansion state now reacts on first click.
  • The drop shadow of GroupNodeStyle is now placed correctly.
  • Theme colors now work properly, which affect the marquee rectangle, handles, as well as selection, focus, and highlight indicators.
  • Fixed distorted rendering of selection, focus, and highlight indicators when a projection is set on the GraphControl.
  • Fixed a possible exception in label rendering when the TextWrappingShape has been set to something other than Rectangle.
  • Fixed text wrapping into irregular shapes.
  • With the EdgeStyleIndicatorRenderer class, the bends of the intermediate edges that are used for rendering now correctly have the tag object of the corresponding original bend.
  • Key bindings (KeyboardInputMode.AddKeyBinding) now overwrite earlier added bindings.
  • After moving a folder node in closed state with orthogonal edge editing enabled, folding edges no longer get incorrect additional segments when the folder is expanded.