-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from simonschoelly/split_into_submodules
Split GraphIO into submodules
- Loading branch information
Showing
25 changed files
with
358 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
julia 0.7 | ||
LightGraphs 0.9.5 | ||
EzXML 0.9.0 | ||
ParserCombinator 2.0.0 | ||
#JLD | ||
LightGraphs 1.1.0 | ||
SimpleTraits | ||
CodecZlib | ||
Requires |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
module GraphIO | ||
|
||
using LightGraphs | ||
using SimpleTraits | ||
using Requires | ||
|
||
import LightGraphs: loadgraph, loadgraphs, savegraph, AbstractGraphFormat | ||
using EzXML | ||
using ParserCombinator.Parsers.DOT | ||
using ParserCombinator.Parsers.GML | ||
using CodecZlib | ||
#= | ||
NOTE: This is a temporary fix until we can have multiple sub-packages with their own | ||
requirements in a single repository. | ||
=# | ||
function __init__() | ||
@require CodecZlib="944b1d66-785c-5afd-91f1-9de20f533193" begin | ||
include("LGCompressed/LGCompressed.jl") | ||
end | ||
@require EzXML="8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615" begin | ||
include("GEXF/Gexf.jl") | ||
include("GraphML/GraphML.jl") | ||
end | ||
@require ParserCombinator="fae87a5f-d1ad-5cf0-8f61-c941e1580b46" begin | ||
include("DOT/Dot.jl") | ||
include("GML/Gml.jl") | ||
end | ||
end | ||
|
||
export DOTFormat, GEXFFormat, GMLFormat, Graph6Format, | ||
GraphMLFormat, NETFormat, EdgeListFormat, CDFFormat, | ||
LGCompressedFormat | ||
# package code goes here | ||
|
||
#include("jld.jl") | ||
include("lgcompressed.jl") | ||
include("dot.jl") | ||
include("gexf.jl") | ||
include("gml.jl") | ||
include("graph6.jl") | ||
include("graphml.jl") | ||
include("net.jl") | ||
include("edgelist.jl") | ||
include("cdf.jl") | ||
include("Graph6/Graph6.jl") | ||
include("NET/Net.jl") | ||
include("Edgelist/Edgelist.jl") | ||
include("CDF/Cdf.jl") | ||
|
||
include("deprecations.jl") | ||
|
||
end # module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.