Blazor-Diagrams / Blazor.Diagrams

A fully customizable and extensible all-purpose diagrams library for Blazor
https://blazor-diagrams.zhaytam.com
MIT License
1.01k stars 205 forks source link

Can you create a sample project for .net 8 #423

Open ErgunAhmet opened 8 months ago

alexradu95 commented 5 months ago

https://github.com/alexradu95/Blazor.Diagrams-.NET8-Aspire-Template -> I have created a small project using .NET Aspire Blazor and Blazor.Diagram. I might push more edits, but you can rollback to the first commit and download the starter template

prof3000 commented 4 months ago

Good day. How to small example of lots features, more box more circle more line any figures. Best regards.

Trubador commented 2 months ago

The most important thing to remember in any Blazor DotNet 8+ project is setting the <Routes @rendermode="InteractiveServer" />" in App.Razor - Otherwise the canvas will not be responsive at all - It will just render as a static page.

App.Razor

<body>
    <Routes @rendermode="InteractiveServer" />
    <script src="_framework/blazor.web.js"></script>
    <script src="_content/Z.Blazor.Diagrams/script.min.js"></script>
</body>