'Set the source/sink nodes (:class:`.SchemeNode` instances)
between which to edit the links.
.. note:: This should be called before :func:`setLinks`.'

def setNodes(self, source_node, sink_node):

    self.scene.editWidget.setNodes(source_node, sink_node)
