Variable usage iconsΒΆ

If you’ve used CertSAFE for a while, you may have noticed the little icons displayed adjacent to the names of variables in the Instance view, simulation timeline, tooltips, and other places.

ALT

These variable usage icons encode information about the producer/consumer relationships. In definition contexts, the icon tells you about the particular variable name you are looking at. * If there is a blue arrow pointing into the box from the left, the name is an input to the containing composite unit. * If there is a pink arrow pointing out of the box to the right, the name is an output of the containing composite unit. * If the box is highlighted green, the variable is consumed by some child unit of the containing composite unit.

In instance contexts, on the other hand, the icon tells you about the merged variable denoted by the name you are looking at. * If there is a blue arrow pointing into the box from the left, the merged variable is an input to the root unit under some name. * If there is a pink arrow pointing out of the box to the right, the merged variable is an output of the root unit under some name. * If the box is highlighted green, the merged variable is consumed by some non-composite unit in the instance hierarchy.

A closely related feature is that, in instance mode, an I/O in a diagram will be highlighted blue if that merged variable is an input or output of the root unit under some name:

ALT

In the example above, the variables starting with “Floor 1” are merged with outputs of the root unit, while the other variables are not outputs of the root and are consumed elsewhere instead.