Skip to content

Show constructor signatures on state machine transitions #112

Description

@CatarinaGamboa

The state machine diagram shows transitions from the initial node to the resulting state, but it does not show which constructor produces each transition. This makes it hard to understand classes whose constructors lead to different states.

Image

Label each initial transition with its constructor signature, for example new ClassName(type, type). Show parameter types so overloaded constructors can be distinguished, including when they lead to the same state. Keep the existing precondition and postcondition display available.

Expected result: Looking at the diagram, a user can tell which constructor leads to each initial state.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions