graphtogml.m

Version 0.1 A quick program that outputs a graph or network diagram to GML format.
1,8K Downloads
Aktualisiert 22. Apr 2004

Keine Lizenz

Suppose we have a directed graph with affinity matrix EDGES', so that EDGES(A,B)=1 denotes an edge from B to A.

Suppose we have an cell array NAMES of names for each node.

We might even have initial positions POS of each node. Then for filename FNAME

graphtogml(fname, edges, names, pos) outputs the graph in GML.

This has only been tested for use in yEd. It is preliminary: Eventually I intend to enhance it to cope with undirected links, various strengths, link annotations etc and write gmltograph.

http://www.anc.ed.ac.uk/~amos/

Zitieren als

Amos Storkey (2024). graphtogml.m (https://www.mathworks.com/matlabcentral/fileexchange/4771-graphtogml-m), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R12
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Directed Graphs finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Bug fix