Inceptus.DocumentEngine.Runtime 0.1.14

Suggested Alternatives

Inceptus.DiagramEngine.Runtime

Additional Details

This package has been renamed to Inceptus.DiagramEngine.Contracts.

Migrate to Inceptus.DiagramEngine.Runtime 1.0.0 or later. DiagramEngine 1.0.0 is a breaking package and namespace migration, so update the complete DiagramEngine package family together and recompile the application.

There is a newer version of this package available.
See the version list below for details.
dotnet add package Inceptus.DocumentEngine.Runtime --version 0.1.14
                    
NuGet\Install-Package Inceptus.DocumentEngine.Runtime -Version 0.1.14
                    
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="Inceptus.DocumentEngine.Runtime" Version="0.1.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Inceptus.DocumentEngine.Runtime" Version="0.1.14" />
                    
Directory.Packages.props
<PackageReference Include="Inceptus.DocumentEngine.Runtime" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Inceptus.DocumentEngine.Runtime --version 0.1.14
                    
#r "nuget: Inceptus.DocumentEngine.Runtime, 0.1.14"
                    
#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.
#:package Inceptus.DocumentEngine.Runtime@0.1.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Inceptus.DocumentEngine.Runtime&version=0.1.14
                    
Install as a Cake Addin
#tool nuget:?package=Inceptus.DocumentEngine.Runtime&version=0.1.14
                    
Install as a Cake Tool

Inceptus Document Engine

A reusable BPMN modeler with immutable native documents and a standalone process presentation export. This README describes the locally prepared 0.1.14 release candidate targeting net10.0; public publication is a separate step.

Open BPMN Editor

Choose an integration level

Package Intended entry point
Inceptus.DocumentEngine.Bpmn.Blazor Reusable BPMN editor and immutable document exchange.
Inceptus.Bpmn.Integration Native serialization, version compatibility, explicit document validation, BPMN 2.0.2 conversion and publishing package generation.
Inceptus.DocumentEngine.Contracts Advanced, notation-neutral immutable models and extension contracts; the snapshot graph is also part of ordinary facade input/output.
Inceptus.DocumentEngine.Runtime Advanced headless document, command, processing and History infrastructure.
Inceptus.DocumentEngine.Bpmn Advanced BPMN semantics, commands, validation and plugin contributions.
Inceptus.DocumentEngine.Organizational Advanced Organizational profile composition, independent of the browser renderer.
Inceptus.DocumentEngine.Canvas2D Advanced browser/session integration, generic Canvas2D rendering and standalone Publish construction.

Use the seven packages as an aligned version family. The modeler and Integration are separate entry points: hosts performing document transfer, validation or publishing reference both. Each brings its lower packages transitively. Integration depends on Contracts, Runtime, Bpmn, Organizational and Canvas2D; it does not depend on the editor UI or Demo. Independent mixed family versions are unsupported and unverified. Canvas2D requires its matching Runtime version because it consumes Runtime's internal History contract. Other dependency ranges retain their existing minimum-version policy. A direct dependency override can still produce an incompatible graph and a NuGet warning; the constraint is not a runtime compatibility guarantee.

In 0.1.9, Inceptus.DocumentEngine.Bpmn depends on both Contracts and Organizational. It uses Organizational's Pool membership, Participant assignment and region geometry for BPMN flow rules and editing. These dependencies resolve transitively; hosts using only editing still need only the Bpmn.Blazor reference.

Embed the modeler

The validated hosting model is a standalone Blazor WebAssembly application on .NET 10. Configure a feed containing the reviewed candidate before adding the package:

<PackageReference Include="Inceptus.DocumentEngine.Bpmn.Blazor" Version="0.1.14" />
<PackageReference Include="Inceptus.Bpmn.Integration" Version="0.1.14" />

Register the modeler in the application's Program.cs. The extension namespace is Microsoft.Extensions.DependencyInjection:

using Microsoft.Extensions.DependencyInjection;

builder.Services.AddInceptusBpmnModeler();

Render the public component in a container with usable dimensions:

@using Inceptus.DocumentEngine.Bpmn.Blazor
@using Inceptus.DocumentEngine.Bpmn.Blazor.Components
@using Inceptus.DocumentEngine.Contracts.Documents

<div style="height: 75vh; min-height: 24rem;">
    <InceptusBpmnModeler @ref="_modeler"
                        InitialDocument="InitialSnapshot"
                        Ready="OnReady"
                        DocumentChanged="OnDocumentChanged"
                        OperationFailed="OnOperationFailed"
                        aria-label="Process modeler" />
</div>
<p>@_lastSnapshot?.DocumentId @_operationStatus</p>

@code {
    [Parameter] public DocumentSnapshot? InitialSnapshot { get; set; }
    private InceptusBpmnModeler? _modeler;
    private DocumentSnapshot? _lastSnapshot;
    private string? _operationStatus;

    private void OnReady(BpmnModelerReadyEventArgs args)
        => _lastSnapshot = args.Snapshot;

    private void OnDocumentChanged(BpmnModelerDocumentChangedEventArgs args)
        => _lastSnapshot = args.Snapshot;

    private void OnOperationFailed(BpmnModelerOperationFailedEventArgs args)
        => _operationStatus = $"{args.Operation}: {args.Status}";
}

Keep the host's generated scoped-CSS bundle linked in wwwroot/index.html, using the application's assembly name:

<link href="YourApplication.styles.css" rel="stylesheet" />

Razor static-web-asset integration supplies the package's JavaScript, scoped CSS and font. Do not copy modeler assets or reference engine source projects in a package consumer. Keep ordinary Blazor framework bootstrapping and the host's application base configuration. Root and non-root deployment use the same package assets; there are no modeler-specific asset URL options.

Class, Style and AdditionalAttributes (IReadOnlyDictionary<string, object>?, captured unmatched attributes) apply to the component wrapper. Ensure ancestor layout allows it to receive width and height.

Source Demo

The canonical source Demo is src/Inceptus.DocumentEngine.Blazor. It uses project references to the current engine and starts with its embedded branching order-process sample. Run it with dotnet run --project src/Inceptus.DocumentEngine.Blazor -c Release. The sample includes named event-gateway branches, an expandable subprocess and a boundary timer. Its two closely spaced branch labels have explicit placements; Reset label position restores the automatic near-source placement.

The Demo exercises the current activity selection, drag-preview, viewport culling, pan/zoom and renderer-cache paths without opt-in settings. Select activity bodies and captions, move activities, use Undo/Redo, navigate into the subprocess, and pan or zoom the diagram. Selection and viewport changes remain transient; accepted edits use the existing command and History path. The Demo is not packaged; package consumers use the public component described above.

Editing tools

The main Toolbox provides family-level Events, Activities and Gateways entries, plus a FLOW group with Sequence Flow and Message Flow. EVENTS, ACTIVITIES, GATEWAYS and FLOW start collapsed; expand a group to choose a tool. Properties supports switching compatible concrete Task, intermediate Event, Boundary Event and Gateway types while preserving identity and compatible state. Invalid switches are rejected without changing the document.

Properties uses a nine-row Description field with multiline editing and the existing Apply/Cancel and History behavior. Smart Edit offers Open SubProcess for an eligible selected SubProcess, using the existing scope navigation, breadcrumb return and navigation History. These controls belong to the packaged editor; hosts do not need a separate Properties or Smart Edit implementation.

Message Flow connects different effective Participants in the supported Pool diagram. A standalone Pool supplies its own communication identity; Pools assigned to the same Participant are presented as adjoining Lanes. Supported endpoints include eligible Activities, directional Message Events, standalone Pools and shared Participant labels. Lane-mode Pools are not direct endpoints. Unassigned elements cannot be Message Flow endpoints.

Auto Arrange reorganizes the active Process scope, including its visible Pool/Lane diagram, through one undoable edit. It preserves semantic identities, membership and routing modes; hidden child scopes remain unchanged. Sequence Flow drives placement. Crossing reduction and connector-point improvement use bounded heuristics rather than a global optimal-layout guarantee.

Smart Edit starts ON. Selecting one eligible flow node shows contextual Properties / Auto Points / Delete actions and compatible Events / Activities / Gateways creation choices. Smart Create adds the chosen element and its Sequence Flow atomically in one History operation, inherits the source's supported Pool/Lane context, and selects the new element for continued creation. Auto Points conservatively improves eligible incident connection points. Turning Smart Edit OFF hides both contextual toolboxes while ordinary editing remains available; turning it ON restores tools eligible for the current selection. Smart Edit and Toolbox expansion are transient editor UI state, not saved document preferences.

Graphical export and drawing area

The source Demo's Export menu also offers SVG Image and PNG Image. Both export the complete current diagram level, including content outside the visible viewport, independently of zoom and pan. Export does not validate BPMN, modify the document, enter History or acknowledge native save state.

External hosts capture with CapturePresentationAsync() and use the public Canvas2DGraphicalExporter with GraphicalExportOptions and their editor's font and image configuration. GraphicalExportPreparer shares preparation across formats; SvgGraphicalExporter also supports managed-only SVG generation. The host owns menus, downloads and operation feedback.

The editor's internal Maximize drawing area / Restore drawing area toggle uses BpmnModelerDisplayMode.Normal / Maximized. Bind DisplayMode and DisplayModeChanged so the host can hide its own operations toolbar and expand its container to the available viewport. Keep the same editor mounted. The packaged component automatically selects Compact toolbox mode on entry and restores the previous mode on exit, preserving document, selection, zoom, pan and History.

Two touchscreen contacts pan by their midpoint at fixed zoom; wheel/touchpad input uses ordered, bounded delivery and compatible-event coalescing. Gesture takeover safely cancels conflicting editing previews. One-finger touch placement commits on release, while mouse placement retains its existing behavior. Panning does not modify the document or History. Hosts receive this through the packaged CSS/JavaScript and should not add a second gesture handler.

Physical mobile-device, touchscreen and laptop-touchpad acceptance has not been performed. It remains deferred until public package publication and integration into the standalone InceptusBpmnEditor; browser simulation and automated coverage do not establish physical-device acceptance.

UI localization

The modeler UI supports English (en / en-GB), Polish (pl / pl-PL), French (fr / fr-FR), German (de / de-DE) and Spanish (es / es-ES). English is the neutral resource and final fallback. Standard .NET resource resolution also supports parent fallback: fr-CA, de-AT and es-MX use French, German and Spanish; en-US and unsupported cultures such as it-IT use English.

CultureInfo.CurrentUICulture is the sole culture authority. AddInceptusBpmnModeler() includes standard localization registration; consumers do not need internal resource types. The RCL carries its resources and satellite assemblies. There is no public Language or Culture parameter and no built-in language selector.

For runtime switching, change the host UI culture in its normal Blazor rendering context and re-render. A host can cascade that culture to ensure even a parameterless modeler receives the render notification:

@using System.Globalization

<CascadingValue Value="CultureInfo.CurrentUICulture">
    <InceptusBpmnModeler />
</CascadingValue>

The cascade is a render notification, not an override: set the ambient CurrentUICulture as well as updating the host render. The host remains responsible for its normal culture lifetime and WebAssembly globalization/ICU configuration. Changing culture does not replace the Document or editing session, write History, reset selection/viewport, or invoke DocumentChanged. Open dialogs and feedback resolve presentation labels again on rendering.

Document names, property values, diagnostic identities and canonical diagnostic messages remain unchanged. Native import/export and PublishedProcess use their existing English-based, culture-invariant schemas; there is no public data-format change. Only UI wrappers around canonical diagnostics are localized. The standalone exported PublishedProcess viewer remains outside modeler localization scope. Host-owned labels and documentation remain the host's responsibility.

Document ownership and notifications

The component owns its live Document, editing session, History and browser resources. Hosts exchange immutable DocumentSnapshot graphs, immutable diagnostic/result objects and copied file bytes. Do not retain a mutable engine runtime through ordinary integration.

InitialDocument is consumed once, at initialization. A supplied snapshot takes precedence over the advanced startup provider. Null uses the provider if one is registered, otherwise canonical empty startup. Later parameter changes do not replace the document: call SetDocumentAsync explicitly. Two components reconstruct independent live state even from the same initial snapshot.

  • Ready: EventCallback<BpmnModelerReadyEventArgs>, once after successful initial attachment; Snapshot is the initial persistent state. Attachment alone does not emit DocumentChanged.
  • DocumentChanged: EventCallback<BpmnModelerDocumentChangedEventArgs>; exposes Snapshot and Kind (PersistentMutation or DocumentReplacement). Accepted persistent edits, Undo/Redo and replacements notify; selection, pan/zoom, scope navigation, validation alone and transient visibility do not.
  • OperationFailed: EventCallback<BpmnModelerOperationFailedEventArgs>; exposes Operation, Status and ImmutableArray<Diagnostic> Diagnostics. These are bounded operation diagnostics, separate from model-validation Issues. Expected cancellation does not emit a failure callback. Context-edit rejections use the editor's interaction diagnostics, not an additional facade callback kind.

Callback invocation is ordered. Arbitrary asynchronous consumer callbacks may complete in a different order and may await subsequent modeler operations. Callback exceptions do not roll back committed changes. Track DocumentId together with revision: replacing a document can legitimately lower the revision number. Disposal and retired sessions suppress stale notifications.

Editor document API and host operations (A3)

Public API migration from 0.1.9: native Import/Export and Publish facade methods were removed; application-level Import/Export/Validate/Publish controls and validation reporting now belong to the host. Add the Integration PackageReference above and move file selection, downloads and operation feedback to your host. Do not replace removed methods with editor internals or source/DLL references.

Previous integration A3 host responsibility
ImportNativeDocumentAsync Deserialize bytes, check native version with the migrator, call SetDocumentAsync with saved-routing verification.
ExportNativeDocumentAsync Capture with GetDocumentAsync, serialize, download, acknowledge the matching native save checkpoint only after successful storage.
Editor Validate / Issues Explicitly call BpmnDocumentValidator and present its report; no automatic validation during Import/Export.
PublishAsync Capture and validate the document, capture its matching immutable presentation, invoke PublishingPackageGenerator, download the ZIP.
BPMN XML exchange Use ImportAsync with the existing routing/geometry preparer and atomic installation; use code-defined Export and download document.xml. Report conversion losses separately from operation failures.

BpmnDocumentSerializer and BpmnDocumentMigrator are static services. Create BpmnDocumentValidator and PublishingPackageGenerator as host-owned services. Native JSON is the full-fidelity persistence format; BPMN XML is a potentially lossy interchange format and must not acknowledge a native save checkpoint. See the source Demo below for composition, technical rejection handling and validation-state invalidation.

The canonical document remains DocumentSnapshot from Inceptus.DocumentEngine.Contracts.Documents. The reusable editor implements IBpmnDocumentEditor. Its document API is:

BpmnModelerDocumentResult GetDocument();
ValueTask<BpmnModelerDocumentResult> GetDocumentAsync(CancellationToken cancellationToken = default);
ValueTask<BpmnModelerDocumentResult> SetDocumentAsync(
    DocumentSnapshot? document, CancellationToken cancellationToken = default);

The asynchronous capture waits for accepted mutations. Neither capture method serializes, validates or creates files. SetDocumentAsync installs a prepared snapshot atomically in a fresh session with fresh History and editor state. It preserves supplied identities; failure or cancellation retains the previous usable editor. Editing commands and Undo/Redo continue through the existing session. CaptureDocumentSnapshot and LoadDocumentAsync remain compatibility aliases; NewDocumentAsync remains an editor lifecycle operation.

Inspect Succeeded, Status, Snapshot and Diagnostics on document results. Status is one of Succeeded, Rejected, Unavailable, Failed, Cancelled. The editor no longer offers ImportNativeDocumentAsync, ExportNativeDocumentAsync or PublishAsync, or renders Import/Export/Validate/Publish controls. Immutable file-result and save-checkpoint contracts remain available to hosts.

The internal demo's BpmnDemoHost and DemoDocumentOperations are the reference host implementation:

  • Import: host reads bytes, BpmnDocumentSerializer.Deserialize, BpmnDocumentMigrator.Migrate, then SetDocumentAsync with the existing atomic attachment/integrity checks.
  • Export: GetDocumentAsync, serializer, host download, then acknowledge the issued save checkpoint.
  • Validate: capture the document and immutable view context, run the integration validator, and display the report in the host.
  • Publish: capture the document, validate, capture immutable presentation data, generate the package, and download it in the host.

Import and Export do not invoke BpmnDocumentValidator or run model-quality rules. Technical format, compatibility, reconstruction and routing-integrity failures can still block transfer. A document with model-quality errors or warnings can be transferred; the user chooses when to Validate. The package builder retains its existing publication eligibility checks. Validation does not change the document. Rules remain in the notation packages, composed by the integration validator; the editor holds no document-validation report.

CaptureEditorContext and ViewChanged let a host track attachment, scope and edit availability without a live runtime handle. SelectVisualAsync provides guarded issue-target selection. CapturePresentationAsync supplies immutable active-view data; UpdatePublicationAsync edits publication metadata through the existing command/history path. Save checkpoint issuance and acknowledgement track externally completed storage without performing it.

Native JSON remains Inceptus.Document, formatVersion 2. The migrator accepts v2 unchanged and explicitly rejects unsupported versions; no legacy migrations exist. The optional BpmnModelerDocumentLoadOptions overload preserves saved-routing verification and opt-in incompatible-v2 recovery during attachment. This requires the editor's renderer metrics and routing configuration and is an internal attachment precondition, not schema migration. Recovered content remains unsaved.

BpmnStandardConverter converts the supported interchange subset of BPMN 2.0.2. Native schema version and BPMN standard version remain separate concepts. Conversion is deliberately lossy; it is not executable-process certification.

var imported = BpmnStandardConverter.Import(xml);
// To retain DI paths, supply the host's existing routing/geometry preparer:
var prepared = await BpmnStandardConverter.ImportAsync(xml, routingPreparer, cancellationToken);
var exported = BpmnStandardConverter.Export(document);
// Check Succeeded before using Document / Xml. Display or persist ConversionLog in the host.

Each result contains Document or Xml, Diagnostics, ConversionLog, Succeeded and HasLosses. ConversionLog contains only conversion losses: Omitted native information on export and Ignored BPMN information on import, with a stable code, message, source identity, property and optional target identity. Successful mappings are not logged. Diagnostics separately contains technical conversion errors/advisories; it does not duplicate losses or include model-validation findings. Failure returns neither a partial Document nor partial XML.

Mapping Behavior
Process roots / nested scopes Top-level processes and collaborations; owned scopes become embedded SubProcesses. No executable behavior is claimed.
Events None Start/End; intermediate Message/Signal catch/throw and Timer catch; Timer/Message/Signal Boundary Events with attachment and interruption flag.
Tasks / gateways Task, User, Manual, Service, Send, Receive; Exclusive, Inclusive, Parallel, Event-based gateways.
Flows Sequence and Message Flows, endpoint IDs, names and documentation; existing A2 endpoint/ownership rules apply.
Participants / Pools / Lanes Standalone A2 Pool becomes a Participant/process. Pools assigned to one A2 Participant become lanes of its process. Embedded SubProcess Pools become lanes. Explicit membership is authoritative; legacy process references do not infer membership.
IDs / text Valid XML IDs preserved; other native IDs encoded collision-free with diagnostics. Names and plain descriptions map to name/documentation.
DI Shape bounds, saved caption bounds, explicit label positions and ordered saved connector waypoints. Existing projection supplies Pool/Participant envelopes.

Import uses a fresh revision and deterministic native defaults. Unnamed nodes requiring a native display name use their ID, with a diagnostic. Script/Business Rule Tasks and Call Activities retain their abstract Task/flow structure while specialized behavior is logged as ignored. Transactions and ad-hoc SubProcesses retain their embedded graph as ordinary SubProcesses. Triggered Start/End events retain their base event; unsupported definitions are logged. For an Intermediate/Boundary event with several definitions, the first supported definition in XML order supplies its native kind; all other definitions are logged. Timer text is retained; on export only recognizable ISO date/duration/repeating-interval literals are classified. Untyped custom expressions are omitted with diagnostics. No Inceptus XML extensions are emitted.

Unsupported BPMN data objects/stores/associations, execution expressions, resources, messages/signals payload definitions, choreography/conversation content, nested lane hierarchy, extra diagram representations, foreign extensions and attributes are ignored and logged. Unmapped process information has no native process-object property bag and is logged as ignored; compatible defaults and neutral interchange metadata are accepted by the import profile below. Multiple documentation blocks become one plain-text description. Black-box Participants use empty A2 Pools; direct Participant endpoints use the existing Participant header plus an assigned Pool. The absence of a process/black-box marker is not preserved on subsequent export.

Native Code/ElementNumber, publishing metadata other than the exported definitions name, revision, custom/profile properties, unmapped semantic kinds, anchor identities, pinning, routing mode, manual-route editing intent and routing proofs are omitted and logged. Their visible geometry is converted where available. No layout, routing, file download or editor mutation runs on export.

Synchronous Import retains DI node bounds and endpoint attachment geometry, but explicitly logs omitted connector paths; normal editor attachment prepares initial geometry. Use ImportAsync for DI path retention and for Message Flow diagrams. It uses the supplied existing IConnectorRoutingStatePreparer: process layout first, then Message Flows, then supported Pool dimension intents. DI paths become Manual routes. Native minimum geometry, boundary attachment, anchor and Pool policies can normalize coordinates; changes are logged. Negative diagram origins are translated. Additional visuals use the first source-ordered representation. Missing DI uses normal layout; there is no second routing engine. Pool/Lane frame placement and font measurement are native presentation policies, so visual equality is not promised for arbitrary third-party layouts.

Import/export validate against the bundled, unmodified OMG BPMN 2.0.2 schemas offline. Namespace URIs, not prefixes, identify BPMN and DI. Export uses the standard MODEL/BPMNDI/DD namespaces and a document-specific urn:inceptus:bpmn: target namespace. Local qualified references are supported; external structural documents are not fetched. DTD/entity expansion is disabled; XML is limited to 16,777,216 characters and 128 nested levels. Document reconstruction, required ownership/reference checks and XML schema checks guard technical conversion integrity. Model validation does not run at this boundary; import requires a coherent native result. Conversion does not change the validator's rules.

Blocking cases include malformed/schema-invalid XML, duplicate identities, missing/omitted required endpoints, incompatible attachment, unresolved external structural references, ambiguous Participant/process sharing or Lane membership, cross-scope/Participant Sequence Flows, nonrepresentable Message Flow ownership, and failed native geometry preparation. Unsupported isolated content is omitted instead. The reference import produces one main Inceptus diagram, containing the Collaboration's Participants/Pools plus at most one top-level process that no Participant references through processRef. Embedded SubProcesses retain their nested scopes. More than one such unassigned process fails with BPMN_IMPORT_MULTIPLE_UNASSIGNED_PROCESSES (including names/IDs); more than one Collaboration fails with BPMN_IMPORT_MULTIPLE_COLLABORATIONS. These are Inceptus compatibility limits, not BPMN validity rules or model-quality validation. No process is selected silently and no artificial Pool is generated for this purpose. Independent DI planes use the existing geometry preparation. If an explicitly positioned unassigned node still overlaps a Pool from another plane, BPMN_IMPORT_DI_COMPOSITION_UNSUPPORTED rejects composition instead of inventing an arrangement. Synchronous import checks supplied DI bounds; asynchronous import compares prepared nodes and Pool envelopes in scope coordinates. The existing unassigned-region placement can resolve overlapping source planes, so a file rejected by the unprepared synchronous path can succeed through the normal asynchronous host import. One Inceptus main diagram can still export as several standard processes: one per effective Participant, plus one for its unassigned elements. Export mappings remain code-defined. Ordinary imported documents have no process/view selector; SubProcess breadcrumbs remain available, and legacy native documents with peer root scopes retain their scope selector. Round-trip tests compare supported types, names/descriptions, containment, membership, topology and representable DI; they do not use XML bytes or whole DocumentSnapshot.Equals() as the interchange criterion.

The internal demo offers compact Import and Export format menus: Inceptus JSON (full fidelity) and BPMN 2.0.2 (potentially lossy interchange). BPMN import uses .xml (.bpmn remains an accepted alias), accepts files up to 16 MiB and uses ImportAsync with the existing routing preparer, notation registrations and bundled browser font measurements. The host passes the prepared snapshot to SetDocumentAsync; failed conversion or edits made during preparation leave the current document intact. BPMN export converts the current snapshot and downloads UTF-8 document.xml with MIME type application/xml;charset=utf-8 without acknowledging a native save. Neither workflow invokes diagram validation. The dismissible host feedback panel separates Conversion losses (Omitted/Ignored) from Operation feedback (technical conversion/read/download failures and advisories). Explicit Validate alone creates the host validation report. The host toolbar shows Not validated until a current report exists, then replaces it with clickable Errors / Warnings / Info counts that open the existing dismissible Issues panel (including a zero-issue report). Editing or changing scope invalidates the report and hides the counts again; it does not run validation automatically. Publish retains its existing validation and publication behavior.

Bpmn202ImportProfile.xml is the authoritative declarative policy for interpreting BPMN 2.0.2 during import. It lives in src/Inceptus.Bpmn.Integration, with namespace urn:inceptus:bpmn:import-profile:1, profile version 1, standard BPMN, and standard version 2.0.2. BPMN export is code-defined and is not configured by the import profile. The adjacent Bpmn202ImportProfile.xsd validates the vocabulary; the loader also rejects conflicting rules, unresolved/unknown element QNames, unknown attributes and unsupported action/strategy combinations. Both files are embedded in the integration assembly. BpmnImportProfile.Default loads and validates once into immutable typed ImportRules. The BpmnImportProfile XML root directly contains Fallback, Element and Transformation rules; there are no direction wrappers, Export bindings, or reserved Export configuration. Elements match namespace URI plus local name, independently of the prefixes in imported XML. DTDs and external entities are prohibited, and profiles are limited to 1,048,576 characters.

The profile distinguishes actual source-information loss from compatible BPMN defaults. exporter/exporterVersion are neutral metadata; non-executable/open processes, processType=None, horizontal Pool/Lane shapes, ordinary Activities, ordinary SubProcesses and the default Event-Based Gateway properties do not generate losses. Non-default unsupported execution properties retain the base structure and report only the lost property. Boolean 0/1 and equivalent whole-number lexical values are compared by value. Plain documentation text is mapped; other text formats retain text and report formatting loss. Gateway direction is accepted when it matches retained Sequence Flow topology (multiple incoming/outgoing flows determine Converging/Diverging/Mixed); disagreement is reported. Missing Code/ElementNumber uses the existing deterministic native policy without a routine warning. Required native name fallbacks and exceptional preparation advisories remain separate diagnostics.

action defines how imported source information is treated. The optional Report independently defines whether that treatment represents a reportable loss of source information. No Report means no loss entry; a Report disposition="Ignored" produces an import loss. There is no explicit None disposition and no Omit action. The general conversion-result contract retains Omitted for code-defined export losses.

Profile action Treatment
Map Use an existing converter binding to retain source information.
AcceptDefault Accept the native/default assumption.
AcceptMetadata Accept neutral standard interchange metadata.
AcceptDerived Verify derivability using the code-defined topology strategy; use the optional report on disagreement.
Normalize Use the existing native normalization.
Degrade Use an existing supported base mapping.
Ignore Ignore the unsupported or intentionally irrelevant information.

Default policy examples:

Source Action Report
Pool/Lane isHorizontal missing or true AcceptDefault None
Pool/Lane isHorizontal=false Normalize to horizontal Ignored: vertical orientation changed
Process isExecutable missing or false AcceptDefault None
Process isExecutable=true Ignore execution semantics, retain Process Ignored
definitions.exporter / exporterVersion AcceptMetadata None
dataObject Ignore Ignored: unsupported data information

For an alternate policy that deliberately considers a supported ignore binding irrelevant, <Behavior action="Ignore" /> is silent. Adding an Ignored Report to that same Behavior changes only loss reporting, not the treatment. Similarly, Normalize without Report is silent and should be chosen only when the normalization is semantically equivalent from the host's perspective. The shipped default still reports unsupported data and meaningful geometry changes.

Each Element selects namespace-qualified names via qnames; a list shares inherited Activity/Gateway rules without copying them. Disjoint blocks for the same QName merge; conflicting duplicate attributes, behaviors or normalized values fail explicitly. Attributes use Missing, explicit Value and Any rules. Only finite typed contexts/strategies are supported; the profile contains no scripts, expressions or executable method names. Structural relationships and geometry formulas remain in code; profiles cannot override required identity/reference bindings. Existing export mappings and geometry algorithms are unchanged.

Reports have stable codes and Element/Owner/Diagram/Document scopes. Pool-local coordinate normalization is reported once per owning Pool with its name/identity, not once per child. Deduplication uses code/scope/identity/property, not message text. Other contextual rules may aggregate by owner, diagram or document. Catch-all reports stay per element/property; broader aggregation without a contextual binding is rejected explicitly. Distinct anonymous XML losses keep their source locations. Other unclassified source attributes/elements still use an explicit Ignore fallback; XML namespace/schema-location mechanics are excluded. Unclassified execution expressions, extension contents, nested lane hierarchy and additional DI semantics still require future explicit classification; they are not silently declared compatible. Existing geometry/attachment/path transformations are detected by the established converter checks; their optional reports are defined by import Transformation rules. The refinement moved the existing negative-origin, boundary-position, connector-endpoint and connector-path reports into these rules without changing their conditions, codes, messages or geometry algorithms.

Hosts/tests may load an alternate immutable profile without changing converter internals:

var profile = BpmnImportProfile.Load(xmlProfileText); // or Load(stream), leaves stream open
var result = await BpmnStandardConverter.ImportAsync(xml, routingPreparer, profile, cancellationToken);
var imported = BpmnStandardConverter.Import(xml, profile); // synchronous, without DI routing preparation
var exported = BpmnStandardConverter.Export(document); // no profile dependency or overload

Invalid configuration throws FormatException before conversion. Alternate profiles can change supported classifications, report codes/messages and aggregation; they cannot introduce new semantic construction or geometry algorithms. The profile does not perform model validation. Parsing, reference/attachment integrity, A2 ownership, semantic construction and routing preparation remain in converter code. ConversionLog still contains only Ignored/Omitted losses; technical failures remain in Diagnostics, and explicit host Validate independently owns model-quality findings.

The 0.1.9 native v2 reader also accepts optional connector-anchor normalizedPosition and visual-model documentRoutingStates fields. They are written only when used; absent fields retain the previous defaults. Older v2 readers reject these new fields, so the unchanged format number does not imply backward-reader compatibility for documents using them. No v1 migration is included.

Publish a standalone presentation

PublishingPackageGenerator.Generate(document, presentation) creates the existing self-contained ZIP from a canonical document and matching immutable presentation capture. The capture preserves active scope and transient visibility, which are intentionally absent from the document. The generator does not need an editor instance, perform downloads or edit metadata. The reference host's Publication dialog can save changed valid metadata through one persistent editor command before generating the artifact; a later publication rejection does not undo that save.

Document-level Collaboration publication remains unsupported. Process views may include valid Message Flows between different effective Participants. Receive Tasks cannot send and Send Tasks cannot receive. Pool/Participant endpoints and incoming Boundary Message Event delivery are graphical-only for animation and return authoring warnings. Invalid canonical endpoints still prevent publication. Communication links never become executable Sequence Flow.

The existing two-argument Generate overload remains available and uses Pools OFF and Fit Entire. The options overload controls each generated artifact:

var options = new BpmnPublishingOptions
{
    IncludePools = true,
    InitialViewMode = BpmnPublishingInitialViewMode.FitEntireDiagram,
};
var result = new PublishingPackageGenerator().Generate(document, presentation, options);
// Inspect result.Succeeded and result.Diagnostics before downloading result.Package.

For BpmnPublishingInitialViewMode.CurrentEditorView, supply an EditorView of type BpmnPublishingEditorView(DocumentId, Revision, ScopeId, VisibleRegion). Obtain the document-coordinate VisibleRegion from the live CaptureEditorContext().Presentation.EditorState.Viewport.VisibleDocumentRegion, with the matching document/revision and active ProcessScopePresentationContext. Require a ready editor and nonempty surface/region. A detached publishing Scene is not the editor viewport authority. Guard the attachment version, document, scope, viewport, surface and visibility through asynchronous capture and reject stale or unavailable context; do not silently fall back to Fit Entire. If saving publication metadata advances revision, accept only that expected metadata command and recheck the same attachment/view against the returned snapshot before generating. The reference dialog defaults to Current Editor view; hosts can offer both modes independently of Include Pools. Changing either option does not persist document data or enter History.

The artifact remains Inceptus.PublishedProcess, formatVersion 1, with these entries:

index.html
process.json
process.data.js
inceptus.publish.js
styles.css

process.data.js contains the same PublishedProcess object as process.json. Classic scripts and static bootstrap data allow static HTTP hosting and direct-file startup without fetching JSON at runtime. Keep the generated files together with their matching viewer. The standalone output needs no authoring host, source checkout, Blazor, .NET or WASM runtime. Browser/security policy may restrict local file:// access.

Publication metadata and element descriptions are captured as data. Descriptions are not displayed by the viewer. Node geometry and connector routes are frozen. Pool graphics are omitted by default; IncludePools can include representable captured Pool/Lane graphics without including the Unassigned region. Initial View changes framing only: existing API calls fit the complete diagram, while the internal Publish dialog defaults to the current Editor view. Diagram editing is unavailable; pointer drag and wheel/touchpad pan, and +/- controls zoom the model.

Initial framing adapts to the viewer viewport. After the user pans or zooms, resizing preserves that manual view. Include Pools retains captured boundaries and headers without reconstructing Pool geometry or changing token execution.

Publication requires one or more Start-role nodes in the active scope. Reachable paths from every Start are included without cloning shared identities; existing node and connector validation remains authoritative. With multiple Starts, the user selects a Start in the diagram; the toolbar does not choose one or start all of them. Repeated activations create independent tokens sharing gateway queues.

The generated execution metadata describes supported message routes, receiver Activities and attached boundary triggers for the embedded runtime:

  • Ordinary Activities process each Sequence Flow activation for 2 seconds before producing one ordinary output. A visible SubProcess behaves as an Activity; the viewer does not execute its nested contents.
  • Message Throw sends on each supported outgoing Message Flow and continues its Sequence Flow when present. Each Activity completion sends on every supported outgoing Message Flow alongside its ordinary output. Blue diamonds follow the complete frozen route, including Manual bends; delivery occurs at the receiver. Message Catch immediately continues for each arriving message without enabling.
  • A message-receiving Activity is enabled once by Sequence Flow; enabling alone produces no output. Messages received beforehand remain queued. An enabled idle receiver takes all pending messages into a fixed batch: N messages produce N ordinary outputs and N messages on each outgoing Message Flow after 2 seconds. Arrivals during processing form a later batch. Enablement survives successful output until reset or an interrupting boundary; later batches need no new token.
  • An eligible empty receiver waiting cycle can fire Boundary Timer once, using a supported duration clamped to 1–5 seconds or a 3-second presentation fallback. Message arrival cancels its timer. Boundary Signal fires automatically once, without an external signal, and takes priority over Timer. CancelActivity=true disables the receiver while retaining pending messages; false keeps it enabled. Ordinary Activities without incoming Message Flow have no idle fallback cycle.
  • Successful Activity output disables every attached boundary for that cycle, cancels timers and produces no automatic Boundary Message notification or later idle Signal. Idle state alone does not rearm boundaries. A fresh explicit Sequence Flow activation can reopen an eligible receiver waiting cycle.
  • Exclusive joins pass each incoming token through immediately. Parallel Gateways consume one token from every input and emit one on every output. Nonparallel splits choose one random output without evaluating conditions; other supported nonparallel joins use simplified pairwise merging of distinct inputs. Message Flows never contribute gateway inputs.

Orange Sequence Flow tokens and blue messages use frozen path length at 300 diagram units per second, with a 150 ms minimum for nonzero routes. Zero-length continuations are immediate. Logical timestamps determine ordering independently of rendering frequency; a message arriving at the timer deadline wins. Runtime reset clears execution state without changing input data. Bounded token and iteration guards protect the viewer from runaway diagrams.

The viewer uses a custom presentation animation model. It has no message payload, correlation engine, broker or external transport and does not implement complete BPMN execution semantics or the future SimulationEngine. Regenerate old ZIPs to obtain this runtime: each archive contains its own immutable data and viewer.

Host Publish failures and warnings remain visible outside the closed Publication dialog, with returned reasons and affected identities when available. Successful retry or session replacement clears obsolete feedback. These diagnostics belong to the editor and are not copied into the published model or shown by its viewer. Feedback is transient and does not enter Document History or persistent Issues.

Advanced and implementation-facing surfaces

Lower-layer APIs support deliberate headless or browser/session composition, with their own ownership and extension contracts. The modeler's RCL remains the ordinary composition authority. Historical BpmnPluginRegistration milestone selectors are advanced historical compositions, not interchangeable support levels; the ordinary RCL currently uses N100 and adds Organizational independently.

IBpmnModelerStartupDocumentProvider.GetInitialDocumentAsync(CancellationToken cancellationToken = default) returns ValueTask<Inceptus.DocumentEngine.Runtime.Documents.Document>. This advanced startup-only seam transfers ownership of a fresh Document per component; it is not a live model handle, replacement callback or persistence service. Prefer InitialDocument for ordinary startup.

The publicly generated DocumentCanvas and ToolboxPanel components are implementation-facing. Their visibility does not make them supported alternatives to InceptusBpmnModeler. The standalone PublishedTokenRuntime.activateStart(startId, atMs) method and frozen startNodeIds observation are advanced runtime integration surfaces; use the artifact's matching runtime. Viewer gesture helpers, startAt and control wiring are implementation-facing, not ordinary modeler APIs or a separate stable JavaScript SDK.

Support limits and release identity

Acceptance covers the tested standalone Blazor WebAssembly host and recorded browser conditions. It does not establish Interactive Server support, every browser/device, BPMN XML interoperability, arbitrary cross-version API compatibility or production workflow execution. Native Inceptus.Document and standalone PublishedProcess are distinct formats.

An ID/version identifies immutable distributed package bytes. Recover an existing release only from retained hash-matching artifacts. Rebuilding the same source version does not recreate release identity; unrecoverable bytes require a deliberate new candidate/version. Candidate promotion and external publication are separate decisions.

The public source repository contains deliberate release snapshots. Public packages must be built from the corresponding public commit, which supplies repository commit metadata and SDK-native Source Link mappings. Version 0.1.3 prepares portable .snupkg symbols alongside each package. Source stepping requires the matching published symbols and publicly retrievable source; preparation alone does not establish nuget.org availability. Local application breakpoints remain distinct from stepping into packaged implementation.

First-party code is licensed under MIT, Copyright (c) 2026 Inceptus Robert Prokopczuk. Redistributed third-party material retains its own terms; see third-party notices, including the separately bundled DejaVu font license. See release notes. These documents are also included in each primary package.

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

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Inceptus.DocumentEngine.Runtime:

Package Downloads
Inceptus.DocumentEngine.Canvas2D

Canvas2D browser editing session, interaction, scene, and renderer integration for the Inceptus Document Engine.

Inceptus.DocumentEngine.Bpmn.Blazor

BPMN modeler components and browser presentation integration for the Inceptus Document Engine.

GitHub repositories

This package is not used by any popular GitHub repositories.

# Release notes

## 0.1.14

- Extends the seven-package DocumentEngine family with BPMN Editor improvements, configurable PublishedProcess presentation and enhanced process animation. Version 0.1.13 was intentionally skipped.
- Reduces the Properties Description field to nine rows while retaining multiline editing, responsive layout and Apply/Cancel behavior. Adds Smart Edit **Open SubProcess** for eligible SubProcesses through the existing scope navigation and navigation History, preserving document state and other editor behavior.
- Adds optional **Include Pools**, default OFF, through `BpmnPublishingOptions`. Published diagrams can retain captured Pool/Lane boundaries and headers. **Initial View** offers **Use current Editor view** and **Fit entire diagram**. Existing two-argument publishing calls retain Fit Entire defaults; the reference Publish dialog defaults to Current Editor view and rejects unavailable or stale captures. Initial framing responds to viewport size; manual pan/zoom survives later resizing. These choices remain outside Document persistence and History.
- Animates supported Message Flows from Message Throw to Message Catch or Activity, and from completing Activities to supported receivers. Blue communication diamonds are distinct from orange Sequence Flow tokens and follow frozen routes, including Manual bends. Message arrival occurs at the target; Message Flows do not participate in Sequence Flow gateway synchronization.
- Enables a message-receiving Activity on its first Sequence Flow activation without producing output merely for enabling. Messages received before enabling remain pending; an enabled receiver drains pending messages into a fixed batch. After the processing delay, N messages produce N ordinary outputs and N messages on each supported outgoing Message Flow. Messages arriving during processing form a later batch. Enablement persists until interruption/reset; logical timing and event ordering are independent of animation frame frequency.
- Adds Boundary Timer fallback for eligible empty receiver waiting cycles, with supported durations clamped to 1–5 seconds and a 3-second presentation fallback. Message arrival cancels the timer. Boundary Signal fires automatically once per eligible empty cycle and has priority over Timer. Interrupting boundaries clear receiver enablement while retaining queued messages; noninterrupting boundaries retain enablement. Successful Activity output disables all attached boundaries for that cycle, cancels timers and emits no automatic Boundary Message notification or later idle Signal. A fresh explicit Sequence Flow activation can reopen an eligible boundary waiting cycle; idle state alone cannot.
- Corrects converging Exclusive Gateways to PassThrough: each incoming token can continue without waiting for another branch. Parallel Gateways still consume one token from every input and emit one on every output. Nonparallel splits retain random single-output selection without conditions; other supported nonparallel joins retain the simplified pairwise merge rule.
- Retains .NET 10, all seven package IDs, dependency policies, MIT license/icon metadata, Project URL, portable symbols and Source Link configuration. Native Inceptus.Document formatVersion 2 and PublishedProcess formatVersion 1 remain unchanged. Existing publishing overloads remain available; options add presentation control and generated metadata supplies the matching viewer.
- Retains existing Message Flow endpoint/Participant restrictions. Pool and Participant endpoints are graphical-only for animation; incoming Boundary Message delivery and document-level Collaboration publication are unsupported. Unsupported animation routes produce authoring diagnostics, not viewer banners. No message payload, correlation engine or broker is introduced. PublishedProcess remains a lightweight animation model, not a complete BPMN execution engine or SimulationEngine. Regenerate existing ZIPs to obtain the new embedded runtime.

## 0.1.12

- Prepares the aligned seven-package family locally after the committed graphical
 export, drawing-area display mode and touch interaction changes. Public source
 provenance and package publication remain separate release steps.
- Adds SVG Image and PNG Image export for the complete current active diagram
 level, including content beyond the viewport, independently of zoom and pan.
 Shared graphical preparation preserves retained geometry and excludes editor
 overlays without implicit BPMN validation, document mutation or History changes.
 Public `GraphicalExportPreparer`, `SvgGraphicalExporter`,
 `Canvas2DGraphicalExporter`, `GraphicalExportOptions` and `GraphicalExportResult`
 support reusable host integration through `CapturePresentationAsync()`.
 Hosts own file downloads and operation feedback; native JSON and BPMN XML
 export retain their existing behavior.
- Adds Normal and Maximized drawing-area presentation modes, with an internal
 graphical Maximize/Restore toggle and public `BpmnModelerDisplayMode`,
 `DisplayMode` and `DisplayModeChanged` integration. Hosts control their own
 toolbar visibility and responsive viewport container while keeping the same
 editor mounted. Maximization activates Compact toolbox presentation and Restore
 reinstates its previous mode. Document, selection, zoom, pan and History are
 preserved; mobile layouts keep the display toggle accessible.
- Adds two-contact touchscreen midpoint panning and improves ordered wheel and
 touchpad event delivery with bounded processing and compatible-event coalescing.
 Gesture takeover cancels conflicting editing previews safely. Touch element
 placement commits on release so a second contact does not create an unwanted
 element; single-finger editing and mouse placement remain available. Panning
 changes only transient viewport state and never the document or History.
- Physical mobile-device, touchscreen and laptop-touchpad acceptance testing has
 not yet been performed. It is deferred until publication of the public packages
 and integration into the standalone InceptusBpmnEditor. Automated and simulated
 browser checks do not constitute physical-device acceptance.
- Retains all seven package IDs, net10.0, dependency policies, MIT metadata,
 package icons, Project URL, portable symbols and existing native/published data
 formats. Local DEVELOPMENT artifacts do not establish public Source Link or
 nuget.org availability.

## 0.1.11

- Prepares the aligned seven-package family locally after the committed Snap to
 Grid and editing improvements. Public source provenance and publication remain
 separate release steps.
- Adds shared `GridSettings` and an Editor Parameters form with independent Show
 Grid and Snap to Grid controls and configurable Grid Point Distance. Preferences
 persist in browser storage at editor level, outside Document state and History.
 The rendered grid and snapping use diagram coordinates independently of zoom
 and pan; changing settings does not reposition existing elements.
- Adds center-based snapping for eligible BPMN flow nodes during manual movement
 and placement. Committed geometry uses the existing Command and History path,
 with Undo/Redo and existing connector-routing semantics preserved. Connector
 bend-point snapping, Pool/Lane resize snapping and boundary-event snapping are
 not included.
- Integrates Smart Create with grid-aware, collision-aware placement and
 deterministic candidate selection. Existing Process, Pool and Lane constraints
 remain authoritative; element and Sequence Flow creation stay atomic in one
 History operation. Disabling Snap to Grid retains free placement behavior.
- Aligns Auto Arrange columns and tracks to the grid while preserving branching,
 merging and existing connector-routing integration. Layout remains
 deterministic. Equivalent floating-point coordinates are retained to avoid
 unnecessary History entries when an unchanged arrangement is repeated.
- Adds horizontal and vertical alignment of eligible selected flow nodes against
 the first selected node, preserving the reference position, existing containment
 and exact Undo/Redo through the established move command.
- Stabilizes editor action bars, the source Demo toolbar and Smart Edit panels
 during Scene rebuilds. Properties retains drafts through presentation updates
 and closes after successful Apply. Tasks, SubProcesses and Gateways support
 missing and multiline Description values with exact Undo/Redo; newly created
 elements use an empty Description instead of generated descriptive text.
- Updates the NuGet Project URL to `https://inceptus.online/bpmn/editor/` and the
 corresponding architecture and package-inspection assertions, including symbol
 package metadata. Centralizes the existing package icon configuration. Retains
 package IDs, net10.0, dependency policies, MIT metadata, documentation and
 portable-symbol packaging without changing native or published data formats.

## 0.1.10

- Prepares the aligned seven-package family locally after the accepted A3,
 A3.1 and A3.2 changes. Local preparation does not establish public NuGet
 availability; public source provenance and publication remain separate steps.
- Adds `Inceptus.Bpmn.Integration`, depending on Contracts, Runtime, Bpmn,
 Organizational and Canvas2D without a dependency on editor UI or either Demo.
 It exposes `BpmnDocumentSerializer`, `BpmnDocumentMigrator`,
 `BpmnDocumentValidator`, `BpmnStandardConverter` and `PublishingPackageGenerator`.
- **Public API migration:** the reusable editor exchanges canonical immutable
 `DocumentSnapshot` through `GetDocument`, `GetDocumentAsync` and atomic
 `SetDocumentAsync`. Editor-level `ImportNativeDocumentAsync`,
 `ExportNativeDocumentAsync` and `PublishAsync` are removed. File operations,
 validation reports/UI and publishing orchestration now belong to the host.
 Hosts needing these operations reference Integration alongside Bpmn.Blazor.
 `CaptureDocumentSnapshot` and `LoadDocumentAsync` remain compatibility aliases.
- Retains native Inceptus.Document formatVersion 2 as the full-fidelity format.
 The migrator accepts native v2 unchanged and rejects unsupported versions;
 no native v1 or other legacy migration is introduced. Saved-routing recovery
 remains an explicit editor attachment option, separate from schema migration.
- Separates document transfer from model-quality validation. Native JSON and
 BPMN XML Import/Export do not invoke `BpmnDocumentValidator`; explicit Validate
 remains independent. Technical parsing, compatibility, reference, geometry
 and atomic installation failures can still reject a transfer.
- Adds tolerant BPMN 2.0.2 XML conversion for the supported Process, Event,
 Activity, Gateway, SubProcess, Sequence Flow, Message Flow, Participant,
 Pool/Lane, documentation and DI subset. Unsupported non-critical content can
 be omitted/ignored with structured conversion-loss entries. Technical failures
 remain separate diagnostics. No full interoperability, executable-process
 conformance, byte equality or lossless round-trip preservation is claimed.
- Embeds import-only `Bpmn202ImportProfile.xml` / `.xsd` and the five normative
 OMG BPMN schemas. `BpmnImportProfile.Default` and `Load(string)` / `Load(Stream)`
 provide validated import policy. Treatment and optional loss reporting are
 independent: defaults, metadata and derivable information can be silent;
 configured real losses produce `Ignored`. Export is code-defined and has no
 profile parameter; unsupported native information produces `Omitted` entries.
- Imports supported file content into one main Inceptus diagram, preserving
 nested SubProcess navigation. At most one effective Collaboration and one
 unassigned top-level Process are supported; ambiguous excess structures fail
 explicitly before replacing the active document. A2 effective Participant,
 Pool/Lane and Sequence/Message Flow ownership remain authoritative. Export
 may represent that main diagram as several standard BPMN processes.
- Retains existing History and routing preparation. Graphical hosts use
 `BpmnStandardConverter.ImportAsync` with the established geometry/routing
 preparer. DI geometry and connector waypoints are retained where representable
 and may be normalized; no second routing engine or arbitrary DI preservation
 guarantee is introduced.
- The internal reference host offers compact Import/Export format menus,
 independent Validate and Publish actions, combined validation status/Issues,
 and dismissible feedback. Repeated conversion losses are grouped with affected
 source details. BPMN Export downloads `document.xml` as
 `application/xml;charset=utf-8`; `.bpmn` remains an import alias. Successful
 BPMN interchange export does not mark the native document saved.
- Publishing uses a document and matching immutable presentation capture in
 `PublishingPackageGenerator`, retaining the standalone PublishedProcess ZIP
 formatVersion 1 and existing publication eligibility restrictions.
- Extends the strict release inspector and existing workflows to all seven
 package/symbol pairs, including Integration's embedded resources. Retains
 net10.0, existing external dependency versions, minimum family dependency
 ranges, exact Canvas2D-to-Runtime constraint, MIT metadata, documentation,
 third-party notices and portable symbols. NuGet package version, native
 document version and BPMN standard version remain distinct.

## 0.1.9

- Prepares the aligned package family locally after the accepted A2 changes.
 Public publication remains a separate step.
- Adds validated switching between compatible concrete Task, catching/throwing
 intermediate Event, Boundary Event and Gateway types through Properties.
 Existing identities, compatible properties, geometry, attachments and
 connectors are preserved, with exact Undo/Redo. The main Toolbox uses
 family-level entries and Properties uses the refined compact form layout.
- Adds the FLOW Toolbox group with Sequence Flow and Message Flow. Message Flow
 connects different effective Participants in one unambiguous normal Pool
 diagram. Eligible Activities can send except Receive Task and receive except
 Send Task; Message Throw Events send, Message Catch and attached Message
 Boundary Events receive. Standalone Pools and shared Participant labels are
 supported endpoints; Lane-mode Pools, Gateways and Unassigned elements are not.
 Creation, reconnection, Properties, labels, routing and History use the normal
 validated editing path.
- Adds explicit Pool-to-Participant assignment and adjoining Lane presentation
 for Pools sharing a Participant, including shared headers, deterministic
 ordering, unassignment and Lane resizing. Standalone Pools retain their own
 effective Participant identity. Sequence Flow cannot cross two different
 explicitly assigned effective Participants; ordinary scope/direction rules
 still apply, including the supported Unassigned cases.
- Adds Auto Arrange for the active Process scope and its visible Pool/Lane
 diagram. Sequence Flow determines rank; cycles, disconnected components and
 crossings are handled deterministically with bounded heuristics. One command
 and focused History operation retain identities, membership, Lane order,
 Boundary Event ownership, routing modes and hidden SubProcess contents. No
 missing Gateway is invented and no globally optimal layout is promised.
- Adds the contextual Element Toolbox with Properties / Auto Points / Delete
 and context-aware Events / Activities / Gateways choices. Smart Create adds
 an element and Sequence Flow atomically in one History operation, inherits
 supported Pool/Lane membership, selects the new element and permits continuous
 creation. Choices obey existing flow rules; Start and Boundary Events are not
 ordinary successor targets and End Events have no successors. Auto Points
 conservatively improves eligible selected-node endpoints while retaining
 identities, remote endpoint positions and authored Manual routes.
- Adds the Option 4 Smart Edit switch, default ON. OFF hides both contextual
 toolboxes while normal editing remains available; ON restores eligible tools
 for the current selection. EVENTS / ACTIVITIES / GATEWAYS / FLOW initially
 render collapsed and remain user-expandable. Smart Edit and Toolbox expansion
 remain transient UI state outside persistence, revision and History.
- Extends advanced notation-neutral contracts for element connections,
 presentation contexts, connector visuals, document-owned routing and path
 quality. BPMN policy remains in the plugin; immutable Document replacement,
 EditingSession, Command Processor and chronological History remain the
 authorities. Existing constructor signatures covered by the A2.2 compatibility
 regressions are retained; this is not a general cross-version API guarantee.
 The ordinary modeler lifecycle/file facade signatures are unchanged.
- Retains native Inceptus.Document formatVersion 2 while adding optional anchor
 `normalizedPosition` and visual-model `documentRoutingStates` fields (with
 `documentLogical` routes). Missing fields retain prior defaults; older strict
 v2 readers reject documents containing these fields. No native v1 migration,
 BPMN-standard conversion or A3 import/export/publishing refactoring is included.
- Retains PublishedProcess formatVersion 1. Publishing explicitly rejects
 document-level Collaboration presentations and Message Flow in Process views
 instead of treating communication as execution flow.
- Adds `Inceptus.DocumentEngine.Organizational` as a dependency of
 `Inceptus.DocumentEngine.Bpmn`. The 0.1.9 BPMN package declares both Contracts
 and Organizational as package-family dependencies, using Organizational's
 Pool membership, Participant assignment and region geometry for flow rules,
 Auto Arrange and Smart Create. Both resolve transitively; ordinary modeler
 hosts do not need an additional direct PackageReference.
- Retains net10.0, the existing external dependency versions, aligned family
 dependencies and the exact Canvas2D-to-Runtime constraint. Includes the
 committed Inceptus package icon, with the existing documentation, MIT license,
 third-party notices and portable-symbol packaging requirements.

## 0.1.8

- Makes explicit Manual connector route-point edits participate correctly in the
 single global EditingSession History. Add, move and remove route-point
 operations, together with routing-mode changes, Undo/Redo exactly while
 derived Automatic routing work remains non-authoring and does not create
 separate History entries.
- Stabilizes context-menu presentation for its open lifetime. Available actions
 are captured when the menu opens and no longer appear or disappear because of
 transient pointer/session state; execution still validates the current state.
- Improves Gateway external-label resizing with a 20 x 20 logical-unit minimum,
 exact anchoring across all resize directions and live orange-boundary feedback
 that follows the clamped transient preview without a stale outline.
- Allows connector Properties to apply Name and Routing type together in one
 atomic Apply. The combined edit produces one revision, one History entry and
 one committed event; invalid or stale combinations reject atomically, and
 Undo/Redo restores the exact previous authored Manual route when applicable.
- Optimizes connector-label movement through bounded previews and Scene-only
 commits. Steady drag no longer performs full Scene composition, contributor
 execution, unrelated caption measurement or full-content uploads, while the
 connector route remains read-only input and its identities, anchors, order
 and saved/authored/calculated paths remain unchanged.
- Extends the existing contributor dependency contract with conservative,
 opt-in connector-label-move dependency metadata so bounded reuse is used only
 for audited invariant contributors; Unknown or dependent contributors retain
 the full-composition fallback.
- Retains native document format v2, PublishedProcess format v1, the coordinated
 six-package family targeting net10.0, and the existing Source Link and
 portable-symbol release requirements. No new persistence format is introduced.

## 0.1.7

- Adds stable persisted connector routing. Complete connector paths, routing
 modes and deterministic per-scope order are retained in the Visual Model;
 valid Automatic routes are preserved and only affected routes are repaired.
- Adds explicit Automatic, Straight and Manual routing modes. Manual routing
 supports authored intermediate points without automatic obstacle detours.
- Improves Manual route editing with horizontal/vertical bridge decoration,
 transient dashed guidance for diagonal candidate segments, Ctrl orthogonal
 assist and magnetic H/V snapping with hysteresis.
- Adds compact Organizational Pool presentation together with authored
 Pool/Unassigned heights, one shared scope width and direct mouse edge
 resizing. Connector and connector-label overflow no longer sizes Pool frames.
- Improves pointer interaction performance through bounded presentation paths
 for placement, selection, node-label movement and Manual route-point movement,
 avoiding unnecessary full Scene composition and renderer uploads on supported
 steady interactions.
- Adds native document format v2 with persisted routing and spatial geometry,
 coherent Save/Open reproduction and strict validation of the saved geometry.
 Native v1 documents are intentionally not accepted by this release.
- Retains the coordinated six-package family targeting net10.0, portable
 symbols and Source Link/public-source provenance requirements.

## 0.1.6 candidate

- Prepares the coordinated six-package release checkpoint after A1.2.13. The published 0.1.5 identity remains immutable; Canvas2D requires Runtime exactly [0.1.6], and other family dependencies retain their minimum-version policy.
- Adds BPMN SequenceFlow names with automatic near-source branch labels, editable through Properties, with manual placement, reset and exact Undo/Redo.
- Includes dependency-safe pan reuse, renderer-resident frame caching, bounded Blazor presentation work and viewport culling, plus document-origin viewport normalization and stable boundary guides.
- Reduces orthogonal routing work and bounds activity drag-preview, hit-testing and selection work while preserving the existing Document, command, History and derived-processing authorities.
- Refreshes the canonical source Demo with named event-gateway branches alongside its activities, subprocess and boundary timer. No feature switch is required for the accepted fast paths.
- Retains net10.0, existing native/PublishedProcess formats, dependency baselines and portable symbols. These are local preparation artifacts; public source provenance and publication remain separate release steps. A1.2.14 is not included.

## 0.1.5 development

- Defaults the source Blazor host UI to neutral English while keeping data culture invariant; reusable modeler languages remain host-selected.
- Simplifies element Properties to Data and Parameters, with readonly Type. Technical identities and visual geometry remain in the model and are no longer shown in this form.
- Hides ordinary Properties for BPMN Events and elements without Data fields. Long-form fields such as Description use a wider, responsive dialog and a taller editor, while short fields stay compact.
- Closes Properties after successful Apply and retains failed drafts for review. Existing commands, History, document events and data formats remain authoritative.
- Starts the coordinated six-package 0.1.5 development line, including the P1.14 deterministic integration-event synchronization correction. Existing dependency rules and the public v0.1.4 release remain unchanged.

## 0.1.4 development

- Adds modeler UI localization for English, Polish, French, German and Spanish using standard .NET resources and `IStringLocalizer`. English is the neutral/default resource and final fallback; regional cultures use standard parent-culture fallback.
- Uses the host's `CurrentUICulture` and Blazor re-rendering without a public culture parameter or modeler language selector. Localization is presentation state; it does not change Document identity, revision, History, selection, viewport or editing-session ownership.
- Localizes toolbox labels, toolbar/status text, Properties labels, context actions, navigation fallbacks, New/Publication dialogs and presentation feedback. Canonical diagnostics and authored document values remain unchanged.
- Keeps serialization, native import/export and PublishedProcess contracts English-based and culture-invariant. There is no public data-format change; the standalone exported viewer is outside this localization phase.
- Advances all six development packages to 0.1.4, retaining Canvas2D's exact matching Runtime dependency and other existing dependency-range semantics. This phase does not publish packages or update package consumers.

## 0.1.3 candidate

- Prepares the first public-source release snapshot, with the approved GitHub RepositoryUrl and commit metadata derived from the public build checkout.
- Uses the pinned .NET SDK's built-in Source Link and portable `.snupkg` symbols for all six packages. Public source and symbol retrieval must be verified before release.
- Maps Release Razor-generated source directives before compilation, preserving generated EmbeddedSource and authored-source stepping without embedding checkout-specific paths. Debug retains the SDK's normal source generator and Hot Reload support.
- Aligns SDK Source Link roots with the existing compiler PathMap in ordinary local builds as well as CI builds.
- Adds public-source validation and a separate, manually dispatched, tag-gated NuGet Trusted Publishing workflow. Preparation does not publish packages or create a release tag.
- Corrects a session-shutdown lock-order inversion with in-flight document-change observation, preserving notification delivery and deterministic resource cleanup.
- Preserves the accepted 0.1.2 D1 diagnostic lifetime correction and existing multiple-Start Publishing behavior. No public API, native format or PublishedProcess format changes are introduced.
- Advances the aligned family to 0.1.3, including Canvas2D's exact Runtime [0.1.3] dependency. Other approved ranges remain unchanged; retained 0.1.0, 0.1.1 and 0.1.2 bytes remain immutable.

## 0.1.2 candidate

- Preserves rejected context-command feedback across presentation-only rebuilds of the same document, revision, scope and session, including the canvas resize caused by displaying the feedback itself.
- Keeps authoritative replacement, revision/scope changes, retirement/disposal and later interaction outcomes responsible for invalidating obsolete feedback.
- Adds permanent surface-rebuild and diagnostic-invalidation regressions. There is no public API, native document format or PublishedProcess format change; the existing multiple-Start Publishing extension remains intact.
- Advances the aligned six-package family to 0.1.2. Canvas2D retains its matching Runtime constraint; other dependency policies and approved release metadata are unchanged.

The retained 0.1.1 candidate was promoted locally but did not pass final browser D1 acceptance: its rejection message disappeared after an alert-induced canvas resize. Its archives and failure evidence remain unchanged. The 0.1.2 source correction requires a deliberate source commit before final packing, audit, local promotion and package-only browser acceptance; none is implied by these notes.

## 0.1.1 candidate

- Extends existing standalone Publishing to support multiple independent Start activation points, all start-rooted paths and shared downstream identities. PublishedProcess remains format version 1; artifacts include their matching viewer.
- Keeps Publish failure reasons visible after the Publication dialog closes, preserves returned diagnostics and affected identities, and clears obsolete feedback on retry or document replacement. Saving Publication metadata remains independent of later package-generation failure.
- Surfaces rejected context-command diagnostics through the editor's existing interaction feedback while preserving document atomicity, History and callback behavior.
- Adds consumer integration, lifecycle, hosting and API support documentation, packaged README content, first-party MIT licensing and the approved product URL.
- Defines support for the aligned six-package family. Canvas2D constrains Runtime to its matching version because of their internal History dependency; other dependency policies are unchanged.

The candidate targets net10.0. It does not add BPMN XML interoperability, a production process-execution engine or new hosting-model support. Source Link and package implementation source debugging remain deferred until a public source repository exists. Candidate preparation does not imply local-feed promotion or public NuGet publication. Retained 0.1.0 artifacts remain unchanged.