graphtogml.m

バージョン 1.0.0.0 (1.11 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 Center および MATLAB AnswersDirected 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