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, andStripeDropInputModeprovide staticDoDragDropAsyncmethods to start the drag and drop operations. -
Drag and drop operations supported by the drop input modes now require an
IDataTransferinstead of the deprecatedIDataObject. StaticCreateDataTransfermethods faciltate the creation of an appropriate item. -
The
ToolTipInputMode.ToolTipproperty is now of typeToolTipinstead ofPopup. -
The type of the
CanvasControl.Projectionproperty has been changed from Transform toITransform. This makes it easy to e.g. applyTransformOperationsto the projection.
Bug Fixes
-
ToolTipshandled by theToolTipInputModenow 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, andStripeDropInputModenow require anIDataTransferinstead of the deprecatedIDataObject. -
The
CollapsibleNodeStyleDecorator.CollapseButtonStyleKeyfield andButtonStyleproperty have been removed. Styling the collapse button now works with regular Avalonia styling (via theyfiles-collapsebuttonclass) instead ofControlThemes.
yFiles for Avalonia EAP v2

Categories: New Features Improvements Bug Fixes
New Features
-
NodeControlNodeStyleallows for rendering nodes using Avalonia styles and selectors. -
EdgeSegmentControlEdgeStyleallows for rendering edges using Avalonia styles and selectors. -
LabelControlLabelStyleallows for rendering labels using Avalonia styles and selectors. -
PortControlPortStyleallows for rendering ports using Avalonia styles and selectors. -
StripeControlStripeStyleallows for rendering stripes using Avalonia styles and selectors. -
Method
ExportToBitmaponCanvasControlnow allows to export the canvas as bitmap image. -
The new
PixelImageExporterclass supports exporting aCanvasControlto 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
GroupNodeStyleis 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
TextWrappingShapehas been set to something other than Rectangle. - Fixed text wrapping into irregular shapes.
-
With the
EdgeStyleIndicatorRendererclass, 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.