Agents.jl: Dynamic ABM plotting

Created on 20 Dec 2019  路  3Comments  路  Source: JuliaDynamics/Agents.jl

It would be great if we could support dynamic plotting where one can interactively see how the model evolves. Mesa, the Python ABM framework has some support for that: https://mesa.readthedocs.io/en/master/tutorials/adv_tutorial.html

A good candidate which has a lot of support for interactive visualizations is Makie.jl, because it hooks up very well with Observables.jl . Other alternatives would probably be packages from JuliaGizmos for a web-based application.

Any other suggestions/alternatives on how this could be done are welcome.

(notice that this functionality will reside in AgentsPlots.jl)

help wanted

All 3 comments

@Datseris, I have limited experience with package development and visualization, but I will see if I can create a working prototype with Makie until a more permanent solution can be made. Would you recommend passing an optional plot_step! function to step!, which would be called after all agents are updated?

Hm, I think the best option would be to create an independent plotting function whose inputs are abm, agent_step!, model_step! as well as all other arguments relevant for plotting. step! is already quite heavy in functionality and thus I would try to keep plotting separated from step!. Thanks for your interest by the way!

Can we consider JuliaDynamics/InteractiveChaos.jl#7 to have championed this issue and close it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ndgnuh picture ndgnuh  路  8Comments

Datseris picture Datseris  路  7Comments

hbsmith picture hbsmith  路  13Comments

Libbum picture Libbum  路  5Comments

drdozer picture drdozer  路  5Comments