public void DeleteNode(ConnectionInfo connectionInfo) { if (connectionInfo is RootNodeInfo) return; connectionInfo?.RemoveParent(); }