Workflow Editor (3.5-preview)

builder.Services.AddServerSideBlazor(options =>
{
// Comment out the V2 activity wrapper (default).
//options.RootComponents.RegisterCustomElsaStudioElements();
// To use V1 activity wrapper layout, specify the V1 component instead:
options.RootComponents.RegisterCustomElsaStudioElements(typeof(Elsa.Studio.Workflows.Designer.Components.ActivityWrappers.V1.EmbeddedActivityWrapper));
options.RootComponents.MaxJSRootComponents = 1000;
});
// Add this for the V1 designer theme (default is V2).
builder.Services.Configure<DesignerOptions>(options =>
{
options.DesignerCssClass = "elsa-flowchart-diagram-designer-v1";
options.GraphSettings.Grid.Type = "mesh";
});
Last updated