Skip to content

Commit ca38f7f

Browse files
committed
Update Versions, CHANGELOG & README
1 parent ccd1dc2 commit ca38f7f

File tree

5 files changed

+40
-14
lines changed

5 files changed

+40
-14
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Diagrams [1.2.0] - 2020-11-08
8+
### Added
9+
- `DefaultLinkModel` in `DiagramLinkOptions` ([@joezearing](https://github.com/joezearing)).
10+
- Ability to change source/target ports of a link (`SetSourcePort` and `SetTargetPort`).
11+
The methods also trigger the new events `SourcePortChanged` and `TargetPortChanged`.
12+
13+
### Changed
14+
- Curved link paths now take into account the ports alignements and a margin ([@joezearing](https://github.com/joezearing)).
15+
- The `AddLink<T>(T link, PortModel source, PortModel? target = null)` overload in `DiagramManager` is now public.
16+
This is useful when developers want to create the link instance themselves, `DiagramMananger` will setup ports and trigger appropriate events.
17+
18+
### Fixed
19+
- `GetMiddleTargetX` and `GetMiddleTargetY` using `SourcePort` instead of `TargetPort` ([@joezearing](https://github.com/joezearing)).
20+
21+
## Algorithms [0.1.0] - 2020-11-08
22+
A new project that aims to group all the algorithms that can be applied to `DiagramManager`.
23+
It's a seperate package so that you only include it when you need it.
24+
25+
### Added
26+
- Reconnect links to the closest ports (Idea & Initial work by [@kolbjornb](https://github.com/kolbjornb)).
27+
728
## [1.1.3] - 2020-11-03
829
### Fixed
930
- Diagram Container not ready when ports/nodes need it.

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was inspired by the popular React library [react-diagrams](https://github.com/projectstorm/react-diagrams).
44

5-
Blazor.Diagrams can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs. The purpose of this library is to give as much functionality as possible with as little JavaScript Interop as possible.
5+
Blazor.Diagrams can be used to make advanced diagrams with a custom design. Even the behavior of the library is "hackable" and can be changed to suit your needs. It is very code/OOP oriented, representing a diagram (using models) is seperate from rendering. This has a lot of benefits, for example if you want to (de)serialize diagrams or make an engine that runs at runtime (visual programming).
66

7-
Blazor.Diagrams is very code/OOP oriented for now, this has a lot of benefits, for example if you want to (de)serialize models or even make an engine that runs at runtime (visual programming).
7+
This library aims to provide most of its features using C#/Blazor while minimizing Javascript.
88

99
| NuGet Package | Version | Download |
1010
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
1111
| Z.Blazor.Diagrams.Core | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.Core.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Core) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.Core.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Core) |
1212
| Z.Blazor.Diagrams | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams) |
13+
| Z.Blazor.Diagrams.Algorithms | [![NuGet](https://img.shields.io/nuget/v/Z.Blazor.Diagrams.Algorithms.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Algorithms) | [![Nuget](https://img.shields.io/nuget/dt/Z.Blazor.Diagrams.Algorithms.svg)](https://www.nuget.org/packages/Z.Blazor.Diagrams.Algorithms) |
1314

1415
| Badges | |
1516
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------- |
@@ -40,6 +41,7 @@ You can get started very easily & quickly using:
4041
- Snap to Grid
4142
- Grouping: [CTRL + ALT + G] to (un)group
4243
- Clipping: only draw nodes that are visible to the users
44+
- Algorithms
4345

4446
## Preview
4547

@@ -63,8 +65,9 @@ Repository: https://github.com/zHaytam/Blazor.DatabaseDesigner
6365

6466
## Roadmap
6567

66-
- [ ] History (undo/redo)
67-
- [ ] Auto layout (might add a lot of js interop)
68+
- [ ] Better way to handle/render groups
69+
- [ ] Pluggable history (undo/redo)
70+
- [ ] Auto layout
6871

6972
### Thinking about
7073

src/Blazor.Diagrams.Algorithms/Blazor.Diagrams.Algorithms.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
77
<PackageLicenseExpression>MIT</PackageLicenseExpression>
88
<Authors>zHaytam</Authors>
9-
<Description>A fully customizable and extensible all-purpose diagrams library for Blazor</Description>
10-
<AssemblyVersion>0.1</AssemblyVersion>
11-
<FileVersion>0.1</FileVersion>
9+
<Description>Algorithms for Z.Blazor.Diagrams</Description>
10+
<AssemblyVersion>0.1.0</AssemblyVersion>
11+
<FileVersion>0.1.0</FileVersion>
1212
<RepositoryUrl>https://github.com/zHaytam/Blazor.Diagrams</RepositoryUrl>
13-
<Version>0.10</Version>
13+
<Version>0.1.0</Version>
1414
<PackageId>Z.Blazor.Diagrams.Algorithms</PackageId>
1515
<PackageTags>blazor diagrams diagramming svg drag algorithms layouts</PackageTags>
1616
<Product>Z.Blazor.Diagrams.Algorithms</Product>

src/Blazor.Diagrams.Core/Blazor.Diagrams.Core.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
<PackageLicenseExpression>MIT</PackageLicenseExpression>
88
<Authors>zHaytam</Authors>
99
<Description>A fully customizable and extensible all-purpose diagrams library for Blazor</Description>
10-
<AssemblyVersion>1.1.3</AssemblyVersion>
11-
<FileVersion>1.1.3</FileVersion>
10+
<AssemblyVersion>1.2.0</AssemblyVersion>
11+
<FileVersion>1.2.0</FileVersion>
1212
<RepositoryUrl>https://github.com/zHaytam/Blazor.Diagrams</RepositoryUrl>
13-
<Version>1.1.3</Version>
13+
<Version>1.2.0</Version>
1414
<PackageId>Z.Blazor.Diagrams.Core</PackageId>
1515
<PackageTags>blazor diagrams diagramming svg drag</PackageTags>
16+
<Product>Z.Blazor.Diagrams.Core</Product>
1617
</PropertyGroup>
1718

1819
<ItemGroup>

src/Blazor.Diagrams/Blazor.Diagrams.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
<RazorLangVersion>3.0</RazorLangVersion>
66
<Authors>zHaytam</Authors>
77
<PackageLicenseExpression>MIT</PackageLicenseExpression>
8-
<AssemblyVersion>1.1.3</AssemblyVersion>
9-
<FileVersion>1.1.3</FileVersion>
8+
<AssemblyVersion>1.2.0</AssemblyVersion>
9+
<FileVersion>1.2.0</FileVersion>
1010
<RepositoryUrl>https://github.com/zHaytam/Blazor.Diagrams</RepositoryUrl>
1111
<Description>A fully customizable and extensible all-purpose diagrams library for Blazor</Description>
12-
<Version>1.1.3</Version>
12+
<Version>1.2.0</Version>
1313
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1414
<PackageTags>blazor diagrams diagramming svg drag</PackageTags>
1515
<PackageId>Z.Blazor.Diagrams</PackageId>
1616
<PackageProjectUrl>https://blazor-diagrams.zhaytam.com/</PackageProjectUrl>
17+
<Product>Z.Blazor.Diagrams</Product>
1718
</PropertyGroup>
1819

1920

0 commit comments

Comments
 (0)