This repository was archived by the owner on Jun 18, 2026. It is now read-only.
Commit 7d47ed0
committed
fix: correct GraphML namespace URL in GraphMLExporter
The exporter was using http://graphml.graphstruct.org/xmlns which
is not a valid GraphML namespace. The correct namespace per the
GraphML specification (http://graphml.graphdrawing.org/) is
http://graphml.graphdrawing.org/xmlns.
The wrong namespace caused exported .graphml files to be rejected
by standard parsers in Gephi, Cytoscape, NetworkX, yEd, and igraph
that validate the namespace URI on import.
Fixed all three occurrences in the XML header (xmlns, schemaLocation
namespace, schemaLocation URL) and updated the corresponding test
assertion.
Fixes #201 parent 37f7cb1 commit 7d47ed0
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | | - | |
140 | | - | |
| 139 | + | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
0 commit comments