File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1717from .model import NodeGraphModel
1818from .node import NodeObject , BaseNode , BackdropNode
1919from .port import Port
20- from ..constants import (URI_SCHEME , URN_SCHEME ,
21- PIPE_LAYOUT_CURVED ,
22- PIPE_LAYOUT_STRAIGHT ,
23- PIPE_LAYOUT_ANGLE ,
24- IN_PORT , OUT_PORT ,
25- VIEWER_GRID_LINES )
20+ from ..constants import (
21+ URI_SCHEME , URN_SCHEME ,
22+ NODE_LAYOUT_DIRECTION , NODE_LAYOUT_HORIZONTAL , NODE_LAYOUT_VERTICAL ,
23+ PIPE_LAYOUT_CURVED , PIPE_LAYOUT_STRAIGHT , PIPE_LAYOUT_ANGLE ,
24+ IN_PORT , OUT_PORT ,
25+ VIEWER_GRID_LINES
26+ )
2627from ..widgets .node_space_bar import node_space_bar
2728from ..widgets .viewer import NodeViewer
2829
Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ def setup_context_menu(graph):
8787 edit_menu .add_separator ()
8888
8989 edit_menu .add_command (
90- 'Layout Nodes Up Stream' , _layout_graph_up , 'L' )
90+ 'Auto Layout Up Stream' , _layout_graph_up , 'L' )
9191 edit_menu .add_command (
92- 'Layout Nodes Down Stream' , _layout_graph_down , 'Ctrl+L' )
92+ 'Auto Layout Down Stream' , _layout_graph_down , 'Ctrl+L' )
9393
9494 edit_menu .add_separator ()
9595
You can’t perform that action at this time.
0 commit comments