StellaOps.Workflow.Renderer.ElkSharp
Lays out workflow diagrams with the ElkSharp layered layout engine. Install Installing Stella Ops packagesWorkflow downloads and signaturesnet10.01.0.1-20261118T121708Zdotnet add package StellaOps.
Namespaces
| Namespace | Types |
|---|---|
StellaOps. | 2 |
namespace StellaOps.Workflow.Renderer.ElkSharp
| Type | Kind | Description |
|---|---|---|
ElkSharpWorkflowRenderLayoutEngine | class | Lays out workflow render graphs with the ElkSharp layered layout (provider ElkSharp). |
ElkSharpWorkflowRenderLayoutServiceCollectionExtensions | class | Registers the ElkSharp layout engine of workflow diagrams. |
class ElkSharpWorkflowRenderLayoutEngine
public sealed class ElkSharpWorkflowRenderLayoutEngine : INamedWorkflowRenderGraphLayoutEngine
Lays out workflow render graphs with the ElkSharp layered layout (provider ElkSharp).
Members
| Member | Kind | Summary |
|---|---|---|
ElkSharpWorkflowRenderLayoutEngine( | constructor | Creates the engine. |
ProviderName | property | The provider name that selects the engine, compared ignoring case. |
LayoutAsync( | method | Positions the nodes and routes the edges of a render graph. |
constructor ElkSharpWorkflowRenderLayoutEngine(IElkLayoutEngine) #
ElkSharpWorkflowRenderLayoutEngine(IElkLayoutEngine) #public ElkSharpWorkflowRenderLayoutEngine(IElkLayoutEngine? elkLayoutEngine = null)
Creates the engine.
Parameters
elkLayoutEngine: The ElkSharp layout engine; the layered engine when not set.
property ProviderName #
ProviderName #public string ProviderName { get; }
The provider name that selects the engine, compared ignoring case.
method LayoutAsync(WorkflowRenderGraph, WorkflowRenderLayoutRequest, CancellationToken) #
LayoutAsync(WorkflowRenderGraph, WorkflowRenderLayoutRequest, CancellationToken) #public Task<WorkflowRenderLayoutResult> LayoutAsync(WorkflowRenderGraph graph, WorkflowRenderLayoutRequest? request = null, CancellationToken cancellationToken = default)
Positions the nodes and routes the edges of a render graph.
Parameters
graph: The render graph.request: The layout settings; the defaults when not set.cancellationToken: Cancels the operation.
Returns
The positioned nodes and routed edges.
class ElkSharpWorkflowRenderLayoutServiceCollectionExtensions
public static class ElkSharpWorkflowRenderLayoutServiceCollectionExtensions
Registers the ElkSharp layout engine of workflow diagrams.
Members
| Member | Kind | Summary |
|---|---|---|
AddWorkflowElkSharpRenderLayout( | extension method | Registers ElkSharpWorkflowRenderLayoutEngineas a named render layout engine; the engine’s layout resolver picks it when Workflow names it. |
extension method AddWorkflowElkSharpRenderLayout(IServiceCollection) #
AddWorkflowElkSharpRenderLayout(IServiceCollection) #public static IServiceCollection AddWorkflowElkSharpRenderLayout(this IServiceCollection services)
Registers ElkSharpWorkflowRenderLayoutEngineas a named render layout engine; the engine’s layout resolver picks it when Workflow names it.