Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"
[weakdeps]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5"
ParserCombinator = "fae87a5f-d1ad-5cf0-8f61-c941e1580b46"

[extensions]
Expand All @@ -19,12 +20,14 @@ GraphIOGEXFExt = "EzXML"
GraphIOGMLExt = "ParserCombinator"
GraphIOGraphMLExt = "EzXML"
GraphIOLGCompressedExt = "CodecZlib"
GraphIOMetaGraphsGraphMLExt = ["EzXML", "MetaGraphs"]

[compat]
CodecZlib = "0.7"
DelimitedFiles = "1"
EzXML = "1"
Graphs = "1.4"
MetaGraphs = "0.7.2"
ParserCombinator = "2.1"
Requires = "1"
SimpleTraits = "0.9"
Expand All @@ -36,8 +39,9 @@ CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5"
ParserCombinator = "fae87a5f-d1ad-5cf0-8f61-c941e1580b46"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "CodecZlib", "Graphs", "JuliaFormatter", "EzXML", "ParserCombinator", "Test"]
test = ["Aqua", "CodecZlib", "Graphs", "JuliaFormatter", "EzXML", "ParserCombinator", "Test", "MetaGraphs"]
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ GraphIO provides support to [Graphs.jl](https://github.com/JuliaGraphs/Graphs.jl

Currently, the following functionality is provided:

| Format | Read | Write | Multiple Graphs | Format Name | Comment |
| ----------- | ---- | ----- | --------------- | -------------- | ------------------------------------------------------------------------------------------- |
| EdgeList | ✓ | ✓ | | EdgeListFormat | a simple list of sources and dests separated by whitespace and/or comma, one pair per line. |
| [GML] | ✓ | ✓ | ✓ | GMLFormat | |
| [Graph6] | ✓ | ✓ | ✓ | Graph6Format | |
| [GraphML] | ✓ | ✓ | ✓ | GraphMLFormat | |
| [Pajek NET] | ✓ | ✓ | | NETFormat | |
| [GEXF] | | ✓ | | GEXFFormat | |
| [DOT] | ✓ | | ✓ | DOTFormat | |
| [CDF] | ✓ | | | CDFFormat | |

| Format | Read | Write | Multiple Graphs | Format Name | Simple(Di)Graph | MetaGraphs.jl |
| ----------- | ---- | ----- | --------------- | -------------- | --------------- | ------------- |
| EdgeList [^1] | ✓ | ✓ | | EdgeListFormat | ✓ | |
| [GML] | ✓ | ✓ | ✓ | GMLFormat | ✓ | |
| [Graph6] | ✓ | ✓ | ✓ | Graph6Format | ✓ | |
| [GraphML] | ✓ | ✓ | ✓ | GraphMLFormat | ✓ | ✓ |
| [Pajek NET] | ✓ | ✓ | | NETFormat | ✓ | |
| [GEXF] | | ✓ | | GEXFFormat | ✓ | |
| [DOT] | ✓ | | ✓ | DOTFormat | ✓ | |
| [CDF] | ✓ | | | CDFFormat | ✓ | |


[^1]: a simple list of sources and dests separated by whitespace and/or comma, one pair per line.

Graphs are read using either the `loadgraph` function or, for formats that support multiple graphs in a single file,
the `loadgraphs` functions. `loadgraph` returns a Graph object, while `loadgraphs` returns a dictionary of Graph objects.
Expand Down
Loading