1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00
Files
godot/doc/classes
Umang Kalra 12fc3f1eef Automatic arrangement of nodes in VisualScript/VisualShaders editors
This PR and commit adds the functionality to arrange nodes in VisualScript/VisualShader editor. The layout generated by this 
feature is compact, with minimum crossings between connections
& uniform horizontal & vertical gaps between the nodes. 

This work has been sponsored by GSoC '21.

Full list of additions/changes:
• Added arrange_nodes() method in GraphEdit module.
    • This method computes new positions for all the selected
      nodes by forming blocks and compressing them.
      The nodes are moved to these new positions. 
    • Adding this method to GraphEdit makes it available for 
      use in VisualScript/VisualShaders editors and its other
      subclasses. 
• Button with an icon has been added to call arrange_nodes() in GraphEdit. 
    • This button is inherited by VisualScript/VisualShaders editors
       to invoke the method.
• Undo/redo is functional with this method.
    • By using signals in arrange_nodes(), position changes are registered 
       in undo/redo stack of the subclass that is using the method. 
• Metadata of the method has been updated in ClassDB
• Method description has been added to class reference of GraphEdit
2021-08-11 00:44:28 +05:30
..
2021-06-11 18:48:42 +02:00
2021-07-03 12:11:01 -03:00
2021-06-19 12:08:50 +02:00
2021-06-11 18:48:42 +02:00
2020-06-21 22:55:16 -04:00
2021-06-05 09:28:56 -03:00
2021-06-11 18:48:42 +02:00
2021-06-11 18:48:42 +02:00
2021-02-19 14:39:14 +01:00
2021-06-30 14:14:41 -03:00
2020-06-18 11:34:10 +02:00
2021-08-03 00:37:57 -04:00
2021-07-25 11:21:51 +02:00
2021-06-11 18:48:42 +02:00