add the hidden/ghost behaviour:
- The view hide or show the nodes calling their functions hide() or show(ghost).
- The node and the edges have the attributes 'hidden' and 'ghost' to properly redraw them selves.
<li class="<%= className %>" data-key="<%= key %>"><%= title %></li>