Skip to content

Unable to use shapes (hex and arrowHead) in Continuous canvas #1936

Answered by rht
PreetamKulkarni asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the late response. The shape is specific to the Grid, not available in ContinuousSpace. If you want custom marker for the ContinuousSpace, you may use the experimental Solara-based visualization. Here is an example of using Matplotlib to draw the grid on virus on network: https://github.com/projectmesa/mesa-examples/blob/main/examples/virus_on_network/app.py. You could use the usual Matplotlib scatter plot with any marker of your choice.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@PreetamKulkarni
Comment options

@rht
Comment options

@PreetamKulkarni
Comment options

Answer selected by PreetamKulkarni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants