Convert directed MetaGraphs object to networkX?

I’m trying to export a bunch of edge/node annotations to NetworkX so I can use PyVis.
Has anyone tried this?

Hi @mkarikom, MetaGraphsNext maintainer here! It sounds like a useful functionality. I think the easiest solutions would be:

  • store the graph as a file and then read it with networkx \implies not sure there exist compatible formats
  • use PythonCall / JuliaCall to convert the object directly

Could you open an issue on the MetaGraphsNext repo so we keep track of this need?