File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 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):
737737
738738 def pipe_collision (self ):
739739 """
740- Returns if pipe collision is enabled.
740+ Returns if pipe collision is enabled in the current session .
741741
742742 See Also:
743743 To enable/disable pipe collision
744- :meth:`NodeGraph.set_pipe_collision_enabled `
744+ :meth:`NodeGraph.set_pipe_collision `
745745
746746 Returns:
747747 bool: True if pipe collision is enabled.
748748 """
749749 return self ._model .pipe_collision
750750
751- def set_pipe_collision (self , mode = True ):
751+ def set_pipe_collision (self , mode = False ):
752752 """
753- Enable/Disable pipe collision.
753+ Enable/Disable pipe collision. (default: ``False``)
754754
755755 When enabled dragging a node over a pipe will allow the node to be
756756 inserted as a new connection between the pipe.
@@ -759,7 +759,7 @@ def set_pipe_collision(self, mode=True):
759759 :meth:`NodeGraph.pipe_collision`
760760
761761 Args:
762- mode (bool): False to disable pipe collision.
762+ mode (bool): True to enable pipe collision.
763763 """
764764 self ._model .pipe_collision = mode
765765 self ._viewer .pipe_collision = mode
You can’t perform that action at this time.
0 commit comments