scicom.historicalletters.interface

Define the solara interface to run and control the HistoricalLetters model.

Attributes

model_params

model

page

Functions

agent_draw(agent)

Define visualization strategies for agents.

Module Contents

scicom.historicalletters.interface.agent_draw(agent)

Define visualization strategies for agents.

Region agents get the main color as a mean of all region agents topic vectors.

Sender agents have the color of their current topic vector.

Parameters:

agent (mesa_geo.GeoAgent)

Return type:

dict

scicom.historicalletters.interface.model_params
scicom.historicalletters.interface.model
scicom.historicalletters.interface.page = None