nodeBreadCrumbs module
[fnpeditor.git] / modules / nodeFamilyTree / nodeFamilyTree.js
index 68ab8f0..e061277 100644 (file)
@@ -55,6 +55,12 @@ return function(sandbox) {
         },\r
         getView: function() {\r
             return view.dom;\r
         },\r
         getView: function() {\r
             return view.dom;\r
+        },\r
+        highlightNode: function(id) {\r
+            view.dom.find('a[data-id="'+id+'"]').addClass('rng-common-hoveredNode');\r
+        },\r
+        dimNode: function(id) {\r
+            view.dom.find('a[data-id="'+id+'"]').removeClass('rng-common-hoveredNode');\r
         }\r
     };\r
 };\r
         }\r
     };\r
 };\r