Export metagraph with node properties

Is there a way to export a MetaGraph to a common graph format and include the added node properties?

1 Like

I have asked a similar question last year without response here (Metagraphs/GraphIO: How to save graph properties to file?).

I ended up with writing a function that does the job for my specific case. Simply write a text file according to your target file format and your input data.

1 Like

I just found an exporter that works and it seems to be the only one implemented by MetaGraphs.
What I did was searching the MetaGraphs repo for savegraph.

savegraph("graphs.dot",mg,MetaGraphs.DOTFormat())

I think GraphIO can’t write dot files so I was surprised.