Thanks. This helps some. Let me illustrate. I just want simple graphs with integer-named vertices. This starts off well:
julia> using Graphs
julia> g = simple_graph(4)
Directed Graph (4 vertices, 0 edges)
julia> using Graphs
julia> g = simple_graph(4,is_directed=false)
Undirected Graph (4 vertices, 0 edges)
julia> add_edge!(g,1,2)
edge [1]: 1 -- 2
But if I want to add an additional vertex, I get trouble:
julia> add_vertex!(g,5)
ERROR: no method push!(Range1{Int64},Int64)
in add_vertex! at /home/ers/.julia/Graphs/src/graph.jl:50
And I can't figure out how to delete vertices!