Skip to content

Explicit initial transition: reject a contradictory initial=True child and draw it in diagrams #711

Open

Description

@fgmacedo

Why

Follow-up from #694: with an explicit initial transition on a compound state, a child also marked initial=True is silently overridden, and diagrams still draw the first child as the initial state. Contradictory definitions should be rejected with InvalidDefinition.

Acceptance

Tests for the rejection and the diagram output.

Refs #587, #692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions