@check_source<EOL><INDENT>def replace(self, node, properties=None):<DEDENT>
self.disconnect_all()<EOL>self.connect(node, properties)<EOL>
Disconnect all existing nodes and connect the supplied node

:param node:
:param properties: for the new relationship
:type: dict
:return: