File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -737,20 +737,20 @@ def set_acyclic(self, mode=False):
737
737
738
738
def pipe_collision (self ):
739
739
"""
740
- Returns if pipe collision is enabled.
740
+ Returns if pipe collision is enabled in the current session .
741
741
742
742
See Also:
743
743
To enable/disable pipe collision
744
- :meth:`NodeGraph.set_pipe_collision_enabled `
744
+ :meth:`NodeGraph.set_pipe_collision `
745
745
746
746
Returns:
747
747
bool: True if pipe collision is enabled.
748
748
"""
749
749
return self ._model .pipe_collision
750
750
751
- def set_pipe_collision (self , mode = True ):
751
+ def set_pipe_collision (self , mode = False ):
752
752
"""
753
- Enable/Disable pipe collision.
753
+ Enable/Disable pipe collision. (default: ``False``)
754
754
755
755
When enabled dragging a node over a pipe will allow the node to be
756
756
inserted as a new connection between the pipe.
@@ -759,7 +759,7 @@ def set_pipe_collision(self, mode=True):
759
759
:meth:`NodeGraph.pipe_collision`
760
760
761
761
Args:
762
- mode (bool): False to disable pipe collision.
762
+ mode (bool): True to enable pipe collision.
763
763
"""
764
764
self ._model .pipe_collision = mode
765
765
self ._viewer .pipe_collision = mode
You can’t perform that action at this time.
0 commit comments