-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agent inspection on mouse hover #538
Agent inspection on mouse hover #538
Comments
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. :) |
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 |
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.
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 ( |
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. :) |
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.The text was updated successfully, but these errors were encountered: