Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEEP: test case of include directive #423

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions puml-sample/next-substate.pu
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@startuml
state NextSubState {
state NextSub1
state NextSub2
state NextSub3
state NextSub4

[*] -> NextSub1
NextSub1 -> NextSub2
NextSub1 --> NextSub3
NextSub3 -> NextSub4
NextSub2 --> NextSub4
NextSub1 -> NextSub4
NextSub4 -> [*]
}
@enduml
4 changes: 3 additions & 1 deletion puml-sample/state.pu
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
@startuml
!include substate.pu
!include next-substate.pu
state State1
state State2

[*] -> State1
State1 -> SubState
SubState -> State2
SubState -> NextSubState
NextSubState -> State2
State2 -> [*]
@enduml