Skip to content

Commit 168a295

Browse files
committed
tweaks
1 parent 6e249cd commit 168a295

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

NodeGraphQt/base/graph.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
from .model import NodeGraphModel
1818
from .node import NodeObject, BaseNode, BackdropNode
1919
from .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+
)
2627
from ..widgets.node_space_bar import node_space_bar
2728
from ..widgets.viewer import NodeViewer
2829

NodeGraphQt/base/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)