A combined fragment in an interaction that filters messages so that only those of specified message types are shown.


A consider construct has a list of message types and a subfragment, which is an interaction fragment. Within the subfragment, only messages whose types appear in the list are represented. This indicates that messages of other types may occur but they are not represented in the interaction, which is therefore an abstraction of the actual system. This construct is often combined with assertion to indicate that a certain message must follow another message.


A consider construct is shown in a sequence diagram as a region with the keyword consider followed by a list of message names.

Figure 14-94 shows a ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.