diff --git a/CHANGELOG.md b/CHANGELOG.md index c8b25da4..3e31467d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Diagrams (3.0.0-beta.4) - 2022-10-16 + +### Added + +- Initial version of Ordering! + - Nodes, groups and links can now be ordered using the new `Order` property or `SendToFront/Back` methods + - `Diagram.OrderedSelectables` returns the ordered selectables/models + - `DiagramCanvas` now uses this new property to render everything +- `GridSnapToCenter` option in order to snap nodes from their center instead of their top/left position (thanks to @[Jeremy Vance](https://github.com/240026763)) +- More unit tests + +### Changed + +- `Groups` is not a list of groups anymore, but a layer instead (just like `Nodes` and `Links`) + +### Fixed + +- Deleting a group doesn't delete links attached to it +- Deleting a group inside of a group doesn't refresh the parent group +- Links not refreshing when a group's dimensions are updated directly (e.g. deleting a child) +- Layers causing more refreshes than intended + +### Removed + +- All group-related methods and events from `Diagram`, please use the new layer from now on + ## Diagrams (3.0.0-beta.3) - 2022-09-18 ### Added diff --git a/src/Blazor.Diagrams.Algorithms/Blazor.Diagrams.Algorithms.csproj b/src/Blazor.Diagrams.Algorithms/Blazor.Diagrams.Algorithms.csproj index dbb79fba..0b671991 100644 --- a/src/Blazor.Diagrams.Algorithms/Blazor.Diagrams.Algorithms.csproj +++ b/src/Blazor.Diagrams.Algorithms/Blazor.Diagrams.Algorithms.csproj @@ -10,7 +10,7 @@ 3.0.0 3.0.0 https://github.com/zHaytam/Blazor.Diagrams - 3.0.0-beta.3 + 3.0.0-beta.4 Z.Blazor.Diagrams.Algorithms blazor diagrams diagramming svg drag algorithms layouts Z.Blazor.Diagrams.Algorithms diff --git a/src/Blazor.Diagrams.Core/Blazor.Diagrams.Core.csproj b/src/Blazor.Diagrams.Core/Blazor.Diagrams.Core.csproj index d527e7f3..c7449a49 100644 --- a/src/Blazor.Diagrams.Core/Blazor.Diagrams.Core.csproj +++ b/src/Blazor.Diagrams.Core/Blazor.Diagrams.Core.csproj @@ -10,7 +10,7 @@ 3.0.0 3.0.0 https://github.com/Blazor-Diagrams/Blazor.Diagrams - 3.0.0-beta.3 + 3.0.0-beta.4 Z.Blazor.Diagrams.Core blazor diagrams diagramming svg drag Z.Blazor.Diagrams.Core diff --git a/src/Blazor.Diagrams/Blazor.Diagrams.csproj b/src/Blazor.Diagrams/Blazor.Diagrams.csproj index d4d0fb20..a9c9e0d8 100644 --- a/src/Blazor.Diagrams/Blazor.Diagrams.csproj +++ b/src/Blazor.Diagrams/Blazor.Diagrams.csproj @@ -9,7 +9,7 @@ 3.0.0 https://github.com/Blazor-Diagrams/Blazor.Diagrams A fully customizable and extensible all-purpose diagrams library for Blazor - 3.0.0-beta.3 + 3.0.0-beta.4 true blazor diagrams diagramming svg drag Z.Blazor.Diagrams