Embedded diagram: second include of the same file fails

0 votes
asked Jan 18 in Bug by boshka (3,280 points)
If you embed 2 times using !include of the same file, the second embed will fail

Create a simple include.iuml (title is ennough), then try:

@startuml
a<-->b
note right
{{
!include include.iuml
}}
end note

a<-->b
note right
{{
!include include.iuml
}}
end note

@enduml

If you copy include.iuml into include2.iuml, then in 2nd embed use the include2.iuml, then everything will work fine

1 Answer

0 votes
answered Jan 18 by plantuml (198,300 points)
Could you try with !include_many instead if !include ?

It should work better this way.

Tell us if it's not working for you
commented Jan 18 by boshka (3,280 points)
looks include_many helps in this case. Thank you!
...