Skip to content

loadgraph fails with DOT format #38

@rusandris

Description

@rusandris

I can save my metagraph with savegraph but cannot load it with loadgraph:

using Graphs,MetaGraphsNext

complicated = MetaGraph(DiGraph(),
                   VertexData = Dict{Symbol, Int},
                   EdgeData = Dict{Symbol, Int},
                   graph_data = (tagged = true,)
               );

complicated[:a] = Dict(:code_1 => 1, :code_2 => 2);
complicated[:b] = Dict(:code => 2);
complicated[:a, :b] = Dict(:code => 12);

savegraph("mwe",complicated,DOTFormat())
loadgraph("mwe",DOTFormat())

Raises and error message:

ERROR: MethodError: no method matching loadgraph(::IOStream, ::String, ::DOTFormat)

Any ideas how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions