Z.Blazor.Diagrams.Core 3.0.0-beta.7

This is a prerelease version of Z.Blazor.Diagrams.Core.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Z.Blazor.Diagrams.Core --version 3.0.0-beta.7
NuGet\Install-Package Z.Blazor.Diagrams.Core -Version 3.0.0-beta.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Z.Blazor.Diagrams.Core" Version="3.0.0-beta.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Z.Blazor.Diagrams.Core --version 3.0.0-beta.7
#r "nuget: Z.Blazor.Diagrams.Core, 3.0.0-beta.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Z.Blazor.Diagrams.Core as a Cake Addin
#addin nuget:?package=Z.Blazor.Diagrams.Core&version=3.0.0-beta.7&prerelease

// Install Z.Blazor.Diagrams.Core as a Cake Tool
#tool nuget:?package=Z.Blazor.Diagrams.Core&version=3.0.0-beta.7&prerelease

Blazor.Diagrams

alternate text is missing from this package README image

Z.Blazor.Diagrams is a fully customizable and extensible all-purpose diagrams library for Blazor (both Server Side and WASM). It was first inspired by the popular React library react-diagrams, but then evolved into something much bigger. ZBD 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.

NuGet Package Version Download
Z.Blazor.Diagrams.Core NuGet Nuget
Z.Blazor.Diagrams NuGet Nuget
Z.Blazor.Diagrams.Algorithms NuGet Nuget
Badges
JavaScript GitHub file size in bytes
CSS GitHub file size in bytes
Activity GitHub
License GitHub

Mindset/Goals

  • Be multi purpose and useful for most diagramming use cases. ZBD started as a diagramming library for specific use cases, but it is now expanding to be more generic and more useful.
  • Performance is very important, especially in WebAssembly.
  • Separate the data layer (models) and the UI layer (widgets). Representing diagrams as a model has a lot of benefits, and the separation makes things easier, such as saving snapshots or mutating models, regardless of how/where it's gonna be rendered.
  • Be fully customizable, either in how things look or how things behave. All of the UI can be customized by either providing Blazor components or using CSS. All of the default behaviors are customizable by replacing them with your own custom behaviors.
  • Avoid JavaScript. 95% of ZBD is made using C#/Blazor, JS is only used when absolutely necessary (e.g. bounds and observers). JS interop calls are costly, in the future, we strive to have most of them batched and/or replaced.

Features

  • Multi purpose
  • Touch support
  • SVG layer for links/nodes and HTML layer for nodes for maximum customizability
  • Links between nodes directly or node ports
  • Link routers, path generators, markers and labels
  • Panning, Zooming and Zooming to fit a set of nodes
  • Multi selection, deletion and region selection
  • Groups as first class citizen, with all the features of nodes
  • Custom nodes, links and groups
  • Replaceable ("Hackable") behaviors (e.g. link dragging, model deletion, etc..)
  • Customizable Diagram overview/navigator for large diagrams
  • Snap to Grid
  • Virtualization, only draw nodes that are visible to the users
  • Locking mechanism (read-only)
  • Algorithms

Getting Started

You can get started very easily & quickly using:

Sample project

Repository: https://github.com/Blazor-Diagrams/Blazor.DatabaseDesigner

alternate text is missing from this package README image

Contributing

All kinds of contributions are welcome!
If you're interested in helping, please create an issue or comment on an existing one to explain what you will be doing. This is because multiple people can be working on the same problem.

Feedback

If you find a bug or you want to see a functionality in this library, feel free to open an issue.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Z.Blazor.Diagrams.Core:

Package Downloads
FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

Z.Blazor.Diagrams

A fully customizable and extensible all-purpose diagrams library for Blazor

Z.Blazor.Diagrams.Algorithms

Algorithms for Z.Blazor.Diagrams

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.2 2,514 2/24/2024
3.0.1 22,384 10/27/2023
3.0.0 42,407 8/14/2023
3.0.0-beta.7 1,488 5/10/2023
3.0.0-beta.6 74 5/10/2023
3.0.0-beta.5 2,827 11/24/2022
3.0.0-beta.4 299 10/16/2022
3.0.0-beta.3 1,681 9/19/2022
3.0.0-beta.2 152 9/11/2022
3.0.0-beta.1 177 9/4/2022
2.1.6 466,011 11/1/2021
2.1.5 6,526 8/30/2021
2.1.4 1,210 8/29/2021
2.1.3 2,366 7/19/2021
2.1.2 4,861 5/31/2021
2.1.1 1,239 5/25/2021
2.1.0 2,239 4/30/2021
2.0.0 3,434 3/24/2021
2.0.0-rc 961 3/22/2021
1.5.2 5,468 1/18/2021
1.5.1 1,342 1/9/2021
1.5.0 1,541 1/5/2021
1.4.2 1,361 12/30/2020
1.4.1 1,451 12/24/2020
1.4.0 1,337 12/12/2020
1.3.0 1,500 11/29/2020
1.2.0 11,312 11/8/2020
1.1.3 1,407 11/2/2020
1.1.2 1,329 11/2/2020
1.1.0 1,475 10/19/2020
1.0.4.1 1,247 10/11/2020
1.0.4 1,266 10/2/2020
1.0.3 1,271 9/25/2020
1.0.2 1,332 9/25/2020
1.0.1 1,339 9/24/2020
1.0.0 1,350 9/24/2020
0.7.0 1,507 9/13/2020
0.6.0 1,447 8/14/2020
0.5.0 1,372 7/29/2020
0.4.0 1,399 7/15/2020
0.3.1 1,400 6/25/2020
0.3.0 1,329 6/25/2020
0.2.0 1,356 6/19/2020
0.1.1 1,515 6/18/2020
0.1.0 2,252 6/13/2020