I'd like to add a simple way to inspect single agents on mouse hover. I'd just like to see a simple tooltip with the agent variables and their current values.
What do you think about this? Have there already been some plans to implement such a thing?
Makie already provides DataInspector and the ability to customise the shown tooltip. From what I've just tested, the basics of this seem easy enough to add but the customised tooltip may need a bit more time to understand how it should be done.
This seems like a really cool feature to me!
(I transferred this to Agents.jl, because it will be more visible to the Agents.jl users here)
Quick update, I'm currently working on this and got the basics down:

I think this is very much doable in the foreseeable future, although I'm still a bit confused about a few things. Need some more time to wrap my head around those. I will create a PR at InteractiveDynamics.jl at some point and we can look at any persisting problems together then. :)
Here's something I'm currently thinking about and would like your feedback on:
If we have one agent at a position it currently looks like this

Having multiple agents will just list them below each other

But having a lot of agents might break the formatting and make parts of the tooltip useless

This problem of course get worse when agents have a lot of variables to display.
I can think of two ways to go about this:
I would favour the second option which is more work but should hopefully look better in the end. What are your thoughts on this? Maybe you've got some more ideas how to display the agent data?
How would the version 2 make this problem dissapear? Instead of being too large in the vertical direction the tooltip would be come too large in the horizontal... I think it isn't really worth the dev effort right now and would go with 1. One thing worth changing is to display only the final type instead of Agents.Models.Sche..... How do you obtain the type name? I think you have to use the nameof function.
Modern displays normally have more horizontal than vertical space which is why a table (option 2) instead of a list (option 1) might make use of that as well as saving a bit of space for listing the agent type for each agent.
But I think you're right and we can just stick to the list view for now. Maybe at a later time I'll revise this if I find the time.
One thing worth changing is to display only the final type instead of
Agents.Models.Sche..... How do you obtain the type name? I think you have to use thenameoffunction.
Done, thanks. :)
(perhaps it's time for a PR on this, so I can give more feedback on code? It looks pretty close to finished already)
Sadly it isn't. The core is there but I'm still trying to figure out how to create an own recipe for our ABM plot (fig[1,1] in the interactive apps). This needs to be done because otherwise the tooltips for the scatter points in abm_data_exploration will error. Our new ABMPlot recipe would just need to wrap the respective functions (meshscatter!, poly! or scatter!) such that we can dispatch on that for the tooltip functionality. Do you have any experience with creating Makie recipes?
None whatsoever, and I'm not even sure how stable and complete the interface is :(
OK, that's no problem. I'm currently chipping away at it and am making progress, albeit a bit slower than I'd like to. Will keep you updated about this. Once I got a basic recipe working with a custom plot type for simple 2D non-poly models, I will create a PR for you to look at. :)
Most helpful comment
Quick update, I'm currently working on this and got the basics down:
I think this is very much doable in the foreseeable future, although I'm still a bit confused about a few things. Need some more time to wrap my head around those. I will create a PR at InteractiveDynamics.jl at some point and we can look at any persisting problems together then. :)