remove node when one leaves
diff --git a/digesttreescene.cpp b/digesttreescene.cpp
index 30c087e..50d170b 100644
--- a/digesttreescene.cpp
+++ b/digesttreescene.cpp
@@ -113,6 +113,13 @@
   m_roster.clear();
 }
 
+bool
+DigestTreeScene::removeNode(const QString prefix)
+{
+  int removedCount = m_roster.remove(prefix);
+  return (removedCount > 0);
+}
+
 void
 DigestTreeScene::plot(QString digest)
 {