[vtk-developers] vtkDIMACS reader/writer bug

Eric E. Monson emonson at cs.duke.edu
Wed Jun 22 14:46:48 EDT 2011


You know, it looks like the graph reader doesn't like node IDs of 0, it likes them to start with 1. If I write out a simpler graph with only 10 nodes, then manually increment each node ID in the file by 1 so they start with 1 instead of 0, it works.

-Eric


On Jun 22, 2011, at 1:47 PM, Mclendon, William C III wrote:

> I'm trying to run a script that just generates a random graph and saves it using the DIMACS writer then reads it back using the DIMACS reader.  Unfortunately, when I try to render the graph I get a segfault.
> 
> It seems odd since the graphs seem to load properly.  The attached script seems to be crashing for me on both OS-X and under Linux.
> 
> -William
> <dimacs.py>_______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110622/9548ccfa/attachment.html>


More information about the vtk-developers mailing list