Skip to content
Closed
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
12 changes: 5 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,21 @@ version = "0.6.0"
[deps]
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
ParserCombinator = "fae87a5f-d1ad-5cf0-8f61-c941e1580b46"

[compat]
EzXML = "1"
CodecZlib = "0.7"
Graphs = "1.4"
ParserCombinator = "2.1"
Requires = "1"
SimpleTraits = "0.9"
julia = "1"

[extras]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
ParserCombinator = "fae87a5f-d1ad-5cf0-8f61-c941e1580b46"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["CodecZlib", "Graphs", "EzXML", "ParserCombinator", "Test"]
test = ["Test"]
2 changes: 1 addition & 1 deletion src/DOT/Dot.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module DOT

using GraphIO.ParserCombinator.Parsers
using ParserCombinator.Parsers
using Graphs
using Graphs: AbstractGraphFormat

Expand Down
2 changes: 1 addition & 1 deletion src/GEXF/Gexf.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module GEXF

using GraphIO.EzXML
using EzXML
using Graphs
using Graphs: AbstractGraph, AbstractGraphFormat

Expand Down
2 changes: 1 addition & 1 deletion src/GML/Gml.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module GML

using GraphIO.ParserCombinator.Parsers
using ParserCombinator.Parsers
using Graphs
using Graphs: AbstractGraphFormat

Expand Down
25 changes: 5 additions & 20 deletions src/GraphIO.jl
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
module GraphIO

using Requires

#=
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

include("LGCompressed/LGCompressed.jl")
include("GEXF/Gexf.jl")
include("GraphML/GraphML.jl")
include("DOT/Dot.jl")
include("GML/Gml.jl")

include("Graph6/Graph6.jl")
include("NET/Net.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/GraphML/GraphML.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module GraphML

using GraphIO.EzXML
using EzXML
using Graphs
using Graphs: AbstractGraphFormat

Expand Down
2 changes: 1 addition & 1 deletion src/LGCompressed/LGCompressed.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module LGCompressed

using GraphIO.CodecZlib
using CodecZlib
using Graphs
using Graphs: AbstractGraphFormat

Expand Down