Skip to content

Graph Issue #173

@sallyc1997

Description

@sallyc1997

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

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions