The preferred embodiments described herein provide a method and system for handling
complex inter-dependencies between imaging mode parameters in a medical imaging
system. In one preferred embodiment, a behavior engine comprises a plurality of
behavior objects interconnected by parameters with at least one of the parameters
being circularly dependent. A static list of the behavior objects and the dependent
parameters is generated. After an input to the medical imaging system causes one
parameter to change values, a dynamic list of behavior objects dependent on the
changed parameter is generated. Further, an iterative process of processing the
behavior objects in the dynamic list, determining whether any output parameters
from the processed behavior objects have changed, adding behavior objects to the
dynamic list which are dependent on the changed parameter outputs, and removing
the processed behavior objects from the dynamic list is performed. The iterative
process may be performed until the dynamic list does not contain any behavior objects.