+ //vtkMutableDirectedGraph *g2(vtkMutableDirectedGraph::SafeDownCast(g));// agy: this line does not work in client/server mode ! but it works in standard mode ! Don't know why. ParaView bug ?
+ vtkMutableDirectedGraph *g2(static_cast<vtkMutableDirectedGraph *>(g));