agentStateColor

fun agentStateColor(state: String, color: String)(source)

Colors agents whose current statechart state name contains state (case-insensitive) with color (e.g. agentStateColor("Working", "#2ca02c")). State styling overrides the agent's type color while it is in that state (8F.1).