Integration with other packages
Graphs.jl's integration with other Julia packages is designed to be straightforward. Here are a few examples.
Graphs.jl
Creating a Graphs.jl simple_graph
is easy:
julia> s = simple_graph(nv(g), is_directed=Graphs.is_directed(g))
julia> for e in Graphs.edges(g)
add_edge!(s,src(e), dst(e))
end
Metis.jl
The Metis graph partitioning package can interface with Graphs.jl:
julia> using Graphs
julia> g = SimpleGraph(100,1000)
{100, 1000} undirected graph
julia> partGraphKway(g, 6) # 6 partitions