Blazor Diagram workflow designer #10
Replies: 5 comments 8 replies
-
|
Original discussion All these Javascript interopt is very slow. https://workflowengine.io/documentation/workflow-designer-in-blazor-application |
Beta Was this translation helpful? Give feedback.
-
List of Javascript API for interopt with Antv c# wrappersJavascript APIs
"name": "elsa-designer-dependencies",
"description": "Bundle dependencies for the designer.",
"repository": "https://github.com/elsa-workflows/elsa-dashboard",
"license": "MIT",
"version": "1.0.0",
"dependencies": {
"@antv/layout": "^0.3.25",
"@antv/x6": "^2.17.1",
"@antv/x6-plugin-clipboard": "^2.1.6",
"@antv/x6-plugin-history": "^2.2.4",
"@antv/x6-plugin-keyboard": "^2.2.2",
"@antv/x6-plugin-scroller": "^2.0.10",
"@antv/x6-plugin-selection": "^2.2.1",
"@antv/x6-plugin-snapline": "^2.1.7",
"@antv/x6-plugin-transform": "^2.1.8",
"lodash.camelcase": "^4.3.0",
"uuid": "^9.0.1"
}, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
ASP.NET Core 9/10 Blazor will simplify .NET JavaScript Interoperability Bundlers like Vite/Webpack handle minification, tree‑shaking, and hot reload, while Blazor automatically generates the C# glue code. using System.Runtime.InteropServices.JavaScript;
public partial class MathInterop
{
[JSImport("add", "wwwroot/dist/math.js")]
public static partial int Add(int a, int b);
}Check out @soenneker Blazor wrapper of DrawFlow.jsDrawFlow.js |
Beta Was this translation helpful? Give feedback.
-
|
with the ASP.NET 10, the c# Instead of manual InvokeAsync: Blazor in .NET 10 uses source generators with [JSImport] and [JSExport] to wrap JavaScript functions in strongly‑typed C# methods. This modernizes JS interop, integrates seamlessly with bundlers like Vite/Webpack (POTENTIALLY easily decouple Other Diagramming JavaScript libraries to be integrated into Elsa-Studio), and makes Blazor apps more reliable and developer‑friendly. |
Beta Was this translation helpful? Give feedback.




Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal: Blazor Diagram workflow designer.
ref: #10 (reply in thread)
Details
This discussion addresses what need to be implemented to replace TypeScript ClientLib with Blazor.Domain
Reference
Blazor.Diagram
AzureStudio
Beta Was this translation helpful? Give feedback.
All reactions