AnyLogic 9
Expand
Font size

Color animation of the running flowchart

AnyLogic animates all flowcharts at model runtime by displaying information that can be helpful in understand the progress of the simulated processes. The basic color scheme for most of the Process Modeling Library blocks in the simulation window includes a range of colors (from silver to dark blue) to distinguish the current state of a block.

Basic color scheme

Initially, a basic two-color scheme is used for all blocks:

silver Indicates that agents have not entered the block yet.
light blue Indicates that agents have entered this block, but it is currently empty, that is, there are no agents inside.

By default, all blocks are silver. Block becomes light blue after an agent passes through it (that is, blocks like  Source,  Sink,  Split,  Combine, and so on).

Complex color scheme

The complex color scheme uses dark blue as the third color to visually describe the processing of actions in blocks such as  Delay,  Queue,  Service,  Conveyor,  MoveTo,  RackStore,  RackPick,  Assembler,  Batch, and so on.

Light blue and dark blue Indicate that the block currently contains agents and an action is being processed.

The progressing of actions in the block is visualized by the moving dark blue horizontal or vertical bar (depending on the type of block).

For example, in the  Delay block this bar indicates the remaining delay time for an agent currently residing in that block, in the  Queue block it indicates the current number of agents in the queue, and in the  Conveyor and  MoveTo blocks it indicates the movement of an agent along the specified route.

Custom color schemes

The Process Modeling library contains a number of blocks with custom color schemes used to indicate their states or actions.

The  Hold block has a custom color scheme to describe its state:

Lime green Indicates a “ready to function” state or functioning without blocking agents.
Lime green with question mark Indicates functioning in “conditional” mode.
Red Indicates that the Hold block is currently blocking agent(s).

 ResourcePool has a custom color scheme describing its state:

Silver This color indicates that resources defined by this ResourcePool block have not accomplished any tasks yet.
Light blue
Dark blue
This color indicates that resources defined by this block have already completed or are currently completing a task.
When the vertical bar is this color, it indicates the current block load.
Linear gradient
(light blue -> lime green -> gold -> orange -> red)
The color of the segment on the left side of the block indicates the total load of the block over the entire runtime.

 RestrictedAreaStart and  RestrictedAreaEnd have two colors to indicate their status:

lime green   Indicates a working state, not blocking the entry.
red   Indicates a working state, blocking the entry.

For a complete list of Process Modeling library blocks and their descriptions, see Process Modeling library blocks.

How can we improve this article?