- added methods to delete all nodes and/or all connections