yFiles WPF 2.0.1 Release Notes
yFiles WPF 2.0.1 is the newest bugfix and maintenance release available.
Technical Requirements
- Visual Studio 2008 for software development with yFiles WPF.
- Microsoft .NET Framework 3.0 or 3.5 to execute yFiles WPF programs.
- Microsoft Internet Explorer 6.0 or higher, Mozilla Firefox 2.0 or higher to browse the documentation.
- A Microsoft Windows operating system that supports the Windows Presentation Foundation.
yFiles WPF 2.0.1 - Changes Since 2.0.0.2
Improvements
- Made SimpleLabelStyle aware of RightToLeft flow direction of the GraphControl. The renderer now automatically mirrors the text contents to compensate the transform that has already been applied to the GraphControl.
- Improved the CollapsibleNodeStyleDecorator's renderer code to workaround an issue in WPF that prevents the FlowDirection dependency property from properly being considered in the decorator.
-
The
IReparentNodeHandlerinterface has been improved to now contain a callback that handles the actual reparenting of a node. This makes it possible to add additional callbacks and custom implementations for interactively reparented nodes. -
MultiplexingInputModehas been improved to automatically replace Cursor instances reported by concurrent child instances so that for FlowDirection settings of RightToLeft in the CanvasControl the cursors are mirrored horizontally. For this callback methodReplaceCursorhas been added. -
NavigationInputModeandCanvasControlhave been improved to be aware of the FlowDirection property of theCanvasControlso that in case of a RightToLeft setting the commands behave correctly. -
New overloads have been added in
GraphMLIOHandlerto theAddRegistryInputHandlerandAddInputMapperFuturemethods that make common tasks more easy to implement.
Bugfixes
-
Fixed an exception in the undo code that occurred in the context of
FoldingManagerwhen nodes where moved into a collapsed group node. - Fixed a problem that resulted in edges created interactively where there were no port candidates available
but the
CreateEdgeInputMode.ConncectToPortCandidatesOnlyproperty was set to false had the wrong source port location model assigned. This resulted in these edges unexpectedly jumping to the mouse cursor. -
Fixed an exception that occurred when disabling shared references in
GraphMLIOHandler. -
The setter of the property
LocalCrossingMinimizationinyWorks.yFiles.Layout.Router.OrthogonalEdgeRouterbehaved incorrectly. This has been fixed. Also the propertyCustomBorderCapacityEnabledhad no setter. The property has been renamed toUseCustomBorderCapacityand the getter has been reenabled.
Incompatible Changes
- The two previously undocumented methods in the layout's
yWorks.yFiles.Algorithms.NodeclassSuccessorsandPredecessorshave now been documented and implemented correctly (the implementation of the two methods has been swapped). - The
IReparentNodeHandlerinterface has been changed to contain the newReparentNodemethod. Existing implementations can simply delegate to the default implementation inReparentNodeHandler. - Code that replaced the navigational commands to honor the FlowDirection property of the CanvasControl needs to be replaced because the implementations will now automatically mirror the behavior in case of a RightToLeft setting.
- The first parameter of
yWorks.yFiles.Layout.Hierarchic.Incremental.ILayers.Inserthas been corrected to be of typeyWorks.yFiles.Layout.Hierarchic.Incremental.LayerType GraphMLIOHandler's methodAddRegistryInputHandlerpreviously resulted in a runtime exception if there was a mapper in the registry with the same tag. The new implementation will either reuse the existing instance if it matches the type signature or remove the old instance prior to registering a new one. MethodCreateMappermay be overwritten to adjust this default behavior.-
The property
LocalCrossingMinimizationinyWorks.yFiles.Layout.Router.OrthogonalEdgeRouterdid not work as expected. The behavior has now been adjusted and thus changed. Also the read-only propertyCustomBorderCapacityEnabledhas been renamed to a read-write propertyUseCustomBorderCapacity.
yFiles WPF 2.0.0.2 - Changes Since 2.0.0.1
Bugfixes
- Fixed a NullReferenceException in the context of
IFoldedGraphthat could happen in multi-level node collapse operations as a result to calls toCollapse.
yFiles WPF 2.0.0.1 - Changes Since 2.0
Bugfixes
- Fixed an exception (about unit being disposed already) in
UndoEngineif anIUndoUnitwas added within theAutoAddTimeSpanto the machine after the engine had been cleared. - Calling
IHierarchy.SetParentwhere the new parent was previously declared a leaf (instead of a group node) caused problems because the fact that the node now no longer was leaf was not published through an event. This resulted in inconsistent display of the views if theFoldingManagerwas used. Also the leaf state was not correctly rolled back during undo. - All built-in GraphML
DOMInputHandlercould not parse GraphML default attribute values. - Fixed incorrect implementation of various
BridgeManager.RegisterXXXObstaclemethods. - The
GroupingKeys.MinimumNodeSizeDpKeywas not automatically added to theLayoutGraphAdapter. Now aDataProvideris added to the adapter graph that yields the minimum sizes for nodes that can be obtained from theISizeConstraintProvider<INode>in the node's lookup. - Fixed code in
FixedGroupLayoutStagethat threw aNullReferenceExceptionand rendered the stage basically useless. - Fixed exception in
FixedGroupLayoutStagewhen orthogonal routing was specified, but no DataProvider for selected nodes was set. - Fixed "Inconsistent Grouping" exception in IncrementalHierarchicLayouter.









