How to hide unused states?

0 votes
asked Oct 13, 2018 in Question / help by merhalak

For example, I have a file with all-system states:

@startuml
hide empty description

state "Error" AS S0_UNKNOWN
state "Send" AS S1_SOME_START
state "Process" AS S2_SOME_PROCESS
state "Confirmed" AS S3_SOME_CONFIRM
@enduml

Then include this file to diagram file:

@startuml
!include DocumentStatus.puml

[*] --> S1_SOME_START
S1_SOME_START --> S3_SOME_CONFIRM
S3_SOME_CONFIRM --> [*]
@enduml

How to hide unused states? S0_UNKNOWN and S2_SOME_PROCESS? Without writing something as:

hide S0_UNKNOWN
hide S2_SOME_PROCESS
...

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...