File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,8 @@ class GroupNode(BaseNode):
88 """
99 `Implemented in` ``v0.2.0``
1010
11- The ``NodeGraphQt.GroupNode`` class extends from the
12- :class:``NodeGraphQt.BaseNode`` class with the ability to nest other nodes
13- inside of it.
11+ The ``NodeGraphQt.GroupNode`` class extends from the :class:``NodeGraphQt.BaseNode``
12+ class with the ability to nest other nodes inside of it.
1413
1514 **Inherited from:** :class:`NodeGraphQt.BaseNode`
1615
@@ -45,7 +44,7 @@ def get_sub_graph(self):
4544 or returns None.
4645
4746 Returns:
48- NodeGraphQt. SubGraph or None: sub graph controller.
47+ SubGraph or None: sub graph controller.
4948 """
5049 return self .graph .sub_graphs .get (self .id )
5150
@@ -75,8 +74,12 @@ def expand(self):
7574 See Also:
7675 :meth:`NodeGraph.expand_group_node`,
7776 :meth:`SubGraph.expand_group_node`.
77+
78+ Returns:
79+ SubGraph: node graph used to manage the nodes expaneded session.
7880 """
79- self .graph .expand_group_node (self )
81+ sub_graph = self .graph .expand_group_node (self )
82+ return sub_graph
8083
8184 def collapse (self ):
8285 """
You can’t perform that action at this time.
0 commit comments