public static void deleteInvisibleNodes(final ZyGraph graph){
  Preconditions.checkNotNull(graph,"IE01729: Graph argument can not be null");
  graph.deleteNodes(NodeFunctions.getInvisibleNodes(graph));
}

public static void deleteInvisibleNodes ( final ZyGraph graph ) { Preconditions . checkNotNull ( graph , "IE01729: Graph argument can not be null" ) ; graph . deleteNodes ( NodeFunctions . getInvisibleNodes ( graph ) ) ; }
removes the invisible nodes from the graph .
