graphtogml.m
Aucune licence
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.
Citation pour cette source
Amos Storkey (2026). graphtogml.m (https://fr.mathworks.com/matlabcentral/fileexchange/4771-graphtogml-m), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 | Bug fix |
