The search function finds all elements that fulfill at least one of the following conditions:
For example, searching for the term
driving
in the example shown in figure
"The seach view" results in one match: a state with the name
driving. Searching for
driv
would have given the same result, plus possibly further elements with names, types, or property values beginning with
driv
.
Searching is done
case-insensitively. That is, regardless whether you are searching for
driving
,
DRIVING
, or
dRiViNg
, the result is always the same.
Selecting an element in the result list positions the main view to that element and highlights it.
You can use the
*
(asterisk) character as a wildcard. It matches any sequence of zero or more characters.
For example, the search term
*driving
would not only match the
driving element, but also
carefulDriving and
recklessDriving. The search terms
dri*ing
,
d*g
,
d*
,
*in*
, or even
*
would all include
driving in their respective result list, aside from possible further matches. In fact,
*
finds
all elements in the model, unless other restrictions apply, see section
"Constraining element types".
On the left-hand side of the search view, you can control where the search function should look for matching elements – or where not to look.
On the left-hand side of the search view, you can select those element types that should be included in the result list. By default, all types have checkmarks, so there’s no restriction on element types. If you want to limit the search result to specific types, uncheck the other types.
The number of matches is shown in parentheses right from each model type, even for those types that are excluded from the result list. You can add them to the results by setting the corresponding checkmark.
For example, the search in figure "Constraining element types" finds all states in the model.
Constraining element types