CSBiology / FSharp.FGL

Functional graph library for F#
https://csbiology.github.io/FSharp.FGL/
MIT License
61 stars 11 forks source link

fix gdf reader id parsing #20

Closed LibraChris closed 3 years ago

LibraChris commented 3 years ago

Applied changes according to issue #19. Now Gephi gdf files can be read and are written accordingly.

Changes:

  1. Header annotation of int type was updated to be written as INTEGER.
  2. Node-IDs are now expected to be strings, as are all node-IDs that gephi .gdf files show.
  3. "nodedef>name" and egedef>node1" were written as "nodedef> name" and egedef> node1" by gephi. Now, the spaces inbetween are readable.
HLWeil commented 3 years ago

Could you add the case that was not previously working to the tests?