graphtogml.m

版本 1.0.0.0 (1.1 KB) 作者: Amos Storkey
Version 0.1 A quick program that outputs a graph or network diagram to GML format.
1.8K 次下载
更新时间 2004/4/22

无许可证

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/

引用格式

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

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Directed Graphs 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Bug fix