Skip to content

GraphML import/export bug/issue #185

@wvermeer

Description

@wvermeer

In exporting / exporting using the GraphML file format I found an issue. While exporting from Netlogo worked fine, Gephi is able to correctly opens the outputted files, getting those files imported into R however failed.

Error in .Call("R_igraph_read_graph_graphml", file, as.numeric(index), :
At foreign-graphml.c:1350 : Graph index was too large, Invalid value<

Doing some searching I found this to be a GraphML namespace issue see (https://github.com/igraph/igraph/issues/685). Testing the fix suggested in this link, the issue seems to be an incorrect link to the namesapce. GraphML namespace is http://graphml.graphdrawing.org/xmlns (according to the post) and not http://graphml.graphdrawing.org/xmlns/graphml. This indeed fixed he issue for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions