Skip to content

Filter State Machine based on Guard ConditionsΒ #8

Open
@divyanshud

Description

We wanted to generate the state transition diagram only for 1 of my guard conditions as we have multiple guard conditions and we don't want the diagram for all the guard condition transition.

event :move_to_abc do
        transitions from: :xyz, to: :abc, guards: :guard1?
        transitions from: :mno, to: :abc, guards: :guard2?
        transitions from: :pqr, to: :abc, guards: :guard3?
 end

So we have to generate different diagram for every guards i.e. guard1, guard2, guard3

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions