please add box (and/or participant) nesting ability

+11 votes
asked Jun 29, 2017 in Wanted features by boshka (3,020 points)
edited Jun 29, 2017 by boshka
Am I able to put box into another box in sequence diagrams?

Could we add box and/or participant nesting?
commented May 3, 2019 by skulkrik (100 points)
I would also find this very helpful, to be able to group participants in a nice way.

2 Answers

0 votes
answered Jun 29, 2017 by mgrol (2,810 points)
edited Jun 29, 2017 by mgrol


do you mean something like this?

a -> b
group first box
b -> c
group second box
c -> a
a --> c
group third box
c -> c
end group
c -> a
end group
c --> b
end group
a -> c



Update: As you changed the topic and content of your question... multiple boxes to group participants are not (yet) possible.



commented Jul 3, 2017 by boshka (3,020 points)
edited Jul 3, 2017 by boshka
yes, basiacally what I am looking for are nested boxes and nested participants in an arbitrary order:

box "b1"
     participant "b1_p1"
     box "b1_b1"
           participant "b1_b1_p1"
     end box
end box

And, the same for participant:

participant "p1"
      participant "p1_p1"
      end participant

      box "p1_b1"
            participant "p1_b1_p1"
            end participant

            box "p1_b1_b1"
            end box
      end box

end participant

Are there any plans to support this?
commented Jul 17, 2017 by mgrol (2,810 points)
I don't know. But I put a vote on your feature request because I also find it handy.
0 votes
answered Aug 5, 2019 by RUSH (140 points)

There is already issue opened at github.