We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I was following the tutorial and was trying to graph the model, but got the following error even though I had using GraphViz and using LightGraphs
using GraphViz
using LightGraphs
julia> display(Graph(graph2dot(model))) ERROR: MethodError: no method matching SimpleGraph(::String) Closest candidates are: SimpleGraph(::Any, ::Array{Vector{T}, 1}) where T at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:18 SimpleGraph() at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:50 SimpleGraph(::SimpleDiGraph) at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:140 ... Stacktrace: [1] top-level scope @ REPL[17]:1 Does anybody know what's wrong?
julia> display(Graph(graph2dot(model))) ERROR: MethodError: no method matching SimpleGraph(::String) Closest candidates are: SimpleGraph(::Any, ::Array{Vector{T}, 1}) where T at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:18 SimpleGraph() at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:50 SimpleGraph(::SimpleDiGraph) at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:140 ... Stacktrace: [1] top-level scope @ REPL[17]:1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! I was following the tutorial and was trying to graph the model, but got the following error even though I had
using GraphViz
andusing LightGraphs
julia> display(Graph(graph2dot(model))) ERROR: MethodError: no method matching SimpleGraph(::String) Closest candidates are: SimpleGraph(::Any, ::Array{Vector{T}, 1}) where T at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:18 SimpleGraph() at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:50 SimpleGraph(::SimpleDiGraph) at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:140 ... Stacktrace: [1] top-level scope @ REPL[17]:1
Does anybody know what's wrong?
The text was updated successfully, but these errors were encountered: