-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Add a minimap to the GraphEdit #43416
Conversation
I'm not able to review right now, but I comment that I support adding a minimap. |
a31bed9
to
999ce61
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested - seems perfect
Thanks!
Sounds good, please do. I guess it would make sense to enable it in the VisualScript and Visual Shader editors in a follow-up PR? |
It should already be enabled by default for every
Will do! |
Ah no it's fine if it's enabled by default already. We'll see if this needs to changed based on player feedback, but it's good to make users aware of its existence :) |
Hm, I've definitely tested zooming in and out before. Need to look into it. |
Indeed, but I think it's easy can be fixed. Maybe AA should be disabled for these lines. |
Closes godotengine/godot-proposals#672.
This is a port of my GDScript implementation with a few tweaks. As such, I expect that some things can be simplified to work better as a part of the engine core. I would appreciate pointers and suggestions for improvements.
Features:
GraphEdit
's "camera".GraphNode
's stylebox and connection colors, if it can.Here's how it looks currently:
Editor look
Default theme look
Settings panel
It is supposed to be semi-transparent, but due to #43394, I am unable to tweak and test it in master.
Otherwise, this is the minimal implementation, but it can be enhanced in the future, if there is demand for it. Transparency for the editor tools can be turned into an editor setting. Additional visual features, such as suggested in the proposal like icons and shapes for nodes, can be implemented in some form. Node minimap colors can be made configurable as a separate
GraphNode
property. Etc.I think this should be portable to 3.2 as well, and I can make a separate PR when this one is validated and approved.
PS. That
zoom_hbox
at the top can really use some semi-transparent background as well.