[vtkusers] Hide root vertex and first edges in a directed graph

Nicolas Rannou nicolas.lists at gmail.com
Thu Jan 19 12:22:33 EST 2012


Hi all,

I have a vtkMutableDirectedGraph and I would like to hide the root vertex
and the first edges, while visualizing it through a vtkGraphLayoutView.
             ______
        root         |
       /   |   \  __ |  HIDE
    d1  d2  d3
 ....    ....   ...

It is possible to do so in the vtkQtTreeView (SetShowRootNode(false)) and I
was wondering if such a feature was available?
Which would be the best practice to achieve this goal?

Thanks,
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120119/f5e96397/attachment.htm>


More information about the vtkusers mailing list