gephi/trunk — Issue #320: DOT parser is broken
Author: mbastian
Created: 2011-10-22 16:45:20+00:00
State: open
Labels: Confirmed, import, Low

Hey there,

I'm trying to import some .dot files into Gephi 0.8 alpha on my Linux box. However, not all nodes and edges present in the .dot file are correctly imported.

It seems to be related to node declarations. If node declarations are present which are not used in edges, parsing seems to fail. Consider test.dot. Loading this file into gephi results in 0 nodes and 0 edges being recognized.

Removing the '20' node results in the file being parsed properly.

I originally encountered this bug with a large graph consisting of about 120k edges and 120k nodes. Only 60k nodes and edges would be recognized if I configured my graph serialiser to leave out color attributes. When adding attributes back in, more nodes would be recognized. I believe this happens because adding node attributes cause the nodes to be declared in the .dot file.

GraphML files containing the same graphs work as expected.