mqt.sqr.utils.animation¶
Module Contents¶
- type AgentId = Hashable¶
- NODE_SIZE = 120¶
- AGENT_COLORS = ('tab:red', 'tab:green', 'tab:orange', 'tab:purple', 'tab:brown', 'tab:pink', 'tab:gray',...¶
- animate_mapf(graph: networkx.Graph, plans: Mapping[AgentId, Sequence[TimedNode]], interval_ms: float = 0.1, substeps: int = 200, edge_timebands: Sequence[EdgeTimeBand] | None = None, failed_edges_timeline: Mapping[int, set[Edge]] | None = None, *, smooth: bool = True) matplotlib.animation.FuncAnimation[source]¶