SpaDES (version 1.3.1)

ganttStatus: ganttStatus

Description

Internal function assign the "status" of each event to be passed to mermaid to make a Gantt chart representing the events in a completed simulation. 'init' events are set as "done"; 'plot' events as "critical"; and all others as "active".

Usage

ganttStatus(eventType)

# S4 method for character ganttStatus(eventType)

Arguments

eventType

Character vector of events.

Value

A character vector.