+1 vote

You can draw what you want in the editor using the tool keyword.
You can add buttons with a plugin.
How do you capture clicks and add nodes to the editor scene tree?

I'll explain exactly what I want to do:
I want to add a tool/plugin that let's me add a directed graph inside the editor, node by node by clicking on the editor's grid.

Why? Imagine a game with trains or cars. I don't need a sets of 'path(s)'. I need a "map" of routes that are embedded in 2D/3D space and possibly additional information embedded in the edges too. :D In other words directional paths that split... aka a
Directed Graph.

That being said I know there is a GraphEdit and GraphNode in Godot but they appear to be something else. They look like GUI grids. :| I'm still not sure what they are for.
Thanks!

in Engine by (20 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.