Matlab export of *.gml file

12 views (last 30 days)
Dear community!
I'm playing around with several graph data. I have adjacencies, digraphs, sparse. Right now, I would like to export the graph as a *.gml file. Why? There are graph programs with much more possibilities than Matlab.
graphtogml(fname, edges, names, pos)
This is what I found. But it doesn't allow weighted graphs and also no edge label.
Does anybody knows an easy way to configure a GML file?
Otherwise I guess a *.csv file would work also.
I'm looking forward to your ideas!

Accepted Answer

Sindhu Yerragunta
Sindhu Yerragunta on 7 Aug 2017
Edited: Sindhu Yerragunta on 7 Aug 2017
Hi Moritz,
The following File Exchange link might help you
The above mentioned link is one of the several submissions in MATLAB File Exchange on MATLAB Central which is a forum for our product users to interact, exchange information and knowledge, without MathWorks' involvement. Feel free to contact the author of this submission directly for specific questions about the implementation
- Sindhu

More Answers (0)


Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!