NetLogo / NetLogo/NW-Extension

GraphML import/export bug/issue

Open
#185 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
66
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Locate the GraphML import/export entry point, check the namespace used in exported files against the namespace described here, and verify the result by importing an exported file into R without the reported graph-index error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, scala
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.