Skip to content

[Bug]: AutoLayoutAlgorithm split drops per-node Algorithm overrides #54

Closed

Description

@Malcolmnixon

Description

Found while adopting 0.3.0-beta.2 in demaconsulting/SysML2Tools (nested packages, demaconsulting/SysML2Tools#87). Environment: DemaConsulting.Rendering.Layout 0.3.0-beta.2 (dbbd26e), net10.0. Conventions: root auto; folders are containers (TitleHeight = 56, Algorithm = layered); leaves are 130x50; edges are declared on the lowest-common-ancestor graph.

E3 (note, not blocking) - AutoLayoutAlgorithm split does not copy per-node Algorithm overrides

Carried over from the earlier diagnosis; unchanged by this work. When AutoLayoutAlgorithm splits the root
into connected groups and singletons, per-node CoreOptions.Algorithm overrides set on container nodes are not
copied to the split sub-graphs, so a container's own algorithm choice can be lost depending on how the root is
partitioned. Callers must not rely on the override surviving the split.

Steps to Reproduce

  1. Create a root auto graph with a disconnected container node that has CoreOptions.Algorithm overridden.
  2. Run the layout.
  3. Observe that the container is laid out with the default algorithm.

Expected Behavior

Per-node algorithm overrides survive the auto split.

Actual Behavior

The overrides are lost in the split sub-graphs.

Tool Version

0.3.0-beta.2

.NET Version

.NET 10

Activity

  1. added
    bug
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions