Skip to content

Viz: Implement Choice UserParam #2376

@EwoutH

Description

@EwoutH

The old visualisation contained a Choice class which you could use to select one of multiple discrete/categorial options.

https://github.com/projectmesa/mesa/blob/53ce2945a1dfaca526e3b64965672940bec6f7a9/examples/advanced/pd_grid/pd_grid/server.py#L12-L16

It would be nice to have that in the new SolaraViz module. Maybe an boolean Checkbox would also be useful. For full context, NetLogo has these options you can place:

image

@Corvince would you take a shot at this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions