NetLogo / NetLogo/NW-Extension

Directedness not saved to graphml for mixed-directedness networks

Open
#139 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Note that this is not a problem when reimporting to NetLogo. This is only a problem when you want to export a NetLogo network to another program.

To reproduce:

undirected-link-breed [ undirecteds undirected ]
directed-link-breed [ directeds directed ]

then do:

crt 3
ask turtle 0 [ create-undirected-with turtle 1 ]
ask turtle 1 [ create-directed-to turtle 2 ]
nw:save-graphml "direction-lost.graphml"

Open the network in Gephi or something and you'll find that all links have the same directedness.

This is somewhat related to #129.

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

Start by locating the implementation of nw:save-graphml and reproduce the mixed directed/undirected network from the issue. Inspect the exported GraphML in Gephi or another external program; done means each link retains its directedness when exported.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.