Trying to add sequence diagram inside frame gives syntax error

0 votes
asked Jan 23, 2018 in Bug by Anthony-Gaudino (5,720 points)
edited Jan 25, 2018 by Anthony-Gaudino

Its possible to add whole usecase and class diagrams inside a frame, but when trying to do the same with sequence diagrams it gives a syntax error:

frame foo {
    participant a
    participant b

    a -> b
}

Seems like the syntax of sequence diagrams is different, so I also tried this:

group foo
    participant a
    participant b

    a -> b
end

But it wont place all diagram inside the frame, only the a -> b part.

I would like something like this, a frame around whole diagram:

http://forum.plantuml.net/6867 and http://forum.plantuml.net/4019 and http://forum.plantuml.net/1142 also references the same problem.

PlantUML version 1.2018.00 (Thu Jan 04 20:42:56 CET 2018)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 9-Debian+0-9b181-4bpo91
Operating System: Linux
OS Version: 4.9.0-5-amd64
Default Encoding: UTF-8
Language: en
Country: US
Machine: Debian
PLANTUML_LIMIT_SIZE: 4096
Processors: 4
Max Memory: 826,277,888
Total Memory: 52,428,800
Free Memory: 45,254,400
Used Memory: 7,174,400
Thread Active Count: 1

The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version 2.38.0 (20140413.2041)
Installation seems OK. File generation OK

1 Answer

0 votes
answered Jan 24, 2018 by mgrol (3,150 points)

Hi,

I think we had something similar a month ago.

Is that what you mean? 

http://forum.plantuml.net/6867/sequence-diagram-sub-diagrams

commented Jan 24, 2018 by Anthony-Gaudino (5,720 points)
Yes, it's the same problem, but you misunderstood the issue.

I updated the issue with an image so it would be more clear.
commented May 5, 2018 by anonymous
I have the same problem, and my search make no results
Did you solve it?
commented May 6, 2018 by Anthony-Gaudino (5,720 points)
No, it seems to have no solution by now.
commented Feb 11, 2019 by anonymous
It works if you follow the method in http://forum.plantuml.net/4019
...