[vtkusers] symmetric adjacency matrices with vtkAdjacencyMatrixToEdgeTable

Vanmoer, Mark W mvanmoer at illinois.edu
Wed Mar 9 14:52:23 EST 2016


Hi VTK, I have a 100x100 symmetric adjacency matrix in a csv. I'm following along with the example at

http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Infovis/Python/adjacency_matrix_to_graph.py

I'm getting twice the edges I want, though. Is there a way to tell VTK to ignore the lower triangle (and diagonal)? Or do I need to set the lower triangle to all zeros?

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160309/03c2573a/attachment.html>


More information about the vtkusers mailing list